Apify icon

Apify

Apify API

Overview

This node integrates with the Apify API to create datasets. It allows users to specify a custom unique name for the dataset, which helps in easily identifying it later. The node supports an option to use a custom request body if needed, providing flexibility for advanced use cases. This node is beneficial for automating data collection and storage workflows where datasets need to be programmatically created and managed.

Use Case Examples

  1. Creating a dataset named 'eshop-items' to store e-commerce product data.
  2. Using a custom request body to create a dataset with specific configurations not covered by default parameters.

Properties

Name Meaning
Name Custom unique name to easily identify the dataset in the future.
Use Custom Body Whether to use a custom body for the dataset creation request.

Output

JSON

  • id - Unique identifier of the created dataset.
  • name - Name of the created dataset.
  • createdAt - Timestamp when the dataset was created.
  • modifiedAt - Timestamp when the dataset was last modified.
  • actorId - Identifier of the actor associated with the dataset.
  • defaultKeyValueStoreId - Identifier of the default key-value store linked to the dataset.

Dependencies

  • Requires Apify API credentials for authentication.

Troubleshooting

  • Ensure the Apify API credentials are correctly configured and valid to avoid authentication errors.
  • Verify that the dataset name is unique to prevent conflicts or errors from the API.
  • If using a custom body, ensure the JSON structure is valid and matches the API requirements to avoid request failures.

Links

Discussion