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 into conversations, improving efficiency and consistency in communication. This operation is useful for customer support teams or any users managing multiple accounts who want to standardize replies or save time by reusing common messages.

Practical examples:

  • A support agent adds a frequently used troubleshooting message as a canned response to their account.
  • An admin sets up quick-reply templates for common questions to speed up chat interactions.

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 string to quickly access or insert this canned response during chats.

Output

The node outputs JSON data representing the newly created canned response object returned from the ChatWoot API. This typically includes details such as the canned response ID, content, short code, timestamps, and associated account information.

No binary data output is involved.

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.

Troubleshooting

  • Invalid Account Id: If the provided account ID does not exist or is incorrect, the API will return an error. Verify the account ID before running the node.
  • Authentication Errors: Missing or invalid API credentials will cause authorization failures. Ensure the API key/token is correctly configured.
  • Empty Content: Submitting an empty message content may result in validation errors. Always provide meaningful content for the canned response.
  • Short Code Conflicts: Using a short code already assigned to another canned response might cause conflicts or overwrite issues. Use unique short codes.

Links and References

Discussion