Kommo
Connect your bot to Kommo CRM using the official integration.
The official Kommo integration allows your bot to create and update leads, manage contacts, and search your CRM data.
Setup
Before you begin, you need:
- A published bot
- A Kommo account with administrator access
- A private integration in your Kommo account
- A long-lived access token from that private integration
Install the Kommo integration in Botpress
- In Botpress Studio, select Explore Hub in the upper-right corner.
- Search for the Kommo integration, then select Install Integration.
Leave the configuration fields empty for now, you will fill them in after you create the private integration and token in Kommo.
Create a private integration in Kommo
- Log in to your Kommo account.
- Go to Settings → Integrations marketplace.
- Select Create Integration in the upper-right corner.
- Enter a name for your integration.
- Select all scopes.
- Save the integration.
Generate a long-lived access token
- Open your integration’s settings in Kommo.
- Select Generate long-lived token.
- Choose an expiration date.
- Copy the long-lived token and store it securely.
Treat the token like a password. If it is exposed, revoke it in Kommo and generate a new one.
Configure the integration in Botpress
In the Kommo integration Configuration page in Botpress, enter:
-
Base Domain: Your Kommo subdomain only (for example
mycompany.kommo.com)Do not include
https://or trailing slashes. -
Access Token: The long-lived token from the previous step.
Select Save Configuration and enable the integration.
Cards
Create Contact
Creates a new contact
inputobjectoutputobjectCreate Lead
Creates a new lead in Kommo CRM
inputobjectoutputobjectSearch Contacts
Search for contacts by name, phone number, or email
inputobjectoutputobjectSearch Leads
search for leads by name or other fields
inputobjectoutputobjectUpdate Lead
Updates an existing lead in Kommo
inputobjectoutputobject