Actions37
- Message Actions
- Media Actions
- Contact Actions
- Group Actions
- Instance Actions
- Webhook Actions
Overview
This node integrates with the Uazapi WhatsApp API to manage WhatsApp contacts and retrieve contact information. Specifically, the Get Contact Info operation fetches detailed information about a WhatsApp contact based on their phone number.
Common scenarios where this node is beneficial include:
- Retrieving profile details of a WhatsApp user before sending messages.
- Verifying contact existence and status in WhatsApp automation workflows.
- Enriching customer data by fetching up-to-date contact info from WhatsApp.
Practical example:
- You have a CRM workflow that triggers when a new lead is added. Before sending a WhatsApp message, you use this node to get the contact's WhatsApp profile info to personalize the message or verify the contact is valid.
Properties
| Name | Meaning |
|---|---|
| Phone Number | The WhatsApp phone number including country code (e.g., 5511999999999) to identify the contact. |
| Additional Fields | Optional extra parameters (none specifically used for this operation). |
Output
The output JSON contains the response from the Uazapi API endpoint /v1/contacts/info. This typically includes detailed contact information such as:
- Contact name
- WhatsApp ID or number
- Profile details (if available)
- Status or presence information
The exact structure depends on the API response but generally provides comprehensive contact metadata.
No binary data output is produced by this operation.
Dependencies
- Requires an active Uazapi WhatsApp API account with valid credentials:
- An API key credential for authentication.
- API token and instance ID configured in the node credentials.
- The node sends requests to the Uazapi API base URL specified in credentials.
- Network access to the Uazapi service endpoint is necessary.
Troubleshooting
Common issues:
- Invalid or missing phone number format: Ensure the phone number includes the country code without symbols or spaces.
- Authentication errors: Verify that the API key, token, and instance ID are correctly set in credentials.
- API rate limits or service downtime may cause request failures.
Error messages:
"Unknown resource": Indicates the resource parameter is incorrect; ensure "contact" is selected.- HTTP 401 Unauthorized: Check API credentials.
- HTTP 404 Not Found: The contact number might not exist on WhatsApp or is incorrectly formatted.
To resolve errors, confirm all input parameters, credentials, and network connectivity.
Links and References
- Uazapi Official Documentation (for API endpoints and contact info structure)
- n8n Documentation on Creating Custom Nodes