WT Amo CRM library


WT Amo CRM library

WT Amo CRM library

A small PHP library for Joomla 4, Joomla 5 and Amo CRM. For developers. AmoCRM as known as Kommo CRM (https://www.kommo.com/)

Description

As part of the package

  • amoCRM connection library
  • settings plugin for connecting to Amo CRM System - WT Amo CRM Library

Connecting the library to your Joomla extension

use Webtolk\Amocrm\Amocrm;

$amocrm = new Amocrm();
$result_amo_crm = $amocrm->getAccountInfo();

Amo CRM Fields for Joomla Form

The library contains a set of Joomla Form fields with information obtained from Amo CRM.

Accountinfo

Outputs html with data about the Amo CRM account. Example of using Joomla 4 modules and plugins in XML manifests.

<field addfieldprefix="Webtolk\Amocrm\Fields" type="accountinfo" name="accountinfo"/>

Companiestagslist - Companies tags list 

A list of tags for companies in Amo CRM. An example of using Joomla 4 modules and plugins in XML manifests.

<field addfieldprefix="Webtolk\Amocrm\Fields" type="companiestagslist" name="company_tag_id"/>

Contactstagslist - Contacts tags list

A list of tags for contacts in Amo CRM. An example of using Joomla 4 modules and plugins in XML manifests.

<field addfieldprefix="Webtolk\Amocrm\Fields" type="contactstagslist" name="contact_tag_id"/>

Leadcustomfieldslist - Lead custom fields list

A list of custom Amo CRM fields for transactions.

<field addfieldprefix="Webtolk\Amocrm\Fields" type="leadcustomfieldslist" name="lead_custom_field_id"/>

Leadspipelineslist - Leads pipelines list

List of Amo CRM sales funnels.

<field addfieldprefix="Webtolk\Amocrm\Fields" type="leadspipelineslist" name="pipeline_id"/>

Leadstagslist - Leads tags list

List of tags for deals

<field addfieldprefix="Webtolk\Amocrm\Fields" type="leadstagslist" name="lead_tag_id"/>

List of library methods

  • getAccountInfo
  • getLeadById
  • createLeads
  • createLeadsComplex
  • getTags
  • getLeadsPiplines
  • getLeadsCustomFields
  • getContactsCustomFields
  • getCompaniesCustomFields
  • getCustomersCustomFields
  • getContacts
  • getUserById
  • getNotes
  • addNotes

Deleting the old refresh token

Amo CRM issues an access token for one day. To get a new token, a refresh token is used. Refresh token is valid for only 3 months. If the integration has not been used for 3 months, there has not been a single request to update the key, then the integration will lose access to the data and we will need to re-create and configure the integration.

To simplify this process, a button to delete the old refresh token from the database has been added to the plugin parameters. If the refresh token is in the database, the date of its receipt is displayed.

You should use this button only if your refresh token has expired and you need to remove it from the library settings.

Joomla

Extension type:
Package
Package composition:
Library, Plugin
Joomla version:
4.1, 4.2, 4.3.4, 5.0.0

What's new

Hotfix

Fixed
Language files were not specified in the plugin's xml manifest. Fixed.

WebTolk Joomla Extensions

78 Extensions
11 Categories
340 Versions released
325193 Downloads
Cart
Cart is empty