Actions113
- Account Agent Bots Actions
- Agents Actions
- Canned Responses Actions
- Canned Response Actions
- Custom Attributes Actions
- Contacts Actions
- Contact Actions
- Automation Rule Actions
- Help Center Actions
- Conversations Actions
- Conversation Assignment Actions
- Conversation Labels Actions
- Inboxes Actions
- Messages Actions
- Integrations Actions
- Teams Actions
- Custom Filters Actions
- Webhooks Actions
- Reports Actions
- Accounts Actions
- Account Users Actions
- Agent Bots Actions
- Users Actions
- Inbox API Actions
- Contacts API Actions
- Conversations API Actions
- Messages API Actions
- CSAT Survey Page Actions
Overview
This node interacts with the Contacts API of ChatWoot to retrieve detailed information about a specific contact. It is useful when you need to fetch up-to-date data on a contact, such as their profile details or status, based on identifiers obtained from previous API calls or integrations.
Practical examples include:
- Fetching contact details to display in a CRM dashboard.
- Retrieving contact information before sending personalized messages.
- Synchronizing contact data between ChatWoot and other systems.
Properties
| Name | Meaning |
|---|---|
| Inbox Identifier | The unique identifier of the inbox channel where the contact exists, obtained via API. |
| Contact Identifier | The unique source ID of the contact, typically obtained when the contact was created. |
Output
The node outputs JSON data containing the detailed information of the specified contact. This includes all relevant fields returned by the ChatWoot Contacts API for that contact, such as name, email, phone number, status, and any custom attributes associated with the contact.
No binary data output is produced by this operation.
Dependencies
- Requires an API key credential for authenticating with the ChatWoot API.
- The base URL for the ChatWoot instance must be configured in the node credentials.
- The node depends on the ChatWoot REST API being accessible and the provided identifiers being valid.
Troubleshooting
- Invalid or missing identifiers: Ensure both the Inbox Identifier and Contact Identifier are correctly provided and correspond to existing entities in ChatWoot.
- Authentication errors: Verify that the API key credential is valid and has sufficient permissions.
- Network issues: Confirm that the ChatWoot server URL is reachable from the n8n environment.
- Unexpected API responses: Check if the contact still exists or if it has been deleted or archived.
Common error messages might include:
- "404 Not Found" indicating the contact or inbox does not exist.
- "401 Unauthorized" indicating invalid or missing authentication.
- "400 Bad Request" if required parameters are missing or malformed.
Resolving these usually involves verifying input values, credentials, and network connectivity.