ChatWoot icon

ChatWoot

Interact with ChatWoot API

Actions100

Overview

This node allows you to create a new account in ChatWoot via its API. It is useful for automating the onboarding process, integrating ChatWoot with other systems, or programmatically managing accounts from within n8n workflows. For example, you could automatically create a ChatWoot account when a new customer signs up on your platform.

Properties

Display Name Type Description
Name String Name of the account.
  • Name: The name to assign to the new ChatWoot account.

Output

The output will be a JSON object representing the newly created account as returned by the ChatWoot API. Typical fields may include:

{
  "id": 123,
  "name": "Example Account",
  "created_at": "2024-06-01T12:34:56Z",
  // ...other account details
}

The exact structure depends on the ChatWoot API response.

Dependencies

  • External Service: ChatWoot instance (self-hosted or cloud).
  • API Credentials: Requires a credential named chatwootApi configured in n8n, including at least the base URL and authentication token.
  • n8n Configuration: Ensure the credentials are set up under n8n’s credentials section.

Troubleshooting

  • Missing Credentials: If the required chatwootApi credentials are not provided, the node will fail to execute. Make sure to configure them in n8n.
  • Invalid URL or Token: Incorrect base URL or authentication token will result in authentication errors from the ChatWoot API.
  • Required Field Missing: If the "Name" property is left empty, the API may reject the request with a validation error.
  • Network Issues: Connectivity problems between n8n and your ChatWoot instance can cause timeouts or connection errors.

Links and References

Discussion