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
- Webhooks Actions
- Teams Actions
- Custom Filters Actions
- Reports Actions
Overview
This node integrates with the Messages API of ChatWoot to create and send a new message within an existing conversation. It is useful in scenarios where automated messaging or chatbot interactions are required, such as customer support workflows, notification systems, or CRM integrations. For example, you can use this node to programmatically send replies to customers based on triggers or events in your workflow.
Properties
| Name | Meaning |
|---|---|
| Inbox Identifier | The unique identifier of the inbox channel where the message will be sent. |
| Contact Identifier | The source ID of the contact who is sending or receiving the message. |
| Conversation Id | The numeric ID of the conversation thread where the message belongs. |
| Content | The textual content of the message to be sent. |
| Echo Id | A temporary identifier that will be echoed back via websockets for tracking purposes. |
Output
The node outputs JSON data representing the response from the Messages API after creating the message. This typically includes details about the newly created message such as its ID, timestamps, content, sender information, and status. The output does not include binary data.
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 properly configured.
Troubleshooting
- Missing or invalid identifiers: Ensure that the Inbox Identifier, Contact Identifier, and Conversation Id are correct 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 n8n.
- Empty content: Sending a message without content may result in an error; always provide meaningful text in the Content property.
- Echo Id usage: If using Echo Id for websocket tracking, ensure your websocket client is set up to handle the echoed messages correctly.