Setting up the amoCRM integration

This article explains how to set up the integration between your bot and amoCRM.

Connecting

ee14bac942db43a16d8b297303445eb8.png

1. Log in or sign up to amoCRM and copy the link to your account, for example: https://*******.amocrm.com/

c21413f10715fa3027e966f0d917406d.jpg

2. Go to the integration settings in your puzzlebot account: Bot — Settings — Integrations — amoCRM — Set up integration.

3a4f0c2e69731436347facf95aaa8a9a.jpg

3. Paste the copied link to your amoCRM account into the input field of the first step and click "Save".

42b164e3f45c457acb0ffda1a9f270e5.png
370f75f97ffe037b975c2db00338509f.jpg

4. Use the button in the second step to go to your amoCRM account and allow access for the puzzlebot app.

4ffbe981124c9955642099e7e7ea4c18.png

5. When the installation is finished, an app window shows the result of linking the accounts.

569b47a1c5a1f323a5197fa273630806.png

6. Go back to your puzzlebot account and click "Continue".

50a5d637199c76b048cda185da86af65.jpg

7. Specify the fields and variables for saving the user's Telegram User ID and Name, or leave everything as is, and click "Connect integration".

Important! The first line passes the Telegram User ID to the lead, and the second one to the contact.

Settings

Let's go through the integration settings tab by tab.

Important! All actions with contacts and leads are based on the user's Telegram User ID. If this field is changed in amoCRM, the action will not be performed.

Contacts

On this tab, you can:

  1. Set up synchronization between amoCRM contacts and your bot's users.

  2. Add bot users to amoCRM as clients in a one-time import.

  3. Add amoCRM clients to the bot as users in a one-time import.

a9ed35157898e766bd4bd9e8cb91a134.jpg

Before doing any of the above, link puzzlebot variables to contact fields in amoCRM.

You can enter names of fields that do not exist yet, and they will be created automatically.

Important! While synchronization is active, linked variables and fields are updated with the latest information wherever it was changed. That is, if you change a value in an amoCRM field, the value of the puzzlebot variable changes too, and vice versa. Links marked with arrows are an exception.

To activate synchronization, click the corresponding button. Synchronization stays active until it is canceled or the link to the amoCRM account is changed.

Leads

3f140e4acb1d77400bfb87f81a5d03ed.jpg

Final statuses — this setting defines from which status the system may ignore leads.
For example: a lead existence check returns a negative result if the lead has moved to a final status.

Several Leads from one user — allows 2 or more Leads to be created from one user.

Ignore Leads in a final status — works together with the final statuses setting and allows or forbids ignoring.

3c96a5cde04145a5762b6373d60416b6.png

Stage change notification — lets you set up sending a command when a Lead moves from one status to another.

Important! When the Ignore Leads in a final stage option is on, the notification for a final status is not sent.

Actions

Let's go through the types of actions available for working with amoCRM.

f0d152add6b89dbde740ce91046b0a9b.png

Deals and Leads

The following types are available:

  1. Create lead

  2. Change lead field

  3. Change lead status

  4. Delete lead

Most of the settings are self-explanatory. Let's look at the special ones:

a325bd8ccd88487e2a13028b9374d37d.png

Write to field — writes the value specified on the puzzlebot :// side to the specified field inside the lead. On the puzzlebot :// side, the input line can contain text, a number, a formula or a variable.

Important! You cannot write to lead fields that do not exist.

ef6feefb74e4549f07c55f6993b7b629.png

Link to user — defines what is shown in the lead information: the contact or the user's Telegram User ID.

Important! If you select "By contact", the contact must already exist in amoCRM. With active synchronization, this is done automatically.

aaa87877fab95307b27bc86d1da04483.png

Active lead — defines which lead or deal to work with. Relevant when the "Several leads / deals from one user" option is turned on in the settings.

Contact

The following types are available:

  1. Create contact

  2. Delete contact

Checks

Let's go through the types of checks available for working with amoCRM.

57afa343aee96a9d5c8c53bb09ec371e.png

Leads

The following types are available:

  1. Lead exists

  2. Lead status

  3. Lead field value

Contacts

The following types are available:

  1. Contact exists

  2. Contact field value

Was this page helpful?