Actions20
- User Actions
- Contact Actions
- Message Actions
- Conversation Actions
- Note Actions
- File Actions
File → Create File
AI-generatedOverview
This node operation allows users to create/upload a file by providing binary file data. It is useful in scenarios where files need to be programmatically uploaded or created within a workflow, such as attaching files to messages, storing documents, or processing file uploads automatically.
Use Case Examples
- Uploading a user profile picture from binary data.
- Creating a document file from binary input for storage or further processing.
Properties
| Name | Meaning |
|---|---|
| Input Data Field Name | The name of the input field containing the binary file data to be uploaded |
Output
JSON
id- The unique identifier of the created filename- The name of the created filesize- The size of the created file in bytesmimeType- The MIME type of the created fileurl- The URL or path where the created file can be accessed
Dependencies
- Requires an API key credential for authentication with the Superchat API service.
Troubleshooting
- Ensure the binary data field name matches the input property name exactly; otherwise, the file data will not be found.
- Check that the binary data provided is valid and correctly formatted as a file.
- Verify that the API credentials are correctly set up and have permissions to create files.
- Common error messages may include authentication failures, missing binary data, or invalid file format errors. Resolving these involves verifying credentials, input data, and file format compatibility.
Links
- Superchat API Documentation - Official documentation for the Superchat API, including file operations.