Before you begin, make sure you have an active n8n account. You can connect Kommo and n8n in three different ways, depending on how you plan to run your workflows.
Via HTTP request
To connect Kommo with n8n Cloud via HTTP request:
In n8n:
-
Log in to your account and create a new workflow.
-
Click the + icon to add a node.
-
In the Authentication field, set the credential type to Generic credential type.
-
In the Generic Auth Type field, enter the OAuth2 API value.
-
Open the OAuth2 API dropdown and click Create new credential.
-
In the pop-up window, copy the OAuth Redirect URL (1) — you’ll need this when creating the integration in Kommo.
Enter the following values:
-
Authorization URL (2).
-
Access Token URL (3).
-
Keep this window open. You’ll fill in the Client ID (4) and Client Secret (5) fields later using the keys generated in Kommo.
For more information on how HTTP requests work, check our documentation.
Continue in Kommo:
-
In your Kommo account, go to Settings → Integration marketplace. Then click + Create integration.
-
Paste the OAuth Redirect URL (1) copied from n8n.
-
Add the Integration name and Description.
-
Assign the necessary access permissions, select a language and click Save.
-
Open the Keys and scopes tab. Generate a Secret key (6) and copy your Integration ID (7).
Back in n8n:
- Enter the following values in the credential window:
-
Client ID: your Kommo Integration ID (7).
-
Client Secret: your Kommo Secret key (6).
-
Click Save to complete the setup.
Via long-lived token
To connect Kommo to n8n and authenticate your requests:
In Kommo:
-
In your Kommo account, go to Settings → Integrations and click Create integration in the upper right corner.
-
Enter the Integration name and Description.
-
Assign access permissions, choose a language and click Save.
-
Open the Keys and scopes tab and generate a Long-lived token (8).
Continue in n8n:
- Log in to your n8n account and create a new workflow.
-
Click the + icon to add a new node.
- Open the HTTP Request configuration window and enter the following values:
-
URL: your Kommo domain. To find it, copy your Kommo URL and remove the https:// and .kommo.com/ parts. (e.g., if your URL is https://test.kommo.com/, your domain is test.)
-
Authentication: Generic Credential Type.
-
Generic Auth Type: Bearer Auth.
-
Bearer Auth: Bearer Auth account.
-
Open the Bearer Auth account window and paste your Long-lived token (8) from Kommo.
Via Docker
To connect Kommo to n8n via Docker, you’ll need to download and install Docker Desktop from the official website. Next, follow these steps:
In Docker
-
Go to Volumes → Create a volume.
-
Name the volume n8n_data and click Create.
-
Go to Images and click Search images to run.
-
A search window will open. Type n8n and click Pull to download the image.
-
Once the download is complete, click Run to create the container.
-
Fill in the required fields following the n8n documentation, then click Run.
- After the installation is complete, open your local n8n and set up the owner account.
Check out the n8n video guide for more information on the installation.
In n8n:
-
Click your profile icon in the lower-left corner and open Settings.
-
Go to Community nodes and click Install a community node.
-
Enter n8n-nodes-kommo as the npm package name and accept the policy. Then click Install.
-
The Kommo node will now appear in your node list. To connect it with n8n, create a workflow and click the + icon.
-
Type Kommo in the search field and select it.
-
From the list of Actions, select Get list of companies.
-
Click Create new credential.
-
Select Kommo OAuth2 API and click Continue.
-
Copy the generated OAuth Redirect URL to use later in Kommo, and keep the window open to finish the setup later in Kommo.
Continue in Kommo:
-
In your Kommo account, go to Settings → Integrations, then click Create integration.
- Fill in the integration details:
-
Redirect URL (the one copied from n8n).
-
Integration name.
-
Description.
-
Click Save.
-
Open the Keys and scopes tab and copy the:
-
Secret key (6).
-
Integration ID (7).
Back in n8n:
- Return to the credential window in n8n.
- Enter the following values:
-
Client ID: your Kommo Integration ID (7).
-
Client Secret: your Kommo Secret key (6).
-
Subdomain: your Kommo subdomain.
If you need more help with setup or troubleshooting, feel free to reach out to our support chat or contact us via WhatsApp. You can also hire a Kommo partner to do all the hard work for you.