Kommo
Kommo is a sales CRM. Its webhooks call an address when something happens in the account, but only one of their events carries the phone of a person — a new contact. Pointed at the Flows address, this webhook starts your flows from a new contact: a contact is added — and the person gets the right message in Viber or SMS, with a reminder if nothing happens.
The platform has its own widget in Kommo (Settings → Integrations), so a single message on a deal can be sent from Kommo itself. Flows are for what a single message cannot do: chains, waiting, a cascade of channels, a reminder in three days.
This page is written from the public documentation of Kommo and has not been checked on a live account yet.
What you need
- A Kommo plan with webhooks. The Kommo documentation names Advanced, Pro and Enterprise; whether the webhook in the settings works on Base is not confirmed.
- One webhook — one Kommo event. The body is fixed: you cannot add fields or headers of your own.
- Only Contact added carries a phone. Deal events do not — see Deals.
Step 1. Create a connection
- Open
Flows → Connections, press Connect a system and choose Kommo. - Press Copy address. It looks like
https://events.alphasms.net/hooks/<TOKEN>— keep it secret.
Step 2. Add a webhook in Kommo
- Open Settings → Integrations and press Web hooks in the top right corner.
- URL — the address from the cabinet.
- Event — only Contact added. AlphaFlow takes every request of this connection as a new contact, so do not add other events to this webhook.
- Press Save.
Step 3. Send a test
Create a test contact with your own phone number. The event appears in
Flows → Connections → Event journal within seconds, and the
connection shows Recognised: Kommo.
AlphaFlow finds the phone and the email among the contact's fields by their codes PHONE and EMAIL, so the order of
the fields does not matter. Open the test event in the journal and check that the contact has the phone.
Events
| Kommo event | AlphaFlow event | Properties |
|---|---|---|
| Contact added | lead_submitted | contact_id, responsible_user_id |
A new contact comes as lead_submitted: in Kommo a new contact usually appears together with a new request. One
request can carry several contacts — each becomes its own event. The contact is found by the phone, the email and the
Kommo id of the contact; the first name is the name of the contact, and the time of the event is the time the contact
was created. The names of the events are the ones the ready-made templates expect — see
Recommended events.
Deals
Deal events — a deal added, its stage changed, another person responsible — carry only the ids of the deal and its
stage, no phone. The webhook of a Digital Pipeline stage, API: + Send webhook, sends even less: the ids of the
deal, its pipeline and its statuses. Such events cannot reach a person by themselves and are refused with
no_contact. Incoming requests from forms keep the fields of the form under keys of their own, with no phone in the
documentation sample.
A body of your own is possible in Kommo only from the Salesbot of a widget (widget_request) — a developer's work.
For messages on deals use the platform's widget in Kommo.
Good to know
- Kommo waits 2 seconds for the answer. A failed request is repeated after 5 and 15 minutes, and on
499and5xxalso after another 15 minutes and after an hour. After more than 100 failures in 2 hours, with the last one failed, Kommo switches the webhook off; Save in its settings switches it back on. The Flows address answers at once, so Kommo has nothing to repeat. - Kommo does not sign its webhooks; the secret in the address is enough.
- The address always answers
200. Above the daily event limit the event is refused in AlphaFlow withquota_exceededand shown in the journal; the webhook in Kommo stays on.