Actions21
- Message Actions
- Group Actions
- Chat Actions
- Contact Actions
Overview
This node interacts with the Green API Enhanced service to manage WhatsApp contacts. Specifically, the 'Get Contacts' operation retrieves a list of contacts or groups from the WhatsApp account associated with the provided credentials. It is useful for scenarios where users need to fetch contact information for automation workflows, such as sending messages to specific contacts or managing contact lists.
Use Case Examples
- Retrieve all contacts to display in a dashboard.
- Fetch only contact groups to manage group messaging.
- Limit the number of contacts retrieved for performance optimization.
Properties
| Name | Meaning |
|---|---|
| Group Only | Whether to only show groups in the contact list. |
| Count | Number of contacts to return; 0 means return all contacts. |
Output
JSON
result- The list of contacts or groups retrieved from the WhatsApp account.
Dependencies
- Requires Green API credentials including instance ID and API token for authentication.
Troubleshooting
- Common issues include invalid or expired API credentials, which will cause authentication failures.
- If the 'Count' parameter is set incorrectly (e.g., negative number), the node may return an error or unexpected results.
- Network connectivity issues can prevent the node from reaching the Green API service, resulting in timeouts or errors.
Links
- Green API Official Website - Official site for Green API, providing documentation and API details.