amoCRM
Smokva connects to amoCRM as a full integration: the agent can see and change a deal's pipeline stage, fill in deal fields, and book the customer for a service.
How to connect
On the "Integrations" tab, pick amoCRM — an amoCRM authorization window opens where you grant Smokva access to your account. No separate API key is needed, it all runs through OAuth.
What the agent can do
- Changes the deal's stage in the sales pipeline
- Fills in deal fields based on the conversation
- Books the customer for a service, if the scenario calls for it
How to open the settings
Agent card → "Integrations" → amoCRM opens the settings screen with tabs: Connection, Fields, Pipelines, Tags, Tasks & people.
How to build the SalesBot scenario
Customer messages from amoCRM reach the agent through a SalesBot scenario with the Smokva "Widget" step. You build the scenario once, in amoCRM itself:
- In amoCRM, open "Leads" and go to the pipeline automation settings (Digital Pipeline).
- On the stage where the agent should answer customers, add a Salesbot and create a new bot.
- In the bot scenario, add a "Widget" step and choose Smokva in it.
- Save the bot and return to the dashboard.
You don't need to mark the scenario as ready. Steps 3 and 4 of the "SalesBot scenario" card on the Connection tab close by themselves the first time amoCRM calls the widget for a real customer message. The same place shows when the widget was last called.
To check the whole chain, send a message to a connected source (for example, a messenger linked to amoCRM) and see whether the steps on the "SalesBot scenario" card have closed.
Connection
Here you can see which amoCRM account the agent is connected to. To disconnect amoCRM, open the "⋯" menu in the header of the "CRM actions" screen and choose "Disconnect amoCRM". Until an external CRM is chosen, deals and contacts are kept in Smokva itself.
Master CRM and mirroring
"Use as master CRM" is on by default for already connected accounts. While master is on, the agent creates and fills in deals, contacts, tags, and tasks in amoCRM — same as before. If you turn it off, the agent writes only to Smokva and amoCRM stays a messaging channel only; in that case the tab shows a reminder that deals and contacts are kept in Smokva.
Only one CRM can be master at a time. If master is already taken by another CRM (e.g. Bitrix24), the screen shows a warning and won't let you turn on master here — turn off the switch there first.
"Mirror data to Smokva" — regardless of which CRM is master, you can turn on a copy: deals and contacts from channels connected through amoCRM are also created in Smokva. Data from one external CRM is never copied into another (e.g. from amoCRM to Bitrix24) — only between the external CRM and Smokva.
Possible combinations:
| Master CRM | Mirror | What happens |
|---|---|---|
| on | off | Everything stays in amoCRM, as now |
| on | on | Data lives in amoCRM, Smokva keeps a copy |
| off | on | Agent writes to Smokva, deals from amoCRM also land in Smokva |
| off | off | Agent writes to Smokva, amoCRM is used only for messaging |
Fields
A list of deal fields with "Sees" and "Fills" marks — what the agent can read and what it fills in based on the conversation. You can also mark fields the agent should not overwrite if they already have a value. The table header has a select-all checkbox and a filter.
Pipelines
On the left, a checkbox list of every pipeline in the account: the agent only works with deals in the checked pipelines. Exactly one of the checked pipelines is main (the "Make main" button); you cannot uncheck the main pipeline until another one is selected — make a second pipeline main first, then uncheck the first one.
On the right, the stage table for the pipeline selected on the left: for each stage you set where the agent may move a deal from there ("Can move a deal from here to") — you can allow only the next stage or a wider list. This tab also covers moving a deal to another pipeline.
The same table has "Sees" and "When to move here". "Sees" — uncheck it if a stage shouldn't be mentioned to the agent (e.g. an internal stage for managers): the agent won't know about it and won't be able to move a deal there. If the hidden stage had configured transitions, unchecking removes them — the screen asks for confirmation first. "When to move here" is a short note (up to 300 characters) on the condition for moving a deal to this stage; the agent sees the note as part of what it's allowed to do and factors it in when deciding whether to move the deal.
When the agent creates a new deal (a customer wrote in for the first time and amoCRM didn't create the deal itself), it lands in the main pipeline.
Tags
The "Notes on a deal" card — whether the agent may add or remove tags at all.
The "Tag set" card — the list of specific tags, with "Sees", "Adds", and "Removes" checkboxes and a "When to add" instruction (e.g. tag "hot_lead" — "ready to buy within 3 days"); the agent sees the instruction as part of its own capability description. Add a new tag in the row under the table: type the tag and the instruction and press "Add" — the tag is checked against the format below right away. The × button on a row deletes that tag from the set.
Tag format — a shared rule for every tag in the set and for any tag the agent invents on its own (case, allowed characters, length up to 30 characters). A tag that doesn't fit the format can be neither added to the set nor set by the agent.
"Only add tags from the set" — when on, the agent only sets tags from the list above. When off, the agent may invent a new tag, but it still has to fit the format.
Tasks & people
The tasks the agent may create in amoCRM are a table: each row has a task type, a due time, and a "when to create" instruction. Add a task in the row under the table with "Add"; the × button deletes a row. If there are several tasks, the agent picks the one whose instruction fits. If a task type was deleted in amoCRM, the list shows "unknown type #id" — pick another type. Below are who the task is assigned to and what the agent writes into the note: the conversation summary, topics raised, and who to hand the deal to.
The due time is either a preset (in an hour / in 4 hours / tomorrow / in 3 days) or "custom…" with three fields: days, hours and minutes. The minimum is 5 minutes; a value below that is not saved, and the screen shows a hint.
If something goes wrong
- "Failed to load task types" — amoCRM did not return the task list, try refreshing the "Tasks & people" tab.
- The agent doesn't move the deal to another stage — check that the current stage on the "Pipelines" tab allows moving to the target stage.
- The link from SalesBot leads to this same screen — it opens the agent card the scenario is bound to.
- A conversation shows "Agent did not reply: …" under a client message — the agent checked the deal and stayed silent on purpose. The reason names the exact cause:
- the deal's pipeline, by name — the agent does not work in it; tick that pipeline on the "Pipelines" tab or move the deal;
- the deal's stage, by name — the stage is outside the agent's scope;
- a tag on the deal, by name (e.g. «эксперт» or «Нужен человек») — the agent does not reply while it is set; remove the tag in amoCRM and the agent will answer the next message;
- amoCRM did not return the deal — the integration has no access to it or it was deleted; check the "Connection" tab.
Disconnecting
The "Integrations" tab has a separate "Remove integration" action — it removes the widget and webhook in amoCRM itself, not just the channel link in Smokva.