Actions12
Mensagem → Enviar Documento
AI-generatedOverview
This node integrates with the ZapClass API to send WhatsApp messages, specifically supporting the operation to send documents to a recipient's phone number. It is useful for automating the delivery of various document types (TXT, XLS, XLSX, DOC, DOCX, PPT, PPTX, PDF up to 100 MB) along with an optional accompanying message. Practical applications include sending contracts, proposals, reports, or any official documents directly via WhatsApp with additional options like delay, forwarding, mentions, and read receipts.
Use Case Examples
- Sending a PDF contract to a client with a personalized message.
- Automating the delivery of monthly reports in Excel format to a team.
- Forwarding a presentation document to multiple recipients with mentions.
Properties
| Name | Meaning |
|---|---|
| Number | Recipient's phone number in international format (DDI + DDD + number), required to specify the message destination. |
| File | URL or Base64 encoded document to send (supports TXT, XLS, XLSX, DOC, DOCX, PPT, PPTX, PDF up to 100 MB), required to specify the document content. |
| Message | Optional text message accompanying the document, supporting text, emojis, and special characters. |
| Additional Options | Collection of optional settings to customize the message sending behavior, including delay before sending, filename, forwarding flag, mentions, message tracking IDs, source identifier, and read receipt controls. |
Output
JSON
sentMessage- Details of the sent message including status and metadata returned by the ZapClass API.
Dependencies
- ZapClass API
Troubleshooting
- Ensure the recipient number is in the correct international format to avoid delivery failures.
- Verify the document URL or Base64 string is valid and accessible; unsupported or corrupted files may cause errors.
- Check API credentials and permissions if authentication errors occur.
- If the message is not sent, verify that the operation and resource parameters are correctly set to 'Enviar Documento' and 'Mensagem' respectively.