Actions26
- Webhook Actions
- Session Actions
- User Actions
- Chat Actions
- Message Actions
Overview
The node "SteveChat" enables sending WhatsApp messages through the SteveChat API. Specifically, for the Message resource and Send Document operation, it allows users to send document files to a specified WhatsApp chat by providing the chat ID and a media URL pointing to the document. This is useful in scenarios where automated workflows need to share documents such as PDFs, spreadsheets, or other file types directly within WhatsApp conversations.
Practical examples include:
- Sending invoices or receipts automatically to customers after a purchase.
- Sharing reports or contracts with team members via WhatsApp.
- Distributing manuals or guides to clients without manual intervention.
Properties
| Name | Meaning |
|---|---|
| Chat ID | The unique identifier of the WhatsApp chat to which the document will be sent. |
| Media URL | The publicly accessible URL of the document file to send. |
| Caption | Optional text caption to accompany the document message. |
| Filename | Optional filename to assign to the document when sent (e.g., "document.pdf"). |
Output
The node outputs an array of JSON objects corresponding to each input item processed. Each output JSON contains the response from the SteveChat API after attempting to send the document message. The exact structure depends on the API response but generally includes status information about the message delivery.
No binary data output is indicated for this operation.
Dependencies
- Requires an active connection to the SteveChat API configured via an API key credential.
- The node expects the media file to be accessible via a public URL.
- Proper network access to the media URL and SteveChat API endpoints is necessary.
Troubleshooting
- Invalid Chat ID: If the chat ID format is incorrect or the chat does not exist, the API may return an error. Verify the chat ID matches the expected WhatsApp format.
- Media URL inaccessible: If the media URL is invalid or the file is not publicly accessible, the document cannot be sent. Ensure the URL is correct and reachable.
- Missing required properties: The node requires
chatIdandmediaUrl. Omitting these will cause errors. - API authentication errors: Ensure the API key credential is correctly set up and has sufficient permissions.
- Operation or Resource unsupported: Errors indicating unsupported operations or resources suggest misconfiguration; verify that "Message" resource and "Send Document" operation are selected.
Links and References
- WhatsApp Business API Documentation
- SteveChat API Documentation (replace with actual URL if available)