Actions20
- User Actions
- Contact Actions
- Message Actions
- Conversation Actions
- Note Actions
- File Actions
File → Download File
AI-generatedOverview
This node operation downloads a file from the Superchat platform using a specified File ID. It is useful in scenarios where you need to retrieve and use the binary data of a file stored in Superchat, such as downloading attachments, images, or documents for further processing or storage.
Use Case Examples
- Downloading a user-uploaded image file by its File ID to save it locally or process it further.
- Retrieving a document file from Superchat to attach it to an email or another system.
Properties
| Name | Meaning |
|---|---|
| File ID | The unique identifier of the file to download, which starts with 'fi_'. |
| Put Output In Field | The name of the output field where the binary file data will be stored. |
Output
Binary
Contains the binary data of the downloaded file, stored in the field specified by the 'Put Output In Field' property.
JSON
id- The ID of the downloaded file.name- The name of the downloaded file.mimeType- The MIME type of the downloaded file.
Dependencies
- Requires an API key credential for Superchat to authenticate and authorize the file download request.
Troubleshooting
- Ensure the File ID is correct and starts with 'fi_'.
- Check that the API key credential is valid and has permissions to access the file.
- If the file does not exist or has been deleted, the node will throw an error.
- Network issues or API downtime can cause download failures; retry or check connectivity.
Links
- Superchat API Documentation - Official documentation for Superchat API, including file operations.