amoCRM: send an enquiry to sales
Explore how to save your sales team from copying enquiries by hand. For example, after a callback request, a salesperson can look for a new deal in amoCRM.
Automation example · preview · amocrm
What visitors see
Customers use a normal HOBA form. There is no amoCRM window on the page. A form confirmation means HOBA saved the enquiry; it does not confirm delivery to sales.
What you need
You need a test amoCRM account that supports the legacy private v2 API, a login and USER_HASH, and the CRM’s field and assignment settings. OAuth is not implemented. The operator needs rights to install the plugin, a licence that permits automation, and two plugin grants: an outbound HTTP request and writing a tracking record in HOBA.
Where the data goes
The automation reads the name and phone fields and attempts to create a deal, contact, task, and note. Its login and token travel in the request query to amoCRM; keep configuration and diagnostics private. A HOBA tracking record ties the submission ID to the deal ID.
How to enable it
Ask the amoCRM administrator to confirm legacy API access and prepare a separate test account. This example cannot work on an OAuth-only account.
Have the operator register the preview package, grant both permissions, and save the exact allowed account host, credentials, and field IDs. Check that the form keys match what the automation reads: name and phone.
Check the scope before enabling it: the example reacts to a nonempty phone and is not limited to one selected form. Use an isolated test installation and enable the version only after configuration.
Which settings go where
Operator · amocrm 1.0.0: under Plugins → Unsigned plugin package approve http.request and db.write. Under Configure → Configuration JSON use the README’s example (or PUT /api/v1/plugins/amocrm/1.0.0/configuration). No page block, file renderer, or separate server is needed.
Required keys: subdomain (part before .amocrm.ru), allowed_hosts (array with the exact account hostname), user_login and user_hash (private), and phone_field_id. Check responsible_user_id, status_id, lead_custom_field_id/value/enum_id, phone_field_enum, and task_type_id against the CRM: settings that pass installation validation may still be rejected by the CRM. The workflow ignores the naming overrides and task deadline.
Form author · name and phone. These keys are fixed in the package and cannot be changed under Configure. An empty phone does not trigger the workflow.
How to check it
Send a fictitious enquiry with a phone number, then find the deal, contact, task, and note in the CRM. Try another without a phone and simulate a connection failure. Compare both systems by hand.
If something does not work
HOBA keeps the enquiry. Some CRM records can be created even if a later step fails. There is no guaranteed delivery, retry, rollback of partial changes, or duplicate protection. Check the CRM before repeating anything, then add missing records manually.
A website you can manage yourself.
Hi, I’m Hobbit! I can show you what HOBA can do. Where shall we start?