ChatWoot icon

ChatWoot

Interact with ChatWoot API

Actions113

Overview

This node integrates with the ChatWoot API to add a new canned response to a specified account. Canned responses are predefined message templates that can be quickly inserted during conversations, improving efficiency and consistency in communication. This operation is useful for customer support teams or any scenario where repetitive messages need to be sent frequently.

For example, a support agent can use this node to programmatically add a new canned response like "Thank you for contacting us, we will get back to you shortly" to their ChatWoot account, making it available for quick insertion in future chats.

Properties

Name Meaning
Account Id The numeric ID of the ChatWoot account where the canned response will be added.
Content The actual message content of the canned response to be saved.
Short Code A short code or keyword that allows quick access to this canned response during chats.

Output

The node outputs JSON data representing the result of the API call to add the canned response. This typically includes details about the newly created canned response such as its ID, content, short code, and associated account information.

No binary data output is involved in this operation.

Dependencies

  • Requires an active ChatWoot account.
  • Needs an API key credential configured in n8n to authenticate requests to the ChatWoot API.
  • The base URL for the ChatWoot instance must be provided in the credentials configuration.

Troubleshooting

  • Invalid Account Id: If the account ID does not exist or is incorrect, the API will return an error. Verify the account ID before running the node.
  • Authentication Errors: Ensure the API key credential is valid and has sufficient permissions to add canned responses.
  • Empty Content: The content field should not be empty; otherwise, the API may reject the request.
  • Short Code Conflicts: Using a short code that already exists might cause conflicts or errors. Use unique short codes.

Links and References

Discussion