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 allows you to create a new contact in the ChatWoot system. It is useful for automating the addition of contacts into your ChatWoot account, such as when integrating with CRM systems, lead capture forms, or customer support workflows. For example, when a new user signs up on your website, this node can automatically add their details as a contact in ChatWoot to facilitate communication and tracking.
Properties
| Name | Meaning |
|---|---|
| Account Id | The numeric ID of the ChatWoot account where the contact will be created. |
| Inbox Id | The numeric ID of the inbox within the account to which the contact belongs. |
| Name | The name of the contact. |
| The email address of the contact. | |
| Phone Number | The phone number of the contact. |
| Avatar | Binary data representing the avatar image of the contact (sent as form data). |
| Avatar Url | URL pointing to an image file (jpeg, png) to use as the contact's avatar. |
| Identifier | A unique identifier for the contact in an external system, useful for synchronization purposes. |
| Custom Attributes | A JSON object containing custom key-value pairs to store additional attributes about the contact. |
Output
The node outputs JSON data representing the newly created contact as returned by the ChatWoot API. This typically includes the contact's ID, name, email, phone number, avatar information, and any custom attributes set. If an avatar image is provided as binary data, it is uploaded accordingly but not outputted as binary data from the node.
Dependencies
- Requires an API key credential for authenticating with the ChatWoot API.
- The base URL of the ChatWoot instance must be configured in the credentials.
- The node uses the ChatWoot REST API to perform the contact creation.
Troubleshooting
- Missing required fields: Ensure that
Account IdandInbox Idare provided and valid numeric values; these are mandatory. - Invalid API credentials: Authentication errors may occur if the API key or base URL is incorrect or missing.
- Avatar upload issues: When sending avatar images, ensure the binary data is correctly attached or the avatar URL is accessible and points to a valid image.
- JSON parsing errors: The
Custom Attributesfield expects a valid JSON string; invalid JSON will cause errors. - API rate limits or network errors: These can cause request failures; check connectivity and API usage limits.