Actions7
Overview
This node, named "Uzapi," integrates with the Uzapi API to send WhatsApp messages. It is designed to facilitate sending text and other types of messages through WhatsApp by interacting with the Uzapi service. Common use cases include automating customer notifications, sending alerts, or delivering marketing messages via WhatsApp.
For example, a user can configure this node to send a plain text message to a specified phone number with country code (DDI). This makes it useful for workflows that require direct communication with customers or users on WhatsApp without manual intervention.
Properties
Name | Meaning |
---|---|
Número (com DDI) | Destination phone number including country code, e.g., 5511999998888 |
Texto | The text message content to be sent |
These properties are used when performing the "Enviar Texto" operation, where the user specifies the recipient's full phone number and the message text.
Output
The node outputs data in JSON format representing the response from the Uzapi API after attempting to send the message. The exact structure depends on the API response but typically includes information about the message status, any errors, and identifiers related to the sent message.
If the node supports sending other media types (as hinted by other operations), it may also handle binary data, but for the "Enviar Texto" operation, the output is primarily JSON confirming the message delivery attempt.
Dependencies
- Requires an API key credential for authenticating with the Uzapi API.
- Needs the base URL of the Uzapi API endpoint configured in the credentials.
- Depends on the
ApiClient
class (from the bundled source) to handle HTTP requests to the Uzapi service. - Uses internal operation mappings to route execution logic based on the selected operation.
Troubleshooting
- Operation Not Implemented Error: If an unsupported operation name is provided, the node throws an error indicating the operation is not implemented. Ensure the operation name matches one of the supported ones like "sendtext".
- Authentication Failures: Missing or invalid API credentials will cause authentication errors. Verify that the API key and base URL are correctly set in the node credentials.
- Invalid Phone Number Format: The phone number must include the country code (DDI) without spaces or special characters. Incorrect formatting may lead to message delivery failures.
- API Response Errors: Any errors returned by the Uzapi API (e.g., rate limits, invalid parameters) will be passed through in the output. Review the API documentation for error codes and handling.
Links and References
- Uzapi Official Website (for API documentation and account setup)
- WhatsApp Business API documentation (general reference for message formats and limitations)