Actions11
- Actor Actions
- Actor Task Actions
- Actor Run Actions
- Dataset Actions
- Key-Value Store Actions
Actor → Run an Actor
AI-generatedOverview
This node allows users to run an Actor on the Apify platform. It is useful for automating web scraping, data extraction, and other automation tasks by executing predefined Actors. Users can specify the Actor to run, provide custom JSON input, set memory limits, timeout, and choose whether to wait for the Actor run to finish before continuing the workflow.
Use Case Examples
- Running a web scraping Actor to extract data from a website and wait for the run to complete before processing the results.
- Triggering an automation Actor with custom input JSON to perform a specific task and continue the workflow immediately without waiting for completion.
Properties
| Name | Meaning |
|---|---|
| Actor Source | Choose whether to select from recently used Actors or browse Apify Store to pick an Actor to run. |
| Actor | The Actor ID or a tilde-separated username and Actor name to run. Can be selected from a list, by URL, or by ID. |
| Input JSON | Custom JSON input for the Actor run. If empty, the default input configuration for the Actor is used. |
| Wait for Finish | Whether to wait for the Actor run to finish before continuing the workflow. If true, the node waits for the run to complete (successfully or not). |
| Timeout | Optional timeout for the Actor run in seconds. If not set, the default timeout configuration for the Actor is used. |
| Memory | Memory limit for the Actor run in megabytes. Options range from 128 MB to 32 GB. Defaults to 1024 MB if not specified. |
| Build Tag | Specifies the Actor build tag to run. Defaults to the build specified in the default run configuration (typically 'latest'). |
| Authentication | Choose the authentication method to use for the Apify API: API Key or OAuth2. |
Output
JSON
runId- The unique identifier of the Actor run.status- The status of the Actor run (e.g., running, succeeded, failed).output- The output data produced by the Actor run, if available.startedAt- Timestamp when the Actor run started.finishedAt- Timestamp when the Actor run finished, if applicable.
Dependencies
- Requires Apify API access with either an API key or OAuth2 authentication.
Troubleshooting
- Common issues include invalid Actor ID or URL, which will cause validation errors. Ensure the Actor ID or URL is correctly formatted.
- Timeout errors may occur if the Actor run exceeds the specified or default timeout. Adjust the timeout setting accordingly.
- Memory limit errors can happen if the Actor requires more memory than specified. Increase the memory limit if needed.
- Authentication failures may occur if the API key or OAuth2 token is invalid or expired. Verify credentials and reauthenticate if necessary.
Links
- Apify Actors Documentation - Official documentation on running Actors on Apify platform.
- Apify Console - Actors - Web console to manage and run Actors on Apify.