Actions26
- Message Actions
- Group Actions
- Interactive Actions
- Chat Actions
- Instance Actions
Overview
This node interacts with the Uniteds WhatsApp API to manage WhatsApp chats and retrieve messages. Specifically, the 'Get Messages' operation fetches a list of messages from a specified chat within a WhatsApp instance. This is useful for scenarios where you want to automate the retrieval of chat history or monitor conversations programmatically, such as for customer support or analytics.
Use Case Examples
- Retrieve the last 50 messages from a customer support chat to analyze conversation trends.
- Fetch messages from a specific chat to display chat history in a custom dashboard.
Properties
| Name | Meaning |
|---|---|
| Instance ID | The ID of the WhatsApp instance to connect to and retrieve messages from. |
| Chat ID | The unique identifier of the chat from which to retrieve messages. |
| Limit | The maximum number of messages to retrieve from the specified chat. |
Output
JSON
messages- An array of message objects retrieved from the specified chat.
Dependencies
- Uniteds WhatsApp API
Troubleshooting
- Ensure the provided Instance ID and Chat ID are correct and exist in the WhatsApp instance.
- Check that the API credentials are valid and have the necessary permissions to access chat messages.
- If the node returns an error, verify the network connectivity to the Uniteds WhatsApp API endpoint.
- The 'Limit' parameter should be a positive number; otherwise, the API may reject the request.
Links
- Uniteds WhatsApp API Documentation - Official API documentation for Uniteds WhatsApp, useful for understanding available endpoints and parameters.
