Actions100
- 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
Overview
This node retrieves the details of a single Agent Bot from the ChatWoot platform. It is useful in scenarios where you need to fetch and display information about a specific agent bot, such as for monitoring, reporting, or integrating bot data into other workflows. For example, you might use this node to get the configuration or status of an agent bot before updating it or to display its details in a dashboard.
Properties
| Display Name | Type | Description |
|---|---|---|
| Id | Number | The ID of the agentbot to be updated (required). |
- Id: This is a required numeric property. You must provide the unique identifier of the agent bot whose details you want to retrieve.
Output
The output will be a JSON object containing the details of the specified agent bot. The structure typically includes fields such as the bot's id, name, status, and other relevant metadata as provided by the ChatWoot API.
{
"id": 123,
"name": "SupportBot",
"status": "active",
// ...other agent bot properties
}
Note: The exact fields depend on the ChatWoot API response.
Dependencies
- External Service: Requires access to a ChatWoot instance.
- API Credentials: Needs valid
chatwootApicredentials configured in n8n, including the base URL (url) and authentication details. - n8n Configuration: Ensure that the ChatWoot API credentials are set up in your n8n instance.
Troubleshooting
- Missing or Invalid Id: If the provided Id does not correspond to an existing agent bot, the node may return an error or an empty result. Double-check the Id value.
- Authentication Errors: If credentials are missing or incorrect, you may encounter errors such as "401 Unauthorized" or "403 Forbidden." Verify your API key and URL.
- Connection Issues: Network problems or incorrect base URL can lead to connection errors. Ensure the ChatWoot instance is reachable from your n8n server.