Actions50
- Event Actions
- Message Actions
- Instance Actions
- Group Actions
- Community Actions
- Contact Actions
- Chat Actions
- Profile Actions
Overview
This node interacts with the Z-API service to perform operations related to WhatsApp chats. Specifically, the 'Read Messages' operation under the 'Chat' resource allows users to retrieve messages from a WhatsApp chat by specifying the phone number associated with the chat. This is useful for scenarios where you want to programmatically access chat messages for processing, analysis, or integration with other systems.
Use Case Examples
- Retrieve all messages from a specific WhatsApp chat by providing the phone number with country code.
- Use the node to monitor incoming messages in a chat for automated responses or logging.
Properties
| Name | Meaning |
|---|---|
| Phone Number | The phone number with country code to identify the WhatsApp chat from which messages will be read. |
Output
JSON
messages- An array or collection of messages retrieved from the specified WhatsApp chat.
Dependencies
- Requires an API key credential for Z-API to authenticate and interact with the WhatsApp service.
Troubleshooting
- Ensure the phone number is provided in the correct format including the country code, e.g., '5511999999999'.
- If the node fails, check that the Z-API credentials are correctly configured and valid.
- Common errors may include authentication failures or invalid phone numbers; verify credentials and input data accordingly.
Links
- Z-API Official Website - Official documentation and resources for the Z-API WhatsApp integration service.