1. Create a workflow & add a chat trigger
Create a new workflow in n8n and add the first step.
Search for “Chat” and select the “When chat message received” trigger.
2. Make the chat publicly available
In the next step, the trigger configuration opens.
Enable the “Make Chat Publicly Available” toggle here.
3. Add the chat URL in LearningSuite
Once the chat is enabled, a chat URL is generated.
Copy this URL and paste it in LearningSuite under AI Agent > N8N Settings → Chat URL.
4. Set up authentication
Select the “Basic Auth” option from the “Authentication” dropdown and click “Set up credential”.
5. Configure credentials
In the pop-up:
Assign a name to the connection (ideally the name of the bot)
Enter the username and password from LearningSuite
Advantage: Authentication protects your workflow. Even if someone gains access to the chat URL, they cannot use the chat without valid credentials.
If the Response Mode in the n8n Chat node is set to “Streaming”, “Streaming active” must also be enabled in LearningSuite. The output will then work correctly.
6. Publish the workflow
Close the pop-up and click “Publish” in the top right to activate the workflow.
7. Test the connection
You can now test the workflow.
Use the live preview in LearningSuite to send a message
In n8n, you can find the sent data in the “Executions” tab
You should see the following values there:
actionsessionIdchatInput
8. Use Custom Fields
As soon as you add Custom Fields in LearningSuite, they are sent automatically.
When testing again:
the fields appear in the chat
and also in n8n under the transferred data
Conclusion
This completes the basic integration.
You now receive structured data from LearningSuite in n8n and can process it further flexibly—for example, for your own chatbots, automations, or external tools.
A detailed guide with advanced use cases will follow in a separate article.
If you have any further questions, please do not hesitate to contact our support team via the HelpCenter in the bottom left. We generally respond within 5 minutes on weekdays between 09:00 and 17:00.
