Actions100
- Accounts Actions
- Account Users Actions
- Agent Bots Actions
- Users Actions
- Inbox API Actions
- Contacts API Actions
- Conversations API Actions
- Messages API Actions
- CSAT Survey Page Actions
- Account Agent Bots Actions
- Agents Actions
- Canned Responses Actions
- Canned Response Actions
- Custom Attributes Actions
- Contacts Actions
- Contact Actions
- Automation Rule Actions
- Help Center Actions
- Conversations Actions
- Conversation Assignment Actions
- Conversation Labels Actions
- Inboxes Actions
- Messages Actions
- Integrations Actions
- Teams Actions
Overview
This node interacts with the ChatWoot API to retrieve a Single Sign-On (SSO) URL for a specific user. It is useful in scenarios where you need to programmatically obtain an SSO link for a user, such as automating user access flows or integrating ChatWoot authentication into other systems. For example, you might use this node to generate an SSO URL and send it to a user via email, allowing them to log in seamlessly.
Properties
| Display Name | Type | Description |
|---|---|---|
| Id | Number | The numeric ID of the user on the platform. This is required to identify which user's SSO URL should be retrieved. |
Output
The output will be a JSON object containing the SSO URL for the specified user. The structure typically includes:
{
"sso_url": "https://your-chatwoot-instance.com/sso/..."
}
- sso_url: The generated SSO URL that allows the user to authenticate directly.
Dependencies
- External Service: Requires access to a ChatWoot instance with API enabled.
- API Key: You must configure valid ChatWoot API credentials (
chatwootApi) in n8n. - Environment Variable: The base URL for the ChatWoot instance must be set in the credentials as
url.
Troubleshooting
- Invalid User ID: If the provided user ID does not exist, the node may return an error indicating the user was not found. Ensure the ID is correct.
- Authentication Errors: If the API key or base URL is incorrect or missing, you may receive authentication errors. Double-check your credentials configuration.
- Network Issues: Connectivity problems between n8n and the ChatWoot server can cause timeouts or connection errors.