1. Create a Workflow and 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.
3. Paste the Chat URL Into 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
In the “Authentication” dropdown, select “Basic Auth” and click “Set up credential”.
5. Configure Credentials
In the pop-up:
Enter a name for the connection (ideally the bot's name)
Enter the username and password from LearningSuite
Benefit: 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 corner 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 submitted data
Billing
We charge you 3 credits for each request to n8n.
If n8n sends one request for multiple messages, you will still only be charged 3 credits.
You can review this under Settings > Billing > AI Credits.
Conclusion
This completes the basic integration. You now receive structured data from LearningSuite in n8n and can process it 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 corner. We usually respond within 5 minutes on weekdays between 09:00 and 17:00.
