Actions76
- Message Actions
- Chat Actions
- Contact Actions
- Group Actions
- Create
- List
- Get
- Delete
- Join
- Get Join Info
- Leave
- Get Picture
- Set Picture
- Delete Picture
- Update Subject
- Update Description
- Get Security Info Admin Only
- Set Security Info Admin Only
- Get Security Messages Admin Only
- Set Security Messages Admin Only
- Get Participants
- Add Participant
- Remove Participant
- Promote Admin
- Demote Admin
- Status Actions
- Channel Actions
- Poll Actions
- Profile Actions
- LID Actions
- File Actions
Overview
This node allows updating a contact's information in the WhatsApp phone book via the Wappfy API. It is useful when you want to programmatically modify contact details such as the first and last name associated with a specific contact ID or phone number.
Typical use cases include:
- Synchronizing contact information from an external CRM or database into WhatsApp contacts.
- Correcting or enriching contact names automatically based on other data sources.
- Automating updates of contact details in bulk workflows.
For example, you can update a contact's first name and optionally their last name by providing the contact's unique ID or phone number.
Properties
| Name | Meaning |
|---|---|
| Contact ID | The unique identifier or phone number of the contact to update. |
| First Name | The new first name to assign to the contact (required). |
| Last Name | The new last name to assign to the contact (optional). |
Output
The node outputs the JSON response returned by the Wappfy API after attempting to update the contact. This typically includes confirmation of the update or details about the updated contact.
The output structure is:
{
"json": {
// Response object from the API representing the updated contact or status
}
}
No binary data is produced by this operation.
Dependencies
Requires an active Wappfy API credential configured in n8n, including:
- Base URL of the Wappfy API instance.
- Instance name.
- API key for authentication.
The node makes HTTP requests to the Wappfy API endpoints to perform the update.
Troubleshooting
Common issues:
- Invalid or missing Contact ID: Ensure the contact identifier or phone number is correct and exists in the WhatsApp phone book.
- Missing required fields: The "First Name" property must be provided; otherwise, the API may reject the request.
- Authentication errors: Verify that the API key and instance name are correctly set in credentials.
- Network or API endpoint errors: Check connectivity and that the Wappfy API service is operational.
Error messages:
- Errors from the API will be returned in the node output if "Continue On Fail" is enabled.
- Typical error messages might indicate invalid parameters, unauthorized access, or resource not found.
- To resolve, verify input values, credentials, and API availability.
Links and References
- Wappfy API Documentation (example link, replace with actual)
- n8n documentation on HTTP Request Node for understanding API calls
- WhatsApp Business API references for contact management concepts