Apify icon

Apify

Access Apify tools for web scraping, data extraction, and automation.

Actor → Run an Actor and Get Dataset

AI-generated

Overview

This node allows users to run an Actor on the Apify platform and retrieve the resulting dataset. It is useful for automating web scraping, data extraction, and other automation tasks by executing predefined Actors and obtaining their output data. For example, a user can run a web scraper Actor to collect product prices from an e-commerce site and then get the scraped data as a dataset for further processing.

Use Case Examples

  1. Run a web scraping Actor to collect data from a website and retrieve the dataset for analysis.
  2. Execute an automation Actor to process data and get the output dataset for reporting.

Properties

Name Meaning
Actor Source Choose whether to select the Actor from recently used Actors or browse the Apify Store.
Actor The ID or tilde-separated username and Actor name identifying the Actor to run. Can be selected from a list, by URL, or by ID.
Input JSON JSON input configuration for the Actor run. If empty, the Actor uses its default input configuration.
Timeout Optional timeout for the Actor run in seconds. If not set, the default timeout configured for the Actor is used.
Memory Memory limit for the Actor run in megabytes. Defaults to the Actor's default memory setting if not specified.
Build Tag Specifies the Actor build tag to run. Defaults to the build specified in the Actor's default run configuration, typically 'latest'.
Authentication Choose the authentication method to use for the Apify API, either API Key or OAuth2.

Output

JSON

  • runId - The unique identifier of the Actor run.
  • datasetItems - The dataset items produced by the Actor run, containing the extracted or processed data.

Dependencies

  • Apify API key or OAuth2 credentials for authentication

Troubleshooting

  • Ensure the Actor ID or URL is valid and accessible with the provided credentials.
  • If the Actor run times out, consider increasing the timeout value or checking the Actor's default timeout settings.
  • Verify that the memory limit set is supported by the Actor and the Apify platform.
  • Authentication errors may occur if the API key or OAuth2 token is invalid or expired; refresh credentials as needed.

Links

Discussion