This guide shows you how to configure the n8n to reply to messages, change fields and the stage of leads in Kommo using as a means ByteGPT.
🔧 Prerequisites
- widget ByteGPT active in Kommo CRM;
- OpenAI API key for audio transcription and file analysis (Optional);
- Standard template for use in n8n: JSON (Chat and Webhook Trigger)) (Optional).
🚀 Step by Step for Integration
1. Access the Widget ByteGPT No. Kommo
- Get in on Kommo CRM, go to Settings > Integrations > ByteGPT;
- click on the tab “Active Fields”;
- In this tab, you will have access to:
- Webhook URLs (Endpoints) available (for updating leads, contacts, pausing, etc.)
- You will find a list of different webhooks or endpoints available, such as UPDATE, UPDATE STATUS_ID, and PAUSE. Copy the specific webhook you want to use and save it to paste later into the URL field of the HTTP request in n8n.
- IDs of active custom fields in your account Kommo.
- Active fields of the ByteGPT in the current installation;
- Custom fields of Leads and Contacts;
- Pipeline IDs Lead sales;
- Steps of each stage of the Lead in Kommo.
- Webhook URLs (Endpoints) available (for updating leads, contacts, pausing, etc.)
2. Configure the HTTP request block in n8n
Configure it as follows:
- HTTP method:
GET - URL Enter the URL of the copied webhook in the assets fields tab of ByteGPT (update, status_id or pause)
- Headers: Leave it disabled.
- Body: Leave it disabled.
- Parameters: Fill in the keys and values as instructed below.
Example:
📝 Request Parameters
| Key | Price | Description |
|---|---|---|
entity |
leads ou contacts |
Entity to be updated |
entity_id |
{{ $('When chat message received').first().json.leadId }} |
Lead or Contact ID |
field[ID] |
valor or variable of n8n |
Countryside Kommo followed by its respective ID |
field[status_id] |
ID of the internship in Kommo |
Stage ID where the lead will be moved. |
Practical example
Imagine a scenario where the user wants to automate field filling and lead movement in... Kommo CRM using n8n and the widget ByteGPTThe flow used will serve to:
- Update a custom fieldThe field with the ID
1567115(found in the “Active Fields” tab) should receive the result generated by an LLM, or entered manually, becomingfield[1567115]and the respective value of the variable. - Change pipeline stage (status): The pipeline stage, identified by
field[status_ID]and the value73814828, which represents “Won Sale”, must be updated.
To do this, the user will configure an "HTTP Request" block in n8n, using the parameters shown in the image and the n8n variables to insert the necessary data.
✅ Execution and Validation
When executing this block in n8n, the system automatically sends an HTTP request to the Kommo via ByteGPT, updating the specified fields immediately.
💡 Additional Tips
You can update other native fields directly using the field name as a parameter:
field[name]: Name of lead or contactfield[status_id]: Step ID (status) in the Pipeline (funnel)field[pipeline_id]: Pipeline IDfield[price]: Monetary valuefield[responsible_user_id]: ID of the user responsible in Kommo
Use variables from n8n, generated from the execution of a LLM to autofill Values with dynamic responses from your assistant.
Check the correct IDs of your account's custom fields in the tab Active Fields from the widget ByteGPT.
This automation guarantees efficiency and agility in real-time updates to your CRM.
You can activate a Salesbot automatically when updating a specific field, using the trigger of Kommo that triggers flows based on the change of this field.