Apify icon

Apify

Apify API

Overview

This node interacts with the Apify API to retrieve the input configuration of a specific Actor Task. It is useful for scenarios where you need to programmatically access the input data of an Apify Actor Task, such as for automation, monitoring, or integration purposes. For example, you might use this node to fetch the input of a web scraping task to verify or modify it before execution.

Use Case Examples

  1. Fetching the input configuration of a scheduled web scraping task to audit or update parameters.
  2. Integrating with a workflow that triggers based on the input data of an Apify Actor Task.

Properties

Name Meaning
Actor Task ID Specifies the ID or a tilde-separated owner's username and task's name to identify the Actor Task whose input is to be retrieved. It supports multiple input modes including selecting from a list, providing a URL, or directly entering the ID.
Use Custom Body A boolean flag indicating whether to use a custom request body when making the API call. This is optional and defaults to false.

Output

JSON

  • input - The input configuration of the specified Actor Task as returned by the Apify API.

Dependencies

  • Requires an Apify API key credential to authenticate requests to the Apify API.

Troubleshooting

  • Ensure the Actor Task ID is valid and correctly formatted according to the selected input mode.
  • If using the URL mode, verify the URL matches the expected pattern 'https://console.apify.com/actors/tasks/{taskId}'.
  • Check that the Apify API credential is correctly configured and has the necessary permissions to access the Actor Task input.
  • Common errors may include authentication failures, invalid task IDs, or network issues. Verify credentials, input values, and network connectivity to resolve these.

Links

  • Apify Actor Tasks API - Official Apify API documentation for managing Actor Tasks, including retrieving task input.

Discussion