# Send Dataset Rows to Webhook, Slack or Discord: Only New Rows (`humble-echidna/dataset-to-webhook`) Actor

Send any Apify dataset's rows to a Slack or Discord channel, Zapier, n8n or your own webhook: one by one or in batches, only rows not sent before if you like. Handles rate limits, escapes scraped text, reports what was delivered, charges only for delivered requests. Runs with limited permissions.

- **URL**: https://apify.com/humble-echidna/dataset-to-webhook.md
- **Developed by:** [Michael Costa](https://apify.com/humble-echidna) (community)
- **Categories:** Developer tools, Automation, Integrations
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.15 / 1,000 request delivereds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

### What does Send Dataset Rows to Webhook, Slack or Discord do?

**Send Dataset Rows to Webhook, Slack or Discord** takes the rows of an **Apify dataset** and delivers them to **a Slack or Discord channel, Zapier,
n8n or your own endpoint**: one by one or in batches, and if you like **only the rows you've never sent before**.

It's the last step after a scraper, [Dataset Transformer](https://apify.com/humble-echidna/dataset-transform) or
[Dataset Diff](https://apify.com/humble-echidna/dataset-diff). Apify's built-in Slack and webhook integrations tell you a run
finished; this one sends the rows themselves. No server of your own, and no code.

Every request gets a line in the run's log dataset saying what happened, and you pay only for the ones the destination accepted.

[Input fields](https://apify.com/humble-echidna/dataset-to-webhook/input-schema) ·
[API](https://apify.com/humble-echidna/dataset-to-webhook/api) ·
[Use it from Claude, ChatGPT or Cursor (MCP)](#can-i-use-send-dataset-rows-to-webhook-slack-or-discord-from-an-ai-agent-mcp)

**Jump to:** [Price](#how-much-does-it-cost-to-send-dataset-rows-to-a-webhook) · [How to use](#how-to-send-dataset-rows-to-a-webhook) ·
[After every scraper run](#send-new-rows-after-every-scraper-run) · [Slack](#send-rows-to-slack) · [Webhooks](#send-rows-to-a-webhook-as-json) ·
[What was delivered](#what-was-delivered-and-what-can-go-twice) · [Switching](#switching-from-another-actor) · [Limits](#limits) · [FAQ](#faq)

**Try it in one click:** with no webhook address, a run sends nothing and costs nothing beyond the start fee. It shows you the exact
body of each request it would make, built from the three sample rows in the form. **Then add your address and your dataset.**

### How much does it cost to send dataset rows to a webhook?

You pay per **request the destination accepted**: **$4.50 per 1,000 requests**, plus $0.00005 each time a run starts, with no usage
bill on top. Put more rows in a request and you pay less per row.

**It's cheaper on paid Apify plans:** $4.05 per 1,000 requests on Starter, $3.60 on Scale and $3.15 on Business. The prices on this
page are the Free-plan price, so on a paid plan you pay less than the examples show.

- **A daily Slack summary of up to 20 new rows:** 30 messages a month = about **$0.14**.
- **1,000 rows to your endpoint, 100 per request:** 10 requests = about **$0.05**.
- **1,000 rows, one request each** (each row triggers your Zap or workflow): 1,000 requests = **$4.50**.
- **Caps:** **Max rows per run**, **Max requests per run**, and **Maximum cost per run** in the run options. The run stops
  cleanly at whichever comes first.

**Never charged:** refused or failed requests, requests with no clear answer, retries, previews, rows skipped as already sent, and
the log rows.

### How to send dataset rows to a webhook

1. Open the actor and click **Try for free** (or **Start** if you're signed in).
2. Pick your dataset in **Apify dataset to send**.
3. Paste your address in **Webhook URL**. A Slack incoming webhook is recognised and gets messages; anything else gets JSON.
4. Optional: set **Rows per request**, a **Message template**, **Only these fields**, and **Only rows not delivered by earlier runs**.
5. Tick **Preview only** to see the bodies first if you like, then click **Start** and open the **Output** tab.

### Ready-to-run examples

Each example opens with the input already filled in. As set up they only preview from sample rows; add your webhook address and dataset to deliver.

- **[Send new scraper rows to a Slack channel as one message](https://apify.com/humble-echidna/dataset-to-webhook/examples/send-new-rows-to-slack)**: Your own template, only rows not sent before.
- **[Post dataset rows to a webhook as JSON, in batches](https://apify.com/humble-echidna/dataset-to-webhook/examples/post-dataset-rows-to-webhook-in-batches)**: Several rows to a request, only the fields you pick.

### Send new rows after every scraper run

This is the job it's built for: each scraper run sends only what's new.

1. Open the scraper or its saved task, go to the **Integrations** tab and add **Apify actor** → **Send Dataset Rows to Webhook or
   Slack**, triggered when a run **succeeds**.
2. Set `"datasetId": "{{resource.defaultDatasetId}}"` (Apify fills in the finished run's dataset). **This line is needed:** Apify gives
   a limited-permissions run access only to the dataset named in that field, so the dataset in the integration's own payload can't
   be read. A run with the field empty and no access says so instead of quietly sending nothing.
3. Add `"webhookUrl"`, and `"onlyNew": true` with `"onlyNewKey": ["url"]` (the field that identifies a row).

```json
{"datasetId": "{{resource.defaultDatasetId}}",
 "webhookUrl": "<your webhook address>",
 "onlyNew": true,
 "onlyNewKey": ["url"],
 "messageTemplate": "*{title}* at {company}: {url}",
 "messageTitle": "{count} new jobs"}
```

What's remembered is a fingerprint of each row's key, in a key-value store in your own account, once per destination, so one
scraper can feed two channels. A row counts as sent **only after the destination accepted it**, so anything that failed comes back next
run. Changing **What makes a row the same** starts a new memory. Set a **Memory name** to keep it when the address changes.

### Send rows to Slack

Create an [incoming webhook](https://api.slack.com/messaging/webhooks) in Slack and paste its address. Rows are grouped into messages,
20 by default, and split before Slack's length limit. Requests are paced to Slack's published one message a second, and a `429` waits as
long as Slack asks.

```json
{"messageTemplate": "*{title}* at {company} ({address.city}): {url}",
 "messageTitle": "{count} new jobs"}
```

`{field}` fills in a value; dots reach nested fields. **Row values are escaped:** a scraped `<!channel>` shows as text and pings
nobody, and a row can't hide a link behind other words. Your template keeps Slack's formatting, including `*bold*` and
`<{url}|links>`. Link previews are off, so a list of links stays a list. Without a template you get each row's first 8 simple fields.

Slack-compatible receivers such as Mattermost take the same messages: set **Format** to `slack`.

**Tested how:** the Slack messages were checked against Slack's documented formats and answers, and one real error answer from Slack,
but not yet against a live channel.

### Send rows to a webhook as JSON

With **Rows per request** at 1 (the default) each row is POSTed as a JSON object, so each one triggers your Zap or n8n workflow once.
Above 1, the body is a JSON array of rows. `POST`, `PUT` and `PATCH` work, with your own headers:

```json
{"datasetId": "<your dataset>",
 "webhookUrl": "<your endpoint>",
 "batchSize": 100,
 "fields": ["title", "url", "price"],
 "headers": {"Authorization": "Bearer <your token>"}}
```

Each request also carries an `Idempotency-Key` header, a hash of its body, so a receiver that keeps those can drop a repeat.

### What was delivered, and what can go twice

**The dataset is the delivery log**, one row per request:

```json
{"request": 3, "status": "delivered", "format": "json", "rows": 100, "firstRow": 201, "lastRow": 300,
 "httpStatus": 200, "attempts": 1, "duplicatePossible": false, "error": null, "bytes": 18244,
 "payload": null, "at": "2026-11-04T12:00:00.000Z"}
```

`status` is `delivered` (the destination answered 2xx), `failed` (it refused, or no request was made), `unknown` (no clear answer) or
`preview`. The run's `SUMMARY` record has the totals, including rows never attempted when a run stopped early.

**Retries, plainly:**

| What happened | What the actor does | Can it double-send? |
|---|---|---|
| `429` | Waits as long as asked (up to 90 s), then retries, up to 6 times | No: the destination refused it |
| `5xx`, timeout, dropped connection | Up to 2 more tries, unless you turn off **Retry when the outcome is unclear** | **Yes:** the destination may have processed it first. The log row says `duplicatePossible` |
| No clear answer after that | Reported `unknown`, not charged | With only-new, those rows go again next run, so **yes** |
| Other `4xx` | Not retried; the next rows still go | No |
| `401`, `403`, `404`, `410` | The run stops: the address itself is dead | No |
| Redirect | Only a `307` or `308` on the same host is followed. Others stop the run with the reason: a `301` would turn the POST into a GET and lose your rows behind a cheerful `200` | No |

Five failed requests in a row also stop the run, rather than pushing the rest into a broken destination. If Apify restarts a run on
another server, it carries on after what it sent.

**A run that delivers nothing says why**, in the status, a log row and `SUMMARY`. It still ends **Succeeded** by default, so turn on
**End the run as Failed if anything wasn't delivered** if you want Apify's run-failed alerts to fire.

**Your address is a secret.** Anyone holding a Slack webhook address can post to the channel, so the address and your headers are
encrypted inputs, and never appear, in whole or in part, in the log, status, dataset, `SUMMARY` or `RUN_STATS`. A receiver's error body
is never stored either, since it can echo the request; Slack's and Discord's short error codes are.

### Input

| Field | What it does |
|---|---|
| **Apify dataset to send** | The dataset, read-only. In an integration: `{{resource.defaultDatasetId}}`. |
| Or: rows to send | A JSON array of rows, e.g. to test your webhook. |
| **Webhook URL** | Where they go. Empty = a free preview. Encrypted, never logged. |
| Format | `auto` (from the address), `json`, `slack` or `discord`. |
| Message template, title | Slack: `{field}` per row, `{count}` in the title. |
| Only these fields | Send part of each row. |
| Rows per request | 1 to 1,000. Default 1 for JSON, 20 for Slack. |
| HTTP method, headers | For JSON. Headers are encrypted, never logged. |
| Only rows not delivered by earlier runs | With **What makes a row the same** and **Memory name**. |
| Preview only | Build the bodies, send nothing, pay nothing. |
| Retry when the outcome is unclear | On by default; see the table above. |
| Seconds between requests | Default 0.2; Slack is held to at least 1. |
| End the run as Failed if anything wasn't delivered | Off by default. |
| Max rows, max requests | Caps per run. |

### Output

One log row per request (above), and these key-value records: `SUMMARY` (totals), `RUN_STATS` (technical counts). In a preview, each row's
`payload` holds the body as it would be sent, up to 5,000 characters.

#### Can I use Send Dataset Rows to Webhook, Slack or Discord from an AI agent (MCP)?

Yes, through [Apify's MCP server](https://docs.apify.com/platform/integrations/mcp), from Claude, ChatGPT, Cursor or any other MCP
client. Add this to your client's MCP configuration (or let the agent find it with the server's actor search); your client signs
you in to Apify:

```json
{
  "mcpServers": {
    "apify": {
      "url": "https://mcp.apify.com?tools=humble-echidna/dataset-to-webhook"
    }
  }
}
```

To use an [Apify API token](https://console.apify.com/settings/integrations) instead of signing in, add
`"headers": {"Authorization": "Bearer <APIFY_TOKEN>"}` next to `url`.

### Who it's for

Anyone with a scraper on a schedule who wants results to arrive by themselves: new jobs in a Slack channel, new leads in a Zap, price
changes in your own API.

### Why this one?

- **It sends the rows,** not just a note that a run finished.
- **Only new rows without a server:** one integration line, and each row goes once per destination.
- **You can see what happened.** A log row per request, and a clear line between refused, unclear and delivered.
- **You pay for what arrived.** Failed requests and retries are free, and batches make big lists cheap.
- **Scraped text stays text.** A row can't ping your channel or disguise a link.
- **Rate limits handled:** one request at a time, in row order, at the destination's pace.
- **Fails fast on a typo.** If no row has the field your template names, nothing is sent and the status lists the fields the
  first row has.
- **No permission errors or approval screens.** It reads the one dataset you pick, nothing else.

### Switching from another actor?

| Elsewhere | Here |
|---|---|
| `url` | **Webhook URL** (`webhookUrl`), stored encrypted |
| `data` or a body per request | The rows themselves, or **Only these fields** (`fields`) |
| A list of requests | Rows in a dataset, or **Rows to send** (`items`) |
| `maxRetries`, retry on failure | **Retry when the outcome is unclear** (`retryIfUnsure`); `429` is always retried |
| `callbackUrl` to forward a response | Not here: it sends rows on, and doesn't return the answer |
| A `{{column}}` placeholder | `{column}`, single braces, because Apify fills in double ones in integrations |
| Proxy routing, parallel requests | Not here: your address is never proxied, and one at a time keeps rows in order |

### Limits

- **A destination whose robots.txt disallows the address is refused.** Make's webhook hosts do (`Disallow: /`); Zapier, n8n Cloud and
  Slack webhooks are fine as of 2026-11-04. Discord's robots.txt disallows `/api`, where its webhooks live, for crawlers; posting to your
  own Discord webhook is what that address is for, so this actor makes that one exception.
- Public addresses only: http or https, ports 80 and 443, no internal or cloud-metadata addresses, no password in the address. Every
  attempt and redirect is checked.
- Up to 2,000,000 rows read per run. A JSON request is at most 5 MB, and a bigger single row is reported, not sent. Slack messages are
  at most 4,000 characters; a longer row is cut to fit and counted (`rowsCutToFit`).
- Only-new keeps fingerprints within half the run's memory: about 1.6 million rows at the default 256 MB. The status says so if you
  need more. A false match is about a 1-in-a-million chance at 6 million distinct keys.
- A `429` asking for more than 90 seconds stops the run with the reason; with only-new, the rest go next run.
- Requests go one at a time, so a slow destination makes a slow run. Slack takes one message a second, so at Apify's default one-hour
  run limit that's about 3,500 messages; the run stops cleanly a minute before its limit and says so. Use bigger batches, or a longer
  timeout in the run options.

### FAQ

#### Why does it say it isn't allowed to read my dataset?

Pick it in the form's dataset picker, or pass its id in `datasetId`; that's what gives the run access. In an integration set
`"datasetId": "{{resource.defaultDatasetId}}"`. It must also be in your account or shared with you, and not expired.

#### Why did the run succeed when nothing was delivered?

By default a run ends Succeeded and says what happened, in the status, the log rows and `SUMMARY`. Turn on **End the run as Failed if
anything wasn't delivered** to change that.

#### Can I test my webhook without my real data?

Yes: use the sample rows in **Rows to send** with your address, and they're really sent (each accepted request is charged as usual).
**Preview only** sends nothing at all.

#### Can I start the memory again?

Yes: delete the `seen-…` records in your `dataset-to-webhook-memory` key-value store, or use a new **Memory name**.

#### Can a row arrive twice?

Only after an unclear answer; see the table above. Turn off **Retry when the outcome is unclear** to avoid the retry, or have your
receiver drop repeats of `Idempotency-Key`.

#### Is it legal to send data with it?

It only moves data you choose to destinations you name, and you're responsible for having the right to send it. It checks each
destination's robots.txt and identifies itself honestly in the User-Agent.

#### Something that used to work now fails. Why?

The run log and the status say what went wrong. Please open an issue with your input, **leaving out your webhook address**.

### Related actors

| Actor | Use it when |
|---|---|
| [Dataset Transformer](https://apify.com/humble-echidna/dataset-transform) | Filter, rename or flatten the rows before they're sent. |
| [Dataset Diff](https://apify.com/humble-echidna/dataset-diff) | You want what changed or was removed between two runs, not only what's new. |
| [Merge & Dedupe Datasets](https://apify.com/humble-echidna/dataset-merge) | Combine several runs first. |
| [Google Sheets Import & Export](https://apify.com/humble-echidna/google-sheets) | The rows should end up in a sheet. |

### Feedback and support

Found a bug, or need a destination that isn't here? Open an issue on the **Issues** tab, with your input but not your webhook address.

### Versions

Current version: **0.1**. See the Changelog tab for what changed in each version.

# Changelog

This Actor's version history is a separate document: https://apify.com/humble-echidna/dataset-to-webhook/changelog.md

# Actor input Schema

## `datasetId` (type: `string`):

The dataset whose rows to send: its id or name, or pick it in the form. Read-only, this one only. In an integration after a scraper, set it to `{{resource.defaultDatasetId}}`: Apify lets the run read only a dataset named here, not one in the integration's payload. When set, items is ignored.

## `items` (type: `array`):

Rows typed in as a JSON array of objects, instead of a dataset, e.g. to test your webhook. The prefill is three sample job rows: with no webhookUrl they're only previewed; with one they are really sent. Ignored when datasetId is set.

## `webhookUrl` (type: `string`):

Where the rows go: a Slack incoming webhook, a Zapier or n8n catch hook, or your own endpoint (public http or https, ports 80 and 443). Stored encrypted and never logged. Leave it empty for a free preview of what would be sent. Empty by default.

## `format` (type: `string`):

`auto` (the default) picks from the address: Slack's webhook address gets `slack`, Discord's gets `discord`, anything else `json`. Choose `slack` for Slack-compatible receivers such as Mattermost. Discord delivery is refused today (its robots.txt disallows /api; see README).

## `messageTemplate` (type: `string`):

One row's line in a chat message, with `{field}` for values and dots for nested fields, e.g. `*{title}* at {company}: {url}`. Values are escaped so a row can't ping a channel or hide a link. Single braces, because Apify fills in double ones. Empty (the default): the row's first 8 simple fields. Not used for `json`.

## `messageTitle` (type: `string`):

Optional first line of each chat message; `{count}` becomes the rows in that message, e.g. `{count} new jobs`. Empty by default. Not used for `json`.

## `fields` (type: `array`):

Send only these fields, one per line or comma-separated; dots reach nested ones and the name stays as written. Empty (the default): the whole row. In chat messages it applies when there's no template.

## `batchSize` (type: `integer`):

How many rows go in one request (1 to 1000), and you pay per request, so bigger batches cost less. 1 sends the row as a JSON object; more sends a JSON array. Default when empty: 1 for `json`, 20 for `slack`, 10 for `discord`. Chat messages also split at the platform's length limit, and JSON at 5 MB.

## `method` (type: `string`):

`POST` (the default), `PUT` or `PATCH`. JSON format only; Slack and Discord always get POST.

## `headers` (type: `object`):

Extra headers as a JSON object, e.g. `{"Authorization": "Bearer ..."}`, for your own endpoint. Stored encrypted and never logged. Empty by default. JSON format only. Host, User-Agent, Content-Length and similar can't be replaced.

## `onlyNew` (type: `boolean`):

Default false. When true, rows this actor delivered to this destination in earlier runs are skipped, free, as are repeats within the run. A row counts only once the destination accepted it, so failed or unclear ones come back next run. Fingerprints stay in a key-value store in your account.

## `onlyNewKey` (type: `array`):

Fields that identify a row for onlyNew, e.g. `url` or `name, city`; dots reach nested fields. Empty (the default): the whole row, so any changed value makes it new again. Changing this starts a new memory.

## `memoryName` (type: `string`):

Optional name for what onlyNew remembers, e.g. `new-jobs`, at most 63 letters, digits or hyphens. Empty (the default): one memory per task or scraper and destination. Set a name to share it, or to keep it when the webhook address changes.

## `dryRun` (type: `boolean`):

Default false. When true, nothing is sent or charged: the dataset shows the first 20 requests' bodies exactly as they would go. Also what a run does when webhookUrl is empty.

## `retryIfUnsure` (type: `boolean`):

Default true. After a 5xx, a timeout or a dropped connection the destination may already have the rows, so a retry can double-send: it's up to 2 more tries and the log row says `duplicatePossible`. False: no retry, the row is reported as `unknown`. A 429 is always retried, since it can't double-send.

## `secondsBetweenRequests` (type: `number`):

Least time between requests, 0 to 60, default 0.2. Slack is held to at least 1 and Discord to 2.1, their published limits. Requests go one at a time, in row order, and wait as long as the destination's Retry-After asks, up to 90 seconds.

## `failRunOnError` (type: `boolean`):

Default false: the run ends Succeeded and the status, SUMMARY and log rows say what was delivered. True: it ends Failed when any row failed or is unclear, or the dataset couldn't be read, so Apify's run-failed alerts fire.

## `maxRows` (type: `integer`):

Send at most this many rows, e.g. 100. Minimum 1; empty (the default) for no limit. With onlyNew, the rest go next run.

## `maxRequests` (type: `integer`):

Make at most this many requests, e.g. 100. Minimum 1; empty (the default) for no limit. The run also stops cleanly at the maximum cost per run in the run options, whichever comes first.

## Actor input object example

```json
{
  "items": [
    {
      "title": "Senior Data Engineer",
      "company": "Acme",
      "city": "Austin",
      "url": "https://example.com/jobs/1"
    },
    {
      "title": "Product Designer",
      "company": "Globex",
      "city": "Remote",
      "url": "https://example.com/jobs/2"
    },
    {
      "title": "Support Lead",
      "company": "Initech",
      "city": "Denver",
      "url": "https://example.com/jobs/3"
    }
  ],
  "format": "auto",
  "method": "POST",
  "onlyNew": false,
  "dryRun": false,
  "retryIfUnsure": true,
  "secondsBetweenRequests": 0.2,
  "failRunOnError": false
}
```

# Actor output Schema

## `results` (type: `string`):

No description

## `summary` (type: `string`):

No description

## `runStats` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "items": [
        {
            "title": "Senior Data Engineer",
            "company": "Acme",
            "city": "Austin",
            "url": "https://example.com/jobs/1"
        },
        {
            "title": "Product Designer",
            "company": "Globex",
            "city": "Remote",
            "url": "https://example.com/jobs/2"
        },
        {
            "title": "Support Lead",
            "company": "Initech",
            "city": "Denver",
            "url": "https://example.com/jobs/3"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("humble-echidna/dataset-to-webhook").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "items": [
        {
            "title": "Senior Data Engineer",
            "company": "Acme",
            "city": "Austin",
            "url": "https://example.com/jobs/1",
        },
        {
            "title": "Product Designer",
            "company": "Globex",
            "city": "Remote",
            "url": "https://example.com/jobs/2",
        },
        {
            "title": "Support Lead",
            "company": "Initech",
            "city": "Denver",
            "url": "https://example.com/jobs/3",
        },
    ] }

# Run the Actor and wait for it to finish
run = client.actor("humble-echidna/dataset-to-webhook").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "items": [
    {
      "title": "Senior Data Engineer",
      "company": "Acme",
      "city": "Austin",
      "url": "https://example.com/jobs/1"
    },
    {
      "title": "Product Designer",
      "company": "Globex",
      "city": "Remote",
      "url": "https://example.com/jobs/2"
    },
    {
      "title": "Support Lead",
      "company": "Initech",
      "city": "Denver",
      "url": "https://example.com/jobs/3"
    }
  ]
}' |
apify call humble-echidna/dataset-to-webhook --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,humble-echidna/dataset-to-webhook"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/DqQwbBA0xRzR0C5t5/builds/IxukjbjFTwogQXZOH/openapi.json
