Actions12
Overview
The "Enviar Lista" operation of the "Mensagem" resource in this node allows sending a structured list message through the Wazzap API. This type of message is useful for presenting users with multiple selectable options organized into sections, each containing rows with titles and optional descriptions. It is commonly used in chatbots or automated messaging systems to provide interactive menus, product catalogs, service options, or any scenario where users need to choose from a list of items.
For example, a business could send a menu of services divided into categories (sections), allowing customers to select a specific service by tapping on an option. Another use case is sending a list of frequently asked questions grouped by topic, enabling quick navigation.
Properties
| Name | Meaning |
|---|---|
| Nome Da Instância | The name of the instance that will send the list message. |
| Número Do Destinatário | The recipient's phone number or identifier to whom the list message will be sent. |
| Título Da Lista | The main title of the list message, displayed prominently at the top. |
| Descrição | A description text providing additional context or information about the list. |
| Texto Do Botão | The label text shown on the button that opens the list options (e.g., "Ver Opções"). |
| Texto Do Rodapé | Text displayed at the footer of the list message, often used for disclaimers or additional notes. |
| Seções | One or more sections within the list. Each section has: - Título Da Seção: Title of the section. - Linhas: Multiple rows/options, each with: - Título: Title of the row (required). - Descrição: Optional description. - ID Da Linha: Unique ID for the option. |
| Opções (options_message) | Additional message options: - Delay: Milliseconds delay before sending the message. - Responder Mensagem: Optionally reply to a specific message by its ID. - Menções: Mention participants; either all or specific numbers separated by commas. |
Output
The node outputs a JSON array containing the response from the Wazzap API after attempting to send the list message. The exact structure depends on the API but typically includes confirmation details such as message IDs, status, timestamps, or error information if the send failed.
If the node supports binary data output (not indicated here), it would represent media attachments or similar content related to the message.
Dependencies
- Requires an active connection to the Wazzap API service.
- Needs an API authentication credential configured in n8n to authorize requests.
- The node uses the base URL
https://doc.wazzap.mx/api-referencefor API calls. - Proper configuration of the instance name and recipient number is mandatory.
Troubleshooting
Common Issues:
- Invalid or missing instance name or recipient number will cause the message not to send.
- Incorrect formatting of sections or rows (e.g., missing required titles or IDs) may result in API errors.
- Delay values that are too low might cause timing issues in message delivery.
- Mentioning invalid or incorrectly formatted phone numbers can lead to failures or ignored mentions.
Error Messages:
"Operação não suportada."indicates the selected operation is not implemented or recognized; verify the resource and operation names.- API errors returned from Wazzap may include authentication failures, invalid parameters, or quota limits; check credentials and input data.
Resolution Tips:
- Double-check all required fields are filled correctly.
- Validate phone numbers and IDs follow expected formats.
- Ensure the API key or token is valid and has necessary permissions.
- Use the delay option to space out messages if sending multiple in sequence.
Links and References
- Wazzap API Documentation — Official API reference for message sending and other operations.
- n8n Documentation on Creating Custom Nodes — For understanding how nodes interact with APIs.
- General WhatsApp Business API guides for list messages (conceptual similarity).