Superchat icon

Superchat

Receive and send messages from WhatsApp, Instagram, Messenger, E-Mail, SMS, via Live Chat and Telegram.

File → Download File

AI-generated

Overview

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

  1. Downloading a user-uploaded image file by its File ID to save it locally or process it further.
  2. 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

Discussion