ChatWoot icon

ChatWoot

Interact with ChatWoot API

Actions100

Overview

This node retrieves detailed information about a specific user from the ChatWoot platform using their numeric ID. It is useful in workflows where you need to fetch and process user data, such as enriching contact profiles, automating support tasks, or integrating user details into other systems.

Example scenarios:

  • Automatically fetching user details when a new ticket is created.
  • Enriching CRM records with up-to-date user information from ChatWoot.
  • Triggering personalized messages based on user attributes.

Properties

Display Name Type Description Required
Id Number The numeric ID of the user on the platform Yes
  • Id: Enter the unique numeric identifier for the user whose details you want to retrieve from ChatWoot.

Output

The output will be a JSON object containing the details of the specified user. The structure typically includes fields such as:

{
  "id": 123,
  "name": "John Doe",
  "email": "john@example.com",
  "created_at": "2023-01-01T12:00:00Z",
  // ...other user-specific fields returned by ChatWoot API
}

Note: The exact fields depend on the ChatWoot API response.

Dependencies

  • External Service: Requires access to a ChatWoot instance.
  • API Credentials: You must configure the chatwootApi credential in n8n, including the base URL (url) and authentication details.
  • n8n Configuration: Ensure the node has network access to your ChatWoot server.

Troubleshooting

  • Invalid User ID: If an incorrect or non-existent user ID is provided, the node may return a "User not found" error. Double-check the ID value.
  • Authentication Errors: If credentials are missing or invalid, you may see errors like "401 Unauthorized." Verify your API key and URL in the credentials.
  • Connection Issues: Network problems or incorrect base URL can result in connection errors. Ensure the ChatWoot server is reachable from n8n.

Links and References

Discussion