MegaAPI icon

MegaAPI

Interact with MegaAPI WhatsApp service

Chatwoot → Sync Contact

AI-generated

Overview

This node operation synchronizes a contact with Chatwoot by finding or creating a contact using a phone number. It is useful for integrating WhatsApp contacts into Chatwoot for unified customer communication management. For example, it can be used to automatically add or update contacts in Chatwoot when new WhatsApp contacts are detected.

Use Case Examples

  1. Automatically sync WhatsApp contacts to Chatwoot for customer support.
  2. Create or update Chatwoot contacts based on incoming WhatsApp messages.

Properties

Name Meaning
Chatwoot Account ID The Chatwoot account ID where the contact will be synchronized.
Chatwoot Inbox ID The Chatwoot inbox ID where the contact will be associated.
Phone Number The phone number of the contact (with or without country code).
Contact Name The name of the contact (optional, defaults to 'Unknown' if not provided).

Output

JSON

  • id - The unique identifier of the synchronized contact in Chatwoot.
  • name - The name of the contact.
  • phone_number - The phone number of the contact.
  • status - The synchronization status or result message.

Dependencies

  • Requires Chatwoot API access with appropriate credentials to perform contact synchronization.

Troubleshooting

  • Common issues include invalid or missing Chatwoot Account ID or Inbox ID, which will prevent contact synchronization.
  • Incorrect phone number format may cause failure to find or create the contact.
  • API authentication errors if credentials are not properly configured.
  • Error messages typically indicate missing required parameters or API communication failures; ensure all required fields are correctly set and API credentials are valid.

Links

Discussion