Antony REST icon

Antony REST

Call known Antony REST API operations

Actions159

Chat → Download Chat Attachment

AI-generated

Summary

Download a chat attachment file from a specified chat within the Antony system, returning the file as binary data in the workflow.

Inputs

  • Chat ID (required) — The identifier of the chat from which to download the attachment.
  • File ID (required) — The identifier of the file attachment to download from the chat.
  • Put Output In Binary Property (required) — The name of the binary property where the downloaded file data will be stored in the output item.

Output shape

A single output item per input item containing a JSON object with success status and a binary property holding the downloaded file data.

The operation returns binary data representing the chat attachment file, placed in a binary property named as specified by the user input. The output item also includes a JSON property with a success flag set to true. This operation processes each input item independently and returns one output item per input item.

Examples

Example 1: Download a file attached to chat with ID 'abc123' and file ID 'file456', storing the file in the binary property 'data'.

Set Chat ID to 'abc123', File ID to 'file456', and Put Output In Binary Property to 'data'.

Links

Discussion