Actions101
- š¤ Chatting Actions
- š„ļø Sessions Actions
- š Auth Actions
- š¼ļø Screenshot Actions
- š¢ Channels Actions
- š¢ Status Actions
- š¬ Chats Actions
- š¤ Contacts Actions
- š„ Groups Actions
- ā Presence Actions
- š·ļø Labels Actions
- š Observability Actions
Overview
This node sends a file to a specified chat session in a messaging platform. It is useful for automating the process of sharing media files such as images, documents, or videos within chat conversations. For example, it can be used to send promotional images to customers or share reports in a team chat automatically.
Use Case Examples
- Sending a product image to a customer chat session.
- Sharing a PDF report file in a team group chat.
Properties
| Name | Meaning |
|---|---|
| Session | The chat session identifier where the file will be sent. |
| Chat Id | The identifier of the chat recipient to whom the file will be sent. |
| File | The file object containing mimetype, filename, and URL of the file to be sent. |
| Reply To | Optional message ID to which this file message is a reply. |
| Caption | Optional caption text to accompany the file. |
| Request Options | Additional settings for the request such as batching, SSL handling, proxy, and timeout. |
Output
JSON
sentFile- Details of the sent file message including status and metadata.
Dependencies
- Requires an API key credential or authentication token to access the messaging platform API.
Troubleshooting
- Ensure the session and chatId are valid and active to avoid message delivery failures.
- Verify the file URL is accessible and the mimetype is supported by the platform.
- If SSL errors occur, consider enabling the 'Ignore SSL Issues' option or check proxy settings.
- Timeout errors may require increasing the timeout setting or checking network connectivity.