Productive icon

Productive

Interact with the Productive API

Actions508

Attachments → Gets a attachment

AI-generated

Summary

Retrieve a single attachment associated with a specified task in Productive by providing the task ID.

Inputs

  • Task ID (required) — The unique identifier of the task whose attachment you want to fetch.

Output shape

a single attachment object containing the attachment details fetched from Productive for the specified task ID.

The output corresponds to the attachment retrieved for the given task ID. Errors during retrieval are handled depending on the node's continueOnFail setting, and any errors will appear as JSON with an error message.

Examples

Example 1: Fetch the attachment of a task when you know the task's unique ID.

Set the 'Task ID' parameter to the specific task's ID to get its attachment.

Discussion