Integration with AmoCRM

Integration with AmoCRM is implemented in Smartswitch.

Main functions

The client has access to the standard functions of integration of AmoCRM with Telephony from the personal account of AmoCRM:

Additional functions

The following additional functions are also available to the client in the widget settings:

The principle of integration with AmoCRM through a widget

AmoCRM connects to third-party services through the Widgets mechanism.
A widget is an archive that contains the program code for connecting to a third-party service and a set of user settings.
Your client should select the widget he wants to connect in his personal AmoCRM account on the page with public widgets in the Integration section.

The client specifies the username and password for the Smartswitch account in the widget settings.
Assigns extension numbers for AmoCRM users.
May also enable additional functions (see above).

When saving the Streamco widget, the latter transmits to the Smartswitch server via the HTTPS protocol:

After that, Smartswitch calls the AmoCRM API to transfer information to CRM.
For example, when a new incoming call is detected, Smartswitch calls the AmoCRM API.
AmoCRM in your personal account displays an incoming call card with a link to an existing contact or with a proposal to create a new contact.

To implement click2call, the widget declares the connection scope location = "everywhere" in manifest.json.
This activates click2call on all AmoCRM pages.
When a user clicks on a phone number, the 'phone' action handler is called inside the widget, which sends an HTTPS request to the Smartswitch server.
The request contains:
- Smartswitch authorization data from widget settings
- internal number of the user initiating click2call
- clicked number
Upon receipt of this request, Smartswitch initiates a callback to the specified extension number, which is routed to the user's softphone.
After picking up the handset of the softphone, Smartswitch initiates a call to the clicked number and connects it with a callback to the user.

Smartswitch saves information about calls as notes to a Contact, Company or AmoCRM Transaction using the appropriate AmoCRM API over HTTPS.

To implement the * additional functions * mentioned above, the Smartswitch server calls the corresponding AmoCRM API over HTTPS.

Connection options

The following options for connecting to your telephony based on Smartswitch are available to your customers:

Русский перевод