.`), then reference that image as your connectors runtime. Configuration (cluster connection, secrets) stays external via environment variables - do not bake tokens or credentials into the image.
+
+See [Host custom connectors](https://docs.camunda.io/docs/guides/host-custom-connectors/) and [Use connectors in hybrid mode](https://docs.camunda.io/docs/components/connectors/use-connectors-in-hybrid-mode/) for the full configuration reference (scopes, alternate auth modes, Helm charts).
+
+### Make the runtime publicly reachable
+
+The connectors runtime must be reachable from the public internet so Apify can deliver webhook events to it.
+
+- Production: expose the runtime through your ingress, reverse proxy, or load balancer with a stable HTTPS URL.
+- Local development: use a tunneling tool like [ngrok](https://ngrok.com/) pointed at the _host port you published_ (e.g. `ngrok http 8086` for the `-p 8086:8080` mapping above, not the container's internal `8080`).
+
+Whichever address you choose, paste it into the **Camunda webhook URL** field on each inbound template. The connector takes care of registering and removing the Apify-side webhook automatically on BPMN deploy and undeploy. See [Configure the Camunda webhook URL](#configure-the-camunda-webhook-url) below for more on this field.
+
+## Outbound connector
+
+The Apify Outbound Connector lets your BPMN process invoke operations on Apify. It supports the following operations:
+
+- [Run Actor](#run-actor)
+- [Run task](#run-task)
+- [Web Fetch](#web-fetch)
+- [Get dataset items](#get-dataset-items)
+- [Get key-value store record](#get-key-value-store-record)
+- [Scrape single URL](#scrape-single-url) (deprecated)
+
+To learn where to find the Actor, task, or dataset IDs in Apify Console, see [Find resource IDs](#find-resource-ids).
+
+### Actions
+
+A leading `=` in a value denotes a Friendly Enough Expression Language (FEEL) expression. For example, `=runResult.data.id` means "evaluate the FEEL expression `runResult.data.id`".
+
+#### Run Actor
+
+Start a new execution of an Actor.
+
+| Setting | Description |
+| --------- | ------------- |
+| **Operation** | Select `Run Actor` |
+| **Actor** | The Actor name, e.g. `apify/web-scraper` (IDs also work; see [Find Actor and task identifiers](#find-actor-and-task-identifiers)) |
+| **Input Body** | _(Optional)_ JSON input configuration for the run (e.g. `={ "message": "Hello from Camunda!" }`) |
+| **Wait for Finish** | `true` (Synchronous) or `false` (Asynchronous) |
+| **Timeout (seconds)** | _(Optional)_ Maximum duration for the run |
+| **Memory (MB)** | _(Optional)_ Memory allocation; one of 128, 256, 512, 1024, 2048, 4096, 8192, 16384, or 32768 MB |
+| **Build tag** | _(Optional)_ Build tag to use (defaults to the Actor's default build) |
+
+Wait for Finish options:
+
+- `true` (Synchronous): The process waits until the Actor run completes. Use for short-running tasks.
+- `false` (Asynchronous): The process starts the run and immediately moves to the next step. Use for long-running scrapes or with [intermediate catch events](#intermediate-catch-event) (see [Async execution with parallel gateway](#async-execution-with-parallel-gateway) for the full pattern).
+
+#### Run task
+
+Execute a saved Actor task.
+
+| Setting | Description |
+| --------- | ------------- |
+| **Operation** | Select `Run task` |
+| **Task** | The task name or ID (e.g. `username/my-task` or `abc123DEF456`) |
+| **Input Override** | _(Optional)_ JSON to override the task's saved input |
+| **Wait for Finish** | `true` (Synchronous) or `false` (Asynchronous) |
+| **Timeout (seconds)** | _(Optional)_ Maximum duration |
+| **Memory (MB)** | _(Optional)_ Memory allocation; one of 128, 256, 512, 1024, 2048, 4096, 8192, 16384, or 32768 MB |
+| **Build tag** | _(Optional)_ Build tag to use (defaults to the task's default build) |
+
+#### Web Fetch
+
+Fetch a single web page, PDF, or file in one request and get its content in the formats you choose. The operation calls the [Web Fetch](https://apify.com/apify/web-fetch) Actor, which gets past bot protection and answers directly, without a run to wait for. To crawl a list of pages or a whole website, use [Run Actor](#run-actor) with [Website Content Crawler](https://apify.com/apify/website-content-crawler).
+
+| Setting | Description |
+| --------- | ------------- |
+| **Operation** | Select `Web Fetch` |
+| **URL** | The full URL to fetch, including `http://` or `https://` (e.g. `https://example.com`) |
+| **Formats** | _(Optional)_ Comma-separated list of output formats: `markdown`, `html`, `text`, `links`, `raw` (default: `markdown`). Use `raw` for images and other files, which come back base64-encoded. Clear the field to let Web Fetch pick a format from the content type |
+| **Custom headers** | _(Optional)_ HTTP headers that Web Fetch sends to the target site, as a JSON object (e.g. `={"Accept-Language": "fr-FR"}`). They are not used to sign in to Apify |
+
+The response holds the requested `url`, a `fetch` object with the target page's `httpStatusCode` and content type, page `metadata`, and one field per requested format. With the Result Variable `fetchResult`, read the content with `=fetchResult.data.markdown`.
+
+A page that answers with an error status such as 404 still comes back as content, so check `fetch.httpStatusCode`. The task fails only when Web Fetch can't fetch the page. Apify bills each fetch, so the connector sends exactly one request per attempt. The **Retries** setting still applies on top of that: set it to `0` if Camunda shouldn't repeat a failed fetch.
+
+#### Get dataset items
+
+Retrieve the results of an Actor run. Typically used after a Run Actor task has completed; see [Async execution with parallel gateway](#async-execution-with-parallel-gateway) for the recommended end-to-end flow.
+
+| Setting | Description |
+| --------- | ------------- |
+| **Operation** | Select `Get dataset items` |
+| **Dataset** | The dataset ID (use a variable from a previous run, e.g. `=runResult.data.defaultDatasetId`) |
+| **Offset** | _(Optional)_ Number of items to skip from the beginning (default: `0`) |
+| **Limit** | _(Optional)_ Maximum number of items to return (default: no limit) |
+
+#### Get key-value store record
+
+Fetch a specific record from a key-value store.
+
+| Setting | Description |
+| --------- | ------------- |
+| **Operation** | Select `Get key-value store record` |
+| **Key-Value Store** | The store ID (e.g. `=runResult.data.defaultKeyValueStoreId`) |
+| **Key** | The record key to retrieve (e.g. `OUTPUT`) |
+
+#### Scrape single URL
+
+Scrape single URL is deprecated. Use [Web Fetch](#web-fetch) instead. Existing processes keep working until a future release removes the operation.
+
+The operation scrapes a webpage using one of Apify's standard crawlers.
+
+| Setting | Description |
+| --------- | ------------- |
+| **Operation** | Select `Scrape single URL (deprecated)` |
+| **URL** | The full URL to scrape (e.g. `https://example.com`) |
+| **Crawler Type** | `Cheerio (Raw HTTP)` (lightweight), `Adaptive`, or `Firefox (Headless Browser)` |
+
+### Output mapping
+
+Each outbound operation returns a JSON object within a `data` envelope.
+
+- **Result Variable**: Use this field (e.g. `runResult`) to store the entire JSON response as a process variable.
+- **Result Expression**: Optionally, provide a FEEL expression to extract and map specific fields from the response to process variables.
+
+Use this to choose the entire response object or to extract only the specific data needed for later process steps.
+
+Example: To map the run ID and dataset ID from the response to distinct process variables, use the following Result Expression:
+
+```text
+= { runId: response.data.id, datasetId: response.data.defaultDatasetId }
+```
+
+Each key of the expression becomes its own process variable. If you set both fields, Camunda stores both: the full response in the Result Variable and the mapped keys next to it.
+
+Keep large responses out of the process. Camunda limits a process instance's payload to 4 MB and recommends 1 MB or less of variables (see [Variable size limitation](https://docs.camunda.io/docs/components/concepts/variables/)). For Web Fetch and Get dataset items, which can return large content, leave Result Variable empty and map only the fields you need, for example `={ content: response.data.markdown, status: response.data.fetch.httpStatusCode }`.
+
+### Errors and retries
+
+All outbound operations support error handling and automatic retries. These fields appear in the Modeler under the **Error handling** and **Retries** groups.
+
+| Setting | Description |
+| --------- | ------------- |
+| **Error Expression** | _(Optional)_ A FEEL expression to handle errors (e.g. `if error.code = "ACTOR_NOT_FOUND" then null else error`) |
+| **Retries** | Number of retry attempts (default: `3`) |
+| **Retry backoff** | ISO-8601 duration to wait between retries (default: `PT0S`, no delay; e.g. `PT5S` for 5 seconds) |
+
+:::note Automatic error classification
+
+The connector distinguishes user-input errors from transient errors automatically. Input problems (HTTP 4xx from Apify, such as an invalid Actor ID or malformed input) are surfaced as input incidents and are _not_ retried; the message states what to fix. Transient problems (HTTP 5xx, rate limiting, or network failures) are retried according to the **Retries** and **Retry backoff** settings above.
+
+:::
+
+## Inbound connectors
+
+Inbound connectors enable Apify to start or resume your Camunda processes via webhooks.
+
+- The connector receives webhooks whenever a run reaches a terminal status (`SUCCEEDED`, `FAILED`, `TIMED-OUT`, or `ABORTED`).
+- Activation Condition: Use this optional filter to specify which events should actually trigger the connector.
+- Compatibility: Inbound connectors work in Self-Managed and Hybrid setups (your connectors runtime hosts the Apify code; see [Installation](#installation)).
+
+See [Configure the Camunda webhook URL](#configure-the-camunda-webhook-url) for one-time setup instructions.
+For end-to-end examples, refer to [Usage patterns](#usage-patterns).
+
+### Configure the Camunda webhook URL
+
+When an Actor or task run reaches a terminal status, Apify needs to know where to send (POST) the event data. The destination is your Camunda cluster's inbound webhook endpoint.
+
+The Camunda Connector SDK doesn't expose the runtime's callback address, so you provide it.
+
+To set it up:
+
+1. Provide the base URL: In each BPMN template, fill in the **Camunda webhook URL** field with the base URL of your connector's endpoint.
+1. Register the callback automatically: When you deploy the process, the connector appends `/inbound/{webhookId}` to your base URL and registers this full callback URL with Apify.
+
+Apify then delivers terminal event webhooks to your Camunda processes through this registered URL.
+
+
+
+```mermaid
+graph LR
+ subgraph Apify
+ A[Actor / task run] -->|terminal status| B[Webhook dispatched]
+ end
+ B -->|POST to webhook URL| C
+ subgraph Camunda
+ C[Inbound connector
receives and matches] -->|connectorData| D[BPMN process
starts / resumes]
+ end
+
+ classDef apify fill:#fde5d0,stroke:#f86606,color:#000
+ classDef camunda fill:#d6e3ff,stroke:#246dff,color:#000
+ class A,B apify
+ class C,D camunda
+ style Apify fill:#fff7f0,stroke:#f86606
+ style Camunda fill:#f0f5ff,stroke:#246dff
+```
+
+
+
+#### Find the URL
+
+The URL is the public address of _your_ connectors runtime - the one hosting the Apify JAR (see [Installation](#installation)). Apify POSTs event payloads to that URL.
+
+Self-Managed or Hybrid: Use the public URL of your connectors-runtime reverse proxy or ingress (the host serving the `/inbound/*` endpoints). If you set a `contextPath` in your Helm chart or deployment config, include it in the URL. See [Use connectors in hybrid mode](https://docs.camunda.io/docs/components/connectors/use-connectors-in-hybrid-mode/) for hybrid setup details.
+
+Local development: Use a tunneling tool such as [ngrok](https://ngrok.com/) pointed at the host port you published for the runtime container (e.g. `ngrok http 8086` for a `-p 8086:8080` mapping), then paste the public tunnel URL into the field.
+
+:::caution Web Modeler's Webhooks tab does not apply here
+
+The **Webhooks** tab in Camunda Web Modeler shows the URL of Camunda's SaaS-managed connectors runtime - which does not host the Apify connector code. Your self-hosted runtime does. Use your own runtime's public address in the **Camunda webhook URL** field, not the URL the Webhooks tab displays.
+
+:::
+
+#### Reuse the URL across BPMNs
+
+If you build several BPMNs on the same Camunda cluster, store the base URL as a [Camunda Secret](https://docs.camunda.io/docs/components/console/manage-clusters/manage-secrets/) and reference it with `{{secrets.CAMUNDA_WEBHOOK_URL}}` in each template.
+
+:::caution Webhook verification
+
+The inbound endpoint does not yet cryptographically verify that incoming requests come from Apify. Protection relies on the unique webhook URL, which is not publicly discoverable. This protects against open-internet attacks but not insider threats.
+
+Mitigations for sensitive workflows:
+
+1. Use the [Activation Condition](#activation-condition) to filter which events trigger your process.
+1. Use [correlation keys](#correlation-keys) to constrain accepted events.
+1. Validate data from the webhook payload before acting on it.
+
+For the full threat model and planned fix, see the connector's [security policy](https://github.com/apify/apify-camunda-integration/blob/main/SECURITY.md).
+
+:::
+
+
+### Correlation keys
+
+Inbound connectors that resume an in-flight process - message start event, intermediate catch event, and boundary event - use _correlation keys_ to route incoming webhooks to the correct process instance.
+
+A _correlation key_ is a value present in both:
+
+- A process variable (typically: `runResult.data.id` on the process side)
+- The webhook payload (typically: `connectorData.runId` on the payload side)
+
+The two values must match exactly. If they do not, the event is silently ignored.
+
+### Common fields
+
+All inbound connectors share these common fields:
+
+| Setting | Description |
+| --------- | ------------- |
+| **Apify API token** | Your Apify API token (see [Authentication](#authentication)) |
+| **Camunda webhook URL** | Base URL of your Camunda cluster's webhook endpoint (the connector appends `/inbound/{webhookId}` to register a webhook with Apify; see [Configure the Camunda webhook URL](#configure-the-camunda-webhook-url)) |
+| **Resource Type** | `Actor` or `Task` |
+| **Actor** / **Task** | The Actor or task name to monitor, e.g. `apify/web-scraper` (the field label changes based on the selected Resource Type; IDs also work, see [Find Actor and task identifiers](#find-actor-and-task-identifiers)) |
+| **Activation Condition** | _(Optional)_ FEEL expression to filter events (e.g. `=connectorData.status = "SUCCEEDED"`; leave empty to process all events) |
+| **Result Variable** | _(Optional)_ Variable name to store the webhook payload |
+| **Result Expression** | _(Optional)_ FEEL expression to transform the data (e.g. `={ result: connectorData }`) |
+
+### Activation condition
+
+The **Activation Condition** is an optional FEEL expression that filters which incoming webhook events the connector reacts to. If you set it, the connector evaluates the expression for each event:
+
+- If the expression evaluates to `true`, the connector is triggered (starting, resuming, or interrupting a process, depending on the inbound type).
+- If the expression evaluates to `false`, the event is silently ignored - no process is started or resumed, and no correlation attempt occurs.
+
+This is especially useful if you are subscribed to all event types from an Actor or task, but only want your workflow to react to specific outcomes (for example, only when a run succeeds or fails).
+
+| Expression | Effect |
+| ------------ | -------- |
+| _(empty)_ | All events trigger the connector (default) |
+| `=connectorData.status = "SUCCEEDED"` | Only successful runs trigger the connector |
+| `=connectorData.status != "ABORTED"` | All events except aborted runs trigger the connector |
+| `=connectorData.eventType = "ACTOR.RUN.FAILED" or connectorData.eventType = "ACTOR.RUN.TIMED_OUT"` | Only failures and timeouts trigger the connector |
+
+:::tip Available fields
+
+The activation condition expression can access all fields of the `connectorData` object, as detailed in the [Webhook payload structure](#webhook-payload-structure). You can filter on any property, such as:
+
+- `status`
+- `eventType`
+- `actorId`
+- `runId`
+
+For comprehensive details on webhook dispatch events and available fields, refer to the Apify client documentation:
+
+- [WebhookDispatch JavaScript reference](https://docs.apify.com/api/client/js/reference/interface/WebhookDispatch)
+- [WebhookDispatch Python reference](https://docs.apify.com/api/client/python/reference/class/WebhookDispatch)
+
+:::
+
+### Start event
+
+Use the Apify Start Event Connector to begin a new process instance when a specific event occurs in Apify (e.g. "Run Succeeded"). This is the simplest inbound connector. Each incoming webhook event creates a new top-level process instance.
+
+
+
+```mermaid
+graph LR
+ subgraph Apify
+ AR[Actor run] -->|finished| A([Webhook Trigger])
+ end
+ subgraph Camunda
+ B([Start Event]) --> C[Process Data] --> D([End])
+ end
+ A --> B
+
+ classDef apify fill:#fde5d0,stroke:#f86606,color:#000
+ classDef camunda fill:#d6e3ff,stroke:#246dff,color:#000
+ classDef terminal fill:#d4f3df,stroke:#20a34e,color:#000
+ class AR,A apify
+ class B,C camunda
+ class D terminal
+ style Apify fill:#fff7f0,stroke:#f86606
+ style Camunda fill:#f0f5ff,stroke:#246dff
+```
+
+
+
+
+
+When to use:
+
+- Trigger a workflow based on an external event (e.g. "Every time this daily scrape finishes, start a review process")
+
+Configuration: Uses the [common inbound fields](#common-fields) listed above. No additional fields are required.
+
+### Message start event
+
+Use the Apify Message Start Event Connector to start a process instance through message correlation. Unlike the plain start event, this variant uses Camunda's message correlation mechanism, which prevents duplicate instances for the same correlation key and supports starting embedded subprocesses.
+
+
+
+```mermaid
+graph LR
+ subgraph Apify
+ AR[Actor run] -->|finished| W([Webhook Trigger])
+ end
+ subgraph Camunda
+ B(["Message Start Event"])
+ B --> C[Process Data]
+ C --> D([End])
+ end
+ W -->|correlation key +
Message ID deduplication| B
+
+ classDef apify fill:#fde5d0,stroke:#f86606,color:#000
+ classDef camunda fill:#d6e3ff,stroke:#246dff,color:#000
+ classDef terminal fill:#d4f3df,stroke:#20a34e,color:#000
+ class AR,W apify
+ class B,C camunda
+ class D terminal
+ style Apify fill:#fff7f0,stroke:#f86606
+ style Camunda fill:#f0f5ff,stroke:#246dff
+```
+
+
+
+
+
+When to use:
+
+- You need to prevent duplicate process instances for the same run (using correlation keys).
+- You want to start an embedded subprocess from an Apify event.
+
+Configuration: Uses the [common inbound fields](#common-fields), plus:
+
+| Setting | Description |
+| --------- | ------------- |
+| **Subprocess Correlation Required** | Select `Correlation not required` (default) or `Correlation required` (when set to required, the Correlation Key fields become visible; needed for event-based subprocess message start events) |
+| **Correlation Key (Process)** | _(Shown when correlation is required)_ FEEL expression for the correlation key from process variables (e.g. `=previousEventResponse.data.id`) |
+| **Correlation Key (Payload)** | _(Shown when correlation is required)_ FEEL expression to extract the correlation key from the incoming webhook (e.g. `=connectorData.runId`) |
+| **Message ID Expression** | _(Optional)_ Expression to extract a unique ID from the webhook payload for deduplication (e.g. `=connectorData.eventData.actorRunId`); Camunda uses this ID to deduplicate messages, so a webhook with the same Message ID arriving twice is silently ignored |
+| **Message TTL** | _(Optional)_ Time-to-live for the message in the broker as an ISO-8601 duration (e.g. `PT1H` for 1 hour) |
+
+
+
+### Intermediate catch event
+
+Use the Apify Intermediate Catch Event Connector to pause a running process and wait for a callback from Apify. The process resumes when a matching webhook arrives, routed via [correlation keys](#correlation-keys).
+
+
+
+```mermaid
+graph LR
+ subgraph Camunda
+ A([Start]) --> B[Run Actor async]
+ B --> C([Intermediate Catch Event])
+ C --> D[Get Dataset Items]
+ D --> E([End])
+ end
+ subgraph Apify
+ AR[Actor run] -->|finished| W([Webhook Trigger])
+ end
+ B -.->|starts run| AR
+ W -.->|correlates with run ID| C
+
+ classDef apify fill:#fde5d0,stroke:#f86606,color:#000
+ classDef camunda fill:#d6e3ff,stroke:#246dff,color:#000
+ classDef terminal fill:#d4f3df,stroke:#20a34e,color:#000
+ class AR,W apify
+ class B,C,D camunda
+ class A,E terminal
+ style Apify fill:#fff7f0,stroke:#f86606
+ style Camunda fill:#f0f5ff,stroke:#246dff
+```
+
+
+
+
+
+When to use:
+
+- Run long-running Actors asynchronously without blocking process engine resources - see [Async execution with parallel gateway](#async-execution-with-parallel-gateway) for the full implementation
+- Run tasks in parallel while waiting for a scrape to complete
+
+Configuration: Uses the [common inbound fields](#common-fields), plus:
+
+| Setting | Description |
+| --------- | ------------- |
+| **Correlation Key (Process)** | FEEL expression for the correlation key from process variables (e.g. `=runResult.data.id`) |
+| **Correlation Key (Payload)** | FEEL expression to extract the correlation key from the incoming webhook (e.g. `=connectorData.runId`) |
+| **Message ID Expression** | _(Optional)_ Expression to extract a unique ID from the webhook payload for deduplication |
+| **Message TTL** | _(Optional)_ Time-to-live for the message in the broker as an ISO-8601 duration (e.g. `PT1H`) |
+
+### Boundary event
+
+The Apify Boundary Event Connector allows your Camunda process to respond to Apify events while an activity (such as a user task or subprocess) is still running.
+
+A boundary event is _attached_ to a specific activity and fires when the configured webhook event arrives from Apify.
+
+- Interrupting boundary event: Terminates the attached activity when triggered.
+- Non-interrupting boundary event: Lets the attached activity continue, while a parallel process path is started.
+
+Example use cases:
+
+- React to a specific Apify run completion, failure, or timeout during a long-running task
+- Implement timeout or fallback logic (e.g. take an alternative path if a scrape fails)
+
+
+
+```mermaid
+graph LR
+ subgraph Camunda
+ A([Start]) --> B[Run Fast Actor]
+ B --> SA
+ subgraph SA ["Run Slow Actor + Boundary"]
+ C[Run Slow Actor]
+ BE(["Boundary Event
(Fast Actor Done)"])
+ end
+ SA --> E([Slow Actor Finished])
+ BE --> D([Slow Actor
Cancelled by Boundary])
+ end
+ subgraph Apify
+ AR[Fast Actor run] -->|finished| W([Webhook Trigger])
+ end
+ B -.->|starts run| AR
+ W -.->|correlates with
fastActorRes.data.id| BE
+
+ classDef apify fill:#fde5d0,stroke:#f86606,color:#000
+ classDef camunda fill:#d6e3ff,stroke:#246dff,color:#000
+ classDef terminal fill:#d4f3df,stroke:#20a34e,color:#000
+ class AR,W apify
+ class B,C,BE camunda
+ class A,D,E terminal
+ style Apify fill:#fff7f0,stroke:#f86606
+ style Camunda fill:#f0f5ff,stroke:#246dff
+ style SA fill:#e6efff,stroke:#246dff
+```
+
+
+
+When to use:
+
+- Cancel or redirect a running activity when an Apify run completes, fails, or times out - see [Boundary event for runtime reactions](#boundary-event-for-runtime-reactions) for interrupting and non-interrupting examples
+- Implement timeout or fallback logic (e.g. if a scrape fails, take an alternative path)
+
+Configuration: Same as the [intermediate catch event](#intermediate-catch-event) (common inbound fields plus Correlation Keys, Message ID Expression, and Message TTL). Additionally, choose whether the boundary event is interrupting or non-interrupting.
+
+
+
+
+
+## Set up your first process
+
+Follow this walkthrough to create and run your first outbound connector process in Camunda.
+
+:::note Element templates
+
+Apify Connectors are packaged as _element templates_ (JSON files defining the connector's form fields in the Modeler).
+
+- There is no in-product catalog; instead, upload these templates once per project.
+- After uploading, the connectors appear as service tasks and event types in your BPMN palette.
+
+:::
+
+1. Create a new project in your Camunda Modeler.
+
+ 
+
+1. Upload the outbound connector template to your project.
+
+ 
+
+1. Select **Publish** > **Publish to project**.
+
+ 
+
+1. Create a new BPMN diagram.
+
+ 
+
+1. Design a process using the Apify Connector as a service task.
+
+ 
+
+1. Set the connector input variables and run the process. For a quick smoke test, use these values:
+
+ | Field | Value |
+ | ------- | ------- |
+ | **Apify API token** | Your Apify API token |
+ | **Operation** | `Run Actor` |
+ | **Actor** | `apify/hello-world` |
+ | **Input Body** | _(Optional)_ `={ "message": "Hello from Camunda!" }` |
+ | **Wait for Finish** | `true` |
+
+ The process should complete in approximately 30 seconds.
+
+ 
+
+1. Find the process in Camunda Operate. By default, Operate shows only running processes - switch to the **Finished** filter to see completed instances.
+
+ 
+
+1. Verify the process result in Camunda Operate.
+
+ 
+
+:::note Next steps
+
+This walkthrough is a synchronous smoke test. Real workflows typically involve long-running Actors or webhook-triggered processes. See [Usage patterns](#usage-patterns) for async execution and runtime reactions.
+
+:::
+
+### Understand the outbound response
+
+Key fields from the **Run Actor** and **Run task** responses that you reference in subsequent process steps:
+
+| Field | Example FEEL expression | Description |
+| ------- | ------------------------ | ------------- |
+| `id` | `=runResult.data.id` | The run ID (used for correlation in inbound events) |
+| `status` | `=runResult.data.status` | Run status (`RUNNING`, `SUCCEEDED`, `FAILED`, etc.) |
+| `defaultDatasetId` | `=runResult.data.defaultDatasetId` | Dataset ID (pass to Get dataset items) |
+| `defaultKeyValueStoreId` | `=runResult.data.defaultKeyValueStoreId` | Key-value store ID (pass to Get key-value store record) |
+
+For the full response schema, see:
+
+- [Run Actor API](https://docs.apify.com/api/v2/act-runs-post): response for Run Actor
+- [Run task API](https://docs.apify.com/api/v2/actor-task-runs-post): response for Run task
+
+## Deploy vs play mode
+
+When your process is ready, you can run it in three ways:
+
+| Mode | Webhooks | Best for |
+| ------ | ---------- | ---------- |
+| **Play mode** | Temporary (deleted after run) | Outbound flows, intermediate/boundary inbound events |
+| **Deploy** (without Run) | Persistent (keep listening) | Inbound start events - deploy first, then trigger from Apify |
+| **Deploy & Run** | Persistent | Flows starting with outbound steps (first instance runs immediately) |
+
+See [Usage patterns](#usage-patterns) for examples of each event type in action.
+
+:::caution Play mode skips inbound start events
+
+**Play** and **Deploy & Run** modes start the process immediately - they do _not_ wait for an Apify webhook.
+
+- If your flow starts with a start event or message start event, the inbound payload is _not_ received.
+- Any process variable intended to be populated from the webhook (via a **Result Variable** or **Result Expression**) will be _undefined_, causing downstream FEEL expressions to fail.
+
+For flows that start with an inbound event, use **Deploy** (without Run), then trigger the process from Apify so the webhook payload arrives and variables are set.
+
+:::
+
+### Run a process in play mode
+
+In Web Modeler, switch to the **Play** tab and click **Start instance with cached data**. Inspect the path and variables in the **Instance History** and **Variables** panels. For details and saved scenarios, see [Play your process](https://docs.camunda.io/docs/components/modeler/web-modeler/play-your-process/) in the Camunda docs.
+
+
+
+## Usage patterns
+
+### Trigger a workflow on Actor run completion
+
+Use a start event when an Apify run should kick off a fresh Camunda process. Each terminal event on the Actor (success, failure, abort) creates a new process instance - no correlation needed, since there is no existing process to resume.
+
+
+
+```mermaid
+graph LR
+ subgraph Apify
+ S[Schedule] -.->|triggers| AR[Actor run]
+ AR -->|finished| W([Webhook Trigger])
+ end
+ subgraph Camunda
+ B([Start Event]) --> C[Process results]
+ C --> D[Notify team]
+ D --> E([End])
+ end
+ W --> B
+
+ classDef apify fill:#fde5d0,stroke:#f86606,color:#000
+ classDef camunda fill:#d6e3ff,stroke:#246dff,color:#000
+ classDef terminal fill:#d4f3df,stroke:#20a34e,color:#000
+ class S,AR,W apify
+ class B,C,D camunda
+ class E terminal
+ style Apify fill:#fff7f0,stroke:#f86606
+ style Camunda fill:#f0f5ff,stroke:#246dff
+```
+
+
+
+When to use:
+
+- A scheduled Actor run should trigger a downstream review, ETL, or notification workflow.
+- Each Apify event should produce an independent process instance (no deduplication needed).
+- The Camunda process does not exist before the webhook arrives.
+
+Steps:
+
+1. Configure the Apify Start Event Connector:
+ - Set **Resource Type** to `Actor` or `Task`
+ - Set **Actor** / **Task** to the scheduled run's resource
+ - Use **Activation Condition** to filter events (e.g. `=connectorData.status = "SUCCEEDED"` to react to successes only)
+ - Save the payload to a result variable for use downstream (e.g. `runResult`)
+
+1. In the process body, use `runResult.connectorData.defaultDatasetId` to fetch dataset items, post to Slack, write to a database, or hand off to other services.
+
+1. Deploy the process without running it, then trigger it from Apify - see [Deploy vs play mode](#deploy-vs-play-mode).
+
+If you need deduplication (e.g. to avoid double-processing an event that fires twice), use the [message start event](#message-start-event) instead.
+
+### Async execution with parallel gateway
+
+This is the recommended pattern for long-running scrapes. It prevents timeout issues and allows other tasks while waiting.
+
+
+
+```mermaid
+graph LR
+ A([Start]) --> B[Run Actor Async]
+ B --> C{Fork}
+ C --> D[Other Tasks - Optional]
+ C --> E[Wait for Webhook]
+ D --> F{Join}
+ E --> F
+ F --> G[Get Dataset]
+ G --> H([End])
+
+ classDef camunda fill:#d6e3ff,stroke:#246dff,color:#000
+ classDef terminal fill:#d4f3df,stroke:#20a34e,color:#000
+ class B,C,D,E,F,G camunda
+ class A,H terminal
+```
+
+
+
+Steps:
+
+1. Start the run asynchronously:
+ - Select `Run Actor` or `Run task`
+ - Set **Wait for Finish** to `false`
+ - Save the response to a result variable (e.g. `runResult`)
+
+1. Add a parallel gateway (fork) to split the flow immediately after the run starts.
+
+1. Configure the Apify Intermediate Catch Event:
+ - Set **Correlation Key (Process)** to `=runResult.data.id`
+ - Set **Correlation Key (Payload)** to `=connectorData.runId`
+
+1. Add a parallel gateway (join) to merge the branches. The process continues only when the webhook is received.
+
+1. Configure Get dataset items:
+ - Set **Dataset** to `=runResult.data.defaultDatasetId`
+
+### Boundary event for runtime reactions
+
+A [boundary event](https://docs.camunda.io/docs/components/modeler/bpmn/events/) attaches directly to an activity (task or subprocess) and fires when an Apify webhook arrives while that activity is still running. Unlike the async execution pattern above, the boundary event does _not_ wait for the attached activity to finish. It interrupts or runs alongside it.
+
+- Interrupting boundary event: Cancel a running activity when an external signal arrives (e.g. abort a long-running scrape when a validation check fails or times out).
+- Non-interrupting boundary event: Spawn a parallel path without stopping the activity (e.g. send a progress notification while a long-running scrape continues).
+
+Example flow (interrupting):
+
+
+
+```mermaid
+graph LR
+ A([Start]) --> B[Run Actor Async]
+ B --> C[Run Large Scrape]
+ C -- Apify Boundary Event --> D[Handle Failure]
+ D --> E1([End])
+ C -- Normal completion --> F[Process Results]
+ F --> E2([End])
+
+ classDef camunda fill:#d6e3ff,stroke:#246dff,color:#000
+ classDef terminal fill:#d4f3df,stroke:#20a34e,color:#000
+ class B,C,D,F camunda
+ class A,E1,E2 terminal
+```
+
+
+
+If the async Actor run fails while the large scrape is still running, the boundary event interrupts the scrape and redirects the flow to a failure-handling path.
+
+:::tip Pattern selection
+
+If you need the run results (dataset, key-value store) after the Apify event, use the [Async execution with parallel gateway](#async-execution-with-parallel-gateway) pattern instead. The boundary event pattern is best when you want to _react_ to an event (failure, timeout, status change) rather than _collect_ its output.
+
+:::
+
+## Reference
+
+### Find Actor and task identifiers
+
+The connector accepts multiple formats for Actor and task identifiers:
+
+| Format | Example | Notes |
+| ------ | ------- | ----- |
+| Slash notation (recommended) | `apify/website-content-crawler` | Easiest to read and copy from URLs |
+| Tilde notation | `apify~website-content-crawler` | Also accepted |
+| Actor ID | `abcd1234` | Legacy format, still works |
+
+#### Use slash notation
+
+Find the Actor or task identifier in either of these locations:
+
+- URL path: From `apify.com/compass/crawler-google-places`, use `compass/crawler-google-places`.
+- Actor page: Listed under the Actor name on the Actor detail page.
+
+#### Actor IDs in dynamic workflows
+
+Use names for identifiers you type by hand. In dynamic workflows the identifier often comes from previous step data - a run result or webhook payload (e.g. `connectorData.actorId`). That value is an ID, which the connector still accepts and resolves automatically.
+
+#### Find dataset IDs
+
+For datasets, you still need the ID. Find it in the Storage section or in run details.
+
+### Common expressions
+
+The connector templates accept two distinct syntaxes that look similar but are evaluated at different stages by different components: FEEL expressions and secret placeholders.
+
+#### FEEL expressions
+
+FEEL expressions (prefix: `=`) are evaluated by the Zeebe engine before the connector runs. The leading `=` tells the engine to parse the field as FEEL and resolve it to a concrete value. Use FEEL to reference process variables, filter events, or build output mappings.
+
+| FEEL expression | Use case |
+| ------------ | ---------- |
+| `=runResult.data.id` | Accessing the run ID from a response |
+| `=runResult.data.defaultDatasetId` | Accessing the default dataset ID |
+| `=connectorData.status` | Reading the status from inbound webhook payload |
+| `=connectorData.runId` | Reading the run ID from inbound webhook payload |
+
+#### Secret placeholders
+
+Secret placeholders (syntax: `{{secrets.NAME}}`) are not FEEL. The engine passes them through as literal strings and the connector runtime substitutes them at execution time, just before the outbound HTTP call. This keeps the secret value out of process variables, audit logs, and incident messages. Use them anywhere a credential or sensitive URL belongs - directly in plain text fields (no `=` prefix), or inside a FEEL string wrapped in quotes (e.g. `="Bearer " + "{{secrets.APIFY_TOKEN}}"`).
+
+| Placeholder | Use case |
+| ------------ | ---------- |
+| `{{secrets.APIFY_TOKEN}}` | Reference a stored Apify API token |
+| `{{secrets.CAMUNDA_WEBHOOK_URL}}` | Reference a stored Camunda webhook URL |
+
+See [Manage Secrets](https://docs.camunda.io/docs/components/console/manage-clusters/manage-secrets/) for how to create and store secrets in your Camunda cluster.
+
+### Webhook payload structure
+
+When an Apify inbound connector is triggered, it receives a payload with event and run information.
+
+Top-level structure:
+
+- `connectorData`: Simplified object with the most important fields
+- `request`: The raw webhook request including headers and body
+- `connectorData.resource`: The full Actor run object
+
+```json title="Webhook payload example"
+{
+ "connectorData": {
+ "eventType": "ACTOR.RUN.SUCCEEDED",
+ "userId": "user1234",
+ "createdAt": "2026-01-03T12:00:00.000Z",
+ "runId": "efgh5678",
+ "status": "SUCCEEDED",
+ "actorId": "abcd1234",
+ "defaultDatasetId": "d9E0f1G2h3I4j5K6",
+ "eventData": {
+ "actorId": "abcd1234",
+ "actorRunId": "efgh5678"
+ },
+ "resource": {
+ "id": "efgh5678",
+ "status": "SUCCEEDED",
+ "stats": {},
+ "options": {},
+ "usage": {}
+ }
+ },
+ "request": {
+ "body": {
+ "eventType": "ACTOR.RUN.SUCCEEDED",
+ "resource": {}
+ },
+ "headers": {}
+ }
+}
+```
+
+### Event types and statuses
+
+Event types (`eventType`):
+
+- `ACTOR.RUN.SUCCEEDED`: Run finished with status `SUCCEEDED`
+- `ACTOR.RUN.FAILED`: Run finished with status `FAILED`
+- `ACTOR.RUN.ABORTED`: Run finished with status `ABORTED`
+- `ACTOR.RUN.TIMED_OUT`: Run finished with status `TIMED-OUT`
+
+Run statuses (`status`):
+
+- `SUCCEEDED`
+- `FAILED`
+- `ABORTED`
+- `TIMED-OUT`
+
+:::note Naming inconsistency
+
+The event type uses an underscore (`TIMED_OUT`) while the run status uses a hyphen (`TIMED-OUT`). This is how the Apify API returns these values.
+
+:::
+
+## Troubleshooting
+
+| Issue | Solution |
+| ------- | ---------- |
+| Webhook not triggering | Ensure you have deployed the process. For start events, deploying automatically creates the webhook in Apify. Check the **Integrations** tab of your Actor in Apify Console to verify the webhook exists. |
+| Process not visible in Camunda Operate | Operate hides completed processes by default. Switch to the **Finished** filter to see them. |
+| Process stuck at intermediate event | Check your **Correlation Keys**. The value in the process variable must exactly match the value in the webhook payload. Use Camunda Operate to inspect variable values and compare with the `connectorData.runId` in the connector runtime logs. |
+| `401 Unauthorized` | Check your Apify API token. If necessary, [create a new token in Apify Console](https://console.apify.com/settings/integrations?createApiToken=true&for=Camunda&utm_source=camunda&utm_medium=integrations). On Camunda 8.10, also check that the token field contains `{{secrets.APIFY_TOKEN}}` itself: a placeholder passed through a process variable does not resolve. |
+
+## Next steps
+
+- Schedule Actor runs that feed your Camunda processes - see [Schedules](/actors/running/schedules)
+- Trigger Camunda processes from other Apify events - see [Webhooks](/integrations/webhooks)
+- Explore other workflow integrations - see [Integrations](/integrations)
+
+If you have any questions or need help, reach out on the [Apify developer community on Discord](https://discord.com/invite/jyEM2PRvMU).