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
Conversation Labels → Conversation Add Labels
AI-generatedOverview
This node integrates with the ChatWoot API to add labels to a specific conversation within an account. It is useful for categorizing or tagging conversations automatically based on certain criteria, which helps in organizing and filtering conversations in customer support workflows.
For example, you might use this node to tag conversations as "urgent," "billing," or "technical issue" after analyzing the conversation content or metadata in previous workflow steps.
Properties
| Name | Meaning |
|---|---|
| Account Id | The numeric ID of the ChatWoot account where the conversation exists. |
| Conversation Id | The numeric ID of the conversation to which labels will be added. |
| Labels | An array of label strings to add to the conversation. These are comma-separated strings. |
Output
The node outputs JSON data representing the response from the ChatWoot API after adding the labels to the conversation. This typically includes confirmation of the updated conversation details, including the newly added labels.
If the API supports binary data (e.g., attachments), it would be handled accordingly, but based on the provided code and properties, the output focuses on JSON responses related to conversation labeling.
Dependencies
- Requires an active connection to the ChatWoot API.
- Needs an API authentication token configured in the node credentials.
- The base URL for the ChatWoot instance must be set in the credentials.
- The node uses the
@devlikeapro/n8n-openapi-nodepackage to build request properties from the OpenAPI specification.
Troubleshooting
- Invalid Account or Conversation ID: Ensure that the numeric IDs provided correspond to existing entities in your ChatWoot instance.
- Labels Format Error: The labels property expects a JSON array of strings. Invalid JSON or incorrect formatting may cause errors.
- Authentication Errors: Verify that the API key or token is correctly configured and has sufficient permissions.
- Network Issues: Check connectivity to the ChatWoot server and ensure the base URL is correct.
- API Rate Limits: If many requests are made in a short time, the API might throttle requests; handle such errors by retrying after some delay.