Actions113
- 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
- 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
Overview
This node interacts with the ChatWoot API to retrieve a specific custom attribute associated with an account. It is useful when you need to fetch metadata or additional information stored as custom attributes on accounts within ChatWoot, such as user preferences, tags, or other custom data points.
A practical example would be automating workflows that require checking an account’s custom attribute before deciding the next action, like routing conversations based on customer type or status stored in these attributes.
Properties
| Name | Meaning |
|---|---|
| Account Id | The numeric ID of the account for which the custom attribute should be retrieved. |
| Attribute Model | Specifies the type of attribute to fetch: 0 for conversation attribute, 1 for contact attribute. |
Output
The node outputs JSON data representing the requested custom attribute of the specified account. This typically includes the attribute's key, value, and related metadata as returned by the ChatWoot API.
No binary data output is involved.
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.
- Uses the ChatWoot REST API endpoint to query account custom attributes.
Troubleshooting
- Invalid Account Id: If the provided account ID does not exist or is incorrect, the API will return an error. Verify the account ID is correct.
- Authentication Errors: Missing or invalid API credentials will cause authentication failures. Ensure the API key and base URL are correctly set in the node credentials.
- Attribute Model Mismatch: Selecting the wrong attribute model (conversation vs. contact) may result in no data found. Confirm the attribute model matches the type of attribute you want to retrieve.
- API Rate Limits: Excessive requests might trigger rate limiting. Implement retry logic or reduce request frequency if needed.