Set Up Salesbot
Bu içerik henüz dilinizde mevcut değil.
You can add the Send data to n8n step to your Salesbot. This step sends the lead, its contacts and the chat history to n8n when the bot reaches it.
Add the Step
Section titled “Add the Step”- In Kommo, go to Automations → Bots and open your Salesbot, or click Create bot.
- In Add next step, choose Widget.
- Find n8n by KWID and click Add. The Send data to n8n step appears.
- Paste the Production URL of your n8n Webhook node into the Webhook URL field.
- Click Save.
Other Settings
Section titled “Other Settings”- Name (optional) – a name that helps you find this step in the request log.
- Authentication – choose the same option as in your Webhook node in n8n. Leave None if the node has no authentication.
Next Salesbot Steps
Section titled “Next Salesbot Steps”The n8n step has two exits. Connect each one to the step that should run next:
- Sent – n8n received the data.
- Not sent – the request failed.
Check That It Works
Section titled “Check That It Works”- Click Test request in the step.
- Choose a lead and click Send request.
- Check that your n8n workflow received the data.
Use the n8n Response
Section titled “Use the n8n Response”Everything n8n sends back is available in the next steps of your bot as {{json.response}}:
- If n8n returns text,
{{json.response}}contains that text. - If n8n returns a JSON object, each of its fields becomes a separate variable, for example
{{json.response.message_text}}.
After you send a test request, the test window lists the variables from the n8n response. Click a variable to copy it and use it in the next steps of your bot.