ChatWoot icon

ChatWoot

Interact with ChatWoot API

Actions100

Overview

This node allows you to retrieve a specific canned response associated with an account from the ChatWoot platform. Canned responses are pre-defined replies that can be used to quickly respond to common customer queries, improving efficiency and consistency in support communications.

Common scenarios:

  • Fetching a particular canned response for use in automated workflows.
  • Integrating ChatWoot canned responses into other systems or processes.
  • Displaying or processing standard replies within n8n automations.

Example:
Automatically retrieving a canned response when a new ticket is created, so it can be sent as an initial reply.

Properties

Display Name Type Description Required
Account Id Number The numeric ID of the account. Yes

Output

The node outputs a json object containing the details of the requested canned response. The structure typically includes fields such as:

{
  "id": 123,
  "short_code": "greeting",
  "content": "Hello! How can I help you today?",
  "account_id": 456,
  "created_at": "2023-01-01T12:00:00Z",
  "updated_at": "2023-01-02T12:00:00Z"
}

Note: The exact output fields depend on the ChatWoot API's response for the canned response resource.

Dependencies

  • External Service: Requires access to a ChatWoot instance.
  • API Credentials: You must configure the chatwootApi credential in n8n, which should include the base URL and authentication details for your ChatWoot account.

Troubleshooting

  • Missing or Invalid Account Id: If the provided Account Id does not exist or is incorrect, the node may return an error or an empty result. Double-check the Account Id value.
  • Authentication Errors: If credentials are missing or invalid, you may see errors related to authorization (e.g., "401 Unauthorized"). Ensure your chatwootApi credentials are correctly set up in n8n.
  • Network Issues: Connectivity problems between n8n and your ChatWoot instance can cause timeouts or connection errors.

Links and References

Discussion