Skip to content
  1. Extras
  2. amoConnector
  3. Installation and setup

Installation and setup ​

System settings ​

amoCRM connection ​

NameDescription
amoconnector.enabledGlobal integration on/off
amoconnector.client_idIntegration ID (from amoCRM app settings)
amoconnector.client_secretIntegration secret
amoconnector.redirect_uriOAuth redirect URI (must match amoCRM)
amoconnector.subdomainamoCRM account subdomain (e.g. mycompany for mycompany.amocrm.ru)

Pipelines and statuses ​

NameDefaultDescription
amoconnector.default_pipeline_idPipeline ID for order leads
amoconnector.default_status_idInitial lead status
amoconnector.form_pipeline_idPipeline for form leads. If empty, default pipeline is used
amoconnector.form_status_idStatus for form leads
amoconnector.responsible_user_idResponsible user ID in amoCRM

Templates and tags ​

NameDefaultDescription
amoconnector.order_lead_name_tplOrder #{num}Lead name template for orders. Placeholders: {num}, {id}
amoconnector.form_lead_name_tplRequest: {form_name}Lead name template for forms. Placeholder: {form_name}
amoconnector.order_tagsminiShop2, siteTags for order leads (comma-separated)
amoconnector.form_tagssite formTags for form leads (comma-separated)

Other ​

NameDefaultDescription
amoconnector.webhook_secretSecret for webhook verification. Auto-generated on install
amoconnector.sync_statuses_from_amoYesReverse sync: changing lead stage in amoCRM updates ms2 order status
amoconnector.use_schedulerNoDeferred send via Scheduler
amoconnector.log_retention_days30Days to keep log entries

OAuth setup ​

Step 1 — Create integration in amoCRM ​

  1. Log in to amoCRM as admin
  2. Go to Settings → Integrations → Create integration
  3. Enter name, description and Redirect URI (your site URL)
  4. After creation copy Integration ID and Secret key

Step 2 — Fill settings in MODX ​

Set amoconnector.client_id, amoconnector.client_secret, amoconnector.redirect_uri and amoconnector.subdomain.

Step 3 — Authorize ​

Open the component CMP (Apps → amoConnector) and click the authorize button on the Settings tab. You will be redirected to amoCRM to grant access.

After success, tokens are stored and refreshed automatically.

Manager (CMP) ​

The component adds Apps → amoConnector with tabs:

  • Operation log — all sends, errors, skips with filtering
  • Field mapping — map order/form fields to amoCRM fields
  • Status mapping — map ms2 statuses to amoCRM pipeline stages
  • Settings — OAuth, connection test