logo_smallAxellero.io

amoCRM

amoCRM integration for comprehensive customer relationship management operations in Axellero workflows.

amoCRM Node

Manage contacts, leads, and companies through the amoCRM API v4 in Axellero workflows with comprehensive CRUD operations.

Available Operations

  • Contacts: Create, read, update, delete, and search contact records
  • Leads: Complete lead lifecycle management with status tracking
  • Companies: Manage company records with advanced filtering

Connection Configuration

ParameterTypeRequiredDescription
subdomainTEXTYesYour amoCRM subdomain (e.g., 'company' for company.amocrm.ru)
accessTokenTEXTYesOAuth2 access token for amoCRM API authentication
{
  "subdomain": "{{ctx.consts.AMOCRM_SUBDOMAIN}}",
  "accessToken": "{{ctx.consts.AMOCRM_ACCESS_TOKEN}}"
}

Contact Operations

createContact

Create a new contact in amoCRM.

ParameterTypeRequiredDescription
nameTEXTYesContact full name
emailTEXTNoContact email address
phoneTEXTNoContact phone number
{
  "name": "{{ctx.user.fullName}}",
  "email": "{{ctx.user.email}}",
  "phone": "{{ctx.user.phone}}"
}

getContacts

Retrieve contacts with optional filtering and search.

ParameterTypeRequiredDescription
limitINTNoMaximum contacts to retrieve (1-250)
queryTEXTNoSearch query for name, email, or phone
{
  "limit": 50,
  "query": "{{ctx.vars.searchTerm}}"
}

getContact

Retrieve a specific contact by ID.

ParameterTypeRequiredDescription
contactIdINTYesID of the contact to retrieve
{
  "contactId": "{{ctx.vars.contactId}}"
}

updateContact

Update an existing contact with detailed field support.

ParameterTypeRequiredDescription
contactIdINTYesID of the contact to update
nameTEXTNoUpdated contact full name
firstNameTEXTNoUpdated contact first name
lastNameTEXTNoUpdated contact last name
emailTEXTNoUpdated contact email address
phoneTEXTNoUpdated contact phone number
responsibleUserIdINTNoUpdated responsible user ID
{
  "contactId": "{{ctx.vars.contactId}}",
  "name": "{{ctx.vars.updatedName}}",
  "email": "{{ctx.vars.updatedEmail}}",
  "responsibleUserId": "{{ctx.vars.assignedUserId}}"
}

deleteContact

Delete a contact from amoCRM.

ParameterTypeRequiredDescription
contactIdINTYesID of the contact to delete
{
  "contactId": "{{ctx.vars.contactId}}"
}

Lead Operations

createLead

Create a new lead in amoCRM.

ParameterTypeRequiredDescription
nameTEXTYesLead name or title
priceINTNoLead value in account currency
contactIdINTNoID of associated contact
{
  "name": "{{ctx.vars.projectName}} - {{ctx.user.company}}",
  "price": "{{ctx.vars.dealValue}}",
  "contactId": "{{ctx.vars.contactId}}"
}

getLeads

Retrieve leads with optional filtering.

ParameterTypeRequiredDescription
limitINTNoMaximum leads to retrieve (1-250)
statusINTNoLead status ID to filter by
{
  "limit": 100,
  "status": "{{ctx.vars.leadStatus}}"
}

getLead

Retrieve a specific lead by ID.

ParameterTypeRequiredDescription
leadIdINTYesID of the lead to retrieve
{
  "leadId": "{{ctx.vars.leadId}}"
}

updateLead

Update an existing lead with status and value changes.

ParameterTypeRequiredDescription
leadIdINTYesID of the lead to update
nameTEXTNoUpdated lead name
priceINTNoUpdated lead value
statusIdINTNoUpdated status ID
{
  "leadId": "{{ctx.vars.leadId}}",
  "name": "{{ctx.vars.updatedLeadName}}",
  "price": "{{ctx.vars.updatedPrice}}",
  "statusId": "{{ctx.vars.newStatusId}}"
}

deleteLead

Delete a lead from amoCRM.

ParameterTypeRequiredDescription
leadIdINTYesID of the lead to delete
{
  "leadId": "{{ctx.vars.leadId}}"
}

Company Operations

getCompanies

Retrieve companies with filtering and pagination.

ParameterTypeRequiredDescription
limitINTNoMaximum companies to retrieve (1-250)
pageINTNoPage number for pagination
queryTEXTNoSearch query to filter companies by name
{
  "limit": 50,
  "page": "{{ctx.vars.pageNumber}}",
  "query": "{{ctx.vars.companySearchTerm}}"
}

getCompany

Retrieve a specific company by ID.

ParameterTypeRequiredDescription
companyIdINTYesID of the company to retrieve
{
  "companyId": "{{ctx.vars.companyId}}"
}

Workflow Integration

Use workflow context to create dynamic CRM operations:

{
  "name": "Lead from {{ctx.user.source}} - {{ctx.vars.eventType}}",
  "price": "{{ctx.vars.calculatedValue}}",
  "contactId": "{{ctx.nodes.contactCreator.outputs.contactId}}"
}

Response Format

Success Response

{
  "success": true,
  "id": 12345,
  "data": {
    "name": "John Smith",
    "email": "john.smith@example.com"
  }
}

Error Response

{
  "success": false,
  "error": "Contact not found",
  "code": "NOT_FOUND"
}

Use Cases

  • Lead qualification: Automatically create and update leads based on website activity
  • Contact synchronization: Sync customer data between systems and amoCRM
  • Sales automation: Update deal stages and values based on workflow events
  • Data enrichment: Enhance contact records with additional business information