Actions21
- Message Actions
- Group Actions
- Chat Actions
- Contact Actions
Message → Upload File
AI-generatedOverview
This node operation uploads a file to the Green API cloud storage for WhatsApp messaging. It is useful when you want to store a file in the cloud before sending it via WhatsApp or managing it through the Green API platform. For example, you can upload images, documents, or other media files from your local system to the cloud storage to be used later in WhatsApp messages.
Use Case Examples
- Uploading a product image to cloud storage to send it later in a promotional WhatsApp message.
- Uploading a PDF document to cloud storage for sharing with customers via WhatsApp.
Properties
| Name | Meaning |
|---|---|
| File Path | Path to the file on your system to be uploaded to the cloud storage. |
Output
JSON
id- Identifier of the uploaded file returned by the Green API.url- URL of the uploaded file in the Green API cloud storage.name- Name of the uploaded file.
Dependencies
- Green API credentials including instance ID and API token for authentication.
Troubleshooting
- File read errors if the specified file path is incorrect or inaccessible. Ensure the file path is correct and the file is accessible by the node.
- API request failures due to invalid credentials or network issues. Verify the Green API credentials and network connectivity.
- Errors related to file upload such as unsupported file types or size limits imposed by the Green API.
Links
- Green API Documentation - Official documentation for Green API including file upload endpoints and usage.