Actions18
- Administração Actions
- Instancia Actions
- Perfil Actions
- Webhooks e SSE Actions
- Enviar Mensagem Actions
Overview
This node integrates with the unofficial uazapiGO API to manage WhatsApp instances and send messages. It supports various operations such as creating and managing WhatsApp instances, updating profiles, configuring webhooks, and sending text or media messages.
The "Enviar mensagem de texto" operation under the "Enviar Mensagem" resource allows users to send customized text messages to WhatsApp contacts or groups using a specified instance token and API URL.
Common scenarios:
- Automating WhatsApp notifications or alerts to customers.
- Sending personalized marketing messages with link previews or mentions.
- Integrating WhatsApp messaging into workflows without manual intervention.
Practical example:
A business can use this node to send order status updates via WhatsApp by specifying the recipient's international phone number, message content, and optional customizations like replying to a previous message or including a link preview.
Properties
| Name | Meaning |
|---|---|
| Url | Base URL of the uazapiGO API (default: https://api.uazapigo.com). |
| Token da Instância | Authentication token for the specific WhatsApp instance (not a credential). |
| Número do Destinatário | Recipient's phone number in international format. |
| Texto da Mensagem | Content of the text message (also used as caption for media). |
| Personalizar Envio | Advanced options for customizing the text message sending, supporting multiple entries: |
| - Preview do link | Enable or disable link preview (boolean). |
| - Título do link | Title text for the link preview. |
| - Descrição do link | Description text for the link preview. |
| - Imagem do link | URL for the link preview image; can specify if the image is large (boolean). |
| - Responder mensagem | Message ID to reply to. |
| - Mencionar números | Phone numbers to mention in the message. |
| - Marcar como lida | Mark chat as read after sending (boolean). |
| - Delay | Delay in milliseconds before sending the message (number). |
| - Marcar como encaminhada | Mark message as forwarded (boolean). |
Output
The node outputs an array of JSON objects corresponding to each input item processed. Each output JSON contains the response from the uazapiGO API for the respective request.
For the "Enviar mensagem de texto" operation, the output JSON typically includes confirmation details about the sent message, such as message ID, status, or error information if the sending failed.
No binary data output is produced by this operation.
Dependencies
- Requires access to the uazapiGO API endpoint, configurable via the "Url" property.
- Needs a valid authentication token for the specific WhatsApp instance ("Token da Instância").
- Optional admin credentials may be required for administrative operations but not for sending messages.
- No additional external dependencies beyond standard HTTP requests.
Troubleshooting
- Missing or invalid token: The node requires a valid instance token to authenticate API requests. Ensure the token is correctly provided and active.
- Incorrect URL format: The base URL must be a valid HTTPS URL. Avoid including protocol twice; the node normalizes it internally.
- Invalid recipient number: The recipient number must be in international format. Invalid formats may cause API errors.
- API errors: If the API returns errors, check the message content and customization options for unsupported values.
- Network issues: Ensure the n8n environment has internet access to reach the uazapiGO API endpoint.
- Continue on Fail: If enabled, the node will continue processing subsequent items even if one fails, returning error details in the output JSON.
Links and References
- uazapiGO Official API Documentation (for detailed API usage and parameters)
- WhatsApp International Number Formatting Guide