How to send leads from the site to amoCRM

← Back

Create a section with the app_amo module, set up an integration in amoCRM, enter its ID and secret key and click "Connect amoCRM" — leads will become deals.

  1. Create a section, for example /amocrm, with the app_amo module and "Everyone" access.
  2. Open its page as administrator. Copy the "Redirect URI" and "Disconnection hook URL".
  3. In amoCRM: Settings → Integrations → "Create integration". Paste both links, check the "Access to account data" permission and save.
  4. In the integration card, open "Keys and access". Copy the integration ID and secret key into the section's "Module settings" — the "Integration ID" and "Secret key" fields. For Kommo, select the "Region".
  5. On the section page, click "Connect amoCRM" and allow access.
  6. In the "Leads and orders → deals" block, check "Send leads from site forms (and orders) to amoCRM". Select the "Pipeline", "Stage", "Responsible", optionally "Tags (comma-separated)" and "Deal name". Click "Save".
  7. Test with the "Create test deal" button.

Each lead becomes a deal. The contact is searched in amoCRM by phone or email, and if not found — it is created. All form fields are attached to the deal as a note. The deal name supports substitutions {Form}, {Name}, {Phone}, {E-mail}, {Order}, {Amount}.

In the "Which forms to send (nothing checked — all)" list, you can keep only the needed forms. If amoCRM doesn't respond, the lead waits in the queue and is sent again. The status is visible in the "Recent leads" block.

If the integration is needed only for your account, you can skip the connect button: enter the "Account address" and "Long-term token" in the module settings and click "Connect via long-term token".

If it didn't work

  • The "Connect amoCRM" button is inactive. The module settings lack the integration ID or secret key.
  • Error about client_secret. The wrong string was pasted into the field or the key was regenerated after copying. Copy the secret key again.
  • The lead didn't become a deal. Check the status in "Recent leads". After an error, click "Resend".
Did the article help?

See also

Tips for working with the builder

The "Help" section is made for those who are building a website on "Pervaya Liniya" for the first time. It contains answers to common questions: how to create a website, what to write in the fields, how to edit texts and photos, how to connect your own domain, and how to set up sections. The materials will help you figure things out without contacting support.

The builder is simple: you fill in the fields on the creation page, and then edit the content directly on the finished website. If something does not work or is unclear, check the relevant help item. The instructions are written in plain language and describe every step.

In Help you will find answers to questions:

  • how to come up with a website address and what to do if the name is taken;
  • how to change the title, description, and other texts on the page;
  • how to add products, services, or request forms;
  • how to connect your own domain instead of an address on firstline.com.ua;
  • how to set up sections and modules for your business needs.

If you cannot find the answer you need, use the feedback form — we will help you figure it out. The section is updated so that you can always find current information about working with the builder.