Wasapi icon

Wasapi

Integration oficial of Wasapi API for n8n

Overview

The node integrates with the Wasapi API to update contact information on WhatsApp. It allows users to modify details such as the WhatsApp number, name, email, phone number, notes, labels, and custom fields of a contact. This is useful in scenarios where contact data needs to be kept current or enriched automatically from other systems, for example updating customer records after a support interaction or syncing CRM data.

Properties

Name Meaning
WhatsApp Number The WhatsApp phone number of the contact to update. Must include the country code without spaces (e.g., 573102938401).
First Name The first name of the contact.
Last Name The last name of the contact.
Email Address The email address of the contact.
Phone Number The phone number of the contact.
Notes Additional notes about the contact.
Labels Names or IDs Labels to assign to the contact. Users can select from a list or specify label IDs via expressions.
Custom Fields Custom fields to assign to the contact. Multiple custom fields can be specified, each requiring a field name or ID and a corresponding value. Field names/IDs can be selected from a list or specified via expressions.

Output

The node outputs JSON data representing the updated contact information as returned by the Wasapi API. This typically includes the contact's identifiers, updated fields, and metadata confirming the update operation. The node does not output binary data.

Dependencies

  • Requires an API key credential for authenticating with the Wasapi API.
  • The base URL for API requests is https://api-ws.wasapi.io/api/v1.
  • Uses helper methods to load options dynamically for labels, custom fields, and WhatsApp numbers.
  • No additional external dependencies beyond the Wasapi API and n8n environment.

Troubleshooting

  • Invalid WhatsApp Number Format: Ensure the WhatsApp number includes the country code and contains no spaces or special characters.
  • Missing Required Fields: The WhatsApp Number, First Name, and Phone Number are required. Omitting these will cause errors.
  • API Authentication Errors: Verify that the API key credential is correctly configured and has necessary permissions.
  • Label or Custom Field Not Found: When specifying labels or custom fields, ensure they exist in the Wasapi system or use valid IDs.
  • Unsupported Resource or Operation: If the node throws an error about unsupported resource-operation combinations, verify you are using "Contact" as resource and "Update" as operation.

Links and References

Discussion