re
RetailCRM is the leading Russian CRM system for e-commerce businesses, offering order management, customer segmentation, marketing automation, and logistics integrations. Its API v5 provides full CRUD access to orders, customers, and product catalogs.
With the RetailCRM integration in AACFlow, you can:
- Create orders: Register new orders with all details
- Get orders: Retrieve a specific order by ID
- List orders: Enumerate orders with optional filters
- Update orders: Modify order status, fields, and delivery details
- Delete orders: Remove orders from the system
- List customers: Browse the customer database
- Create customers: Add new customer records
- List products: Browse the product catalog
- Create products: Add new products to the catalog
This integration enables automated order processing, CRM synchronization, and e-commerce workflow automation.
Usage Instructions
Integrate RetailCRM into the workflow. Requires a RetailCRM domain (your subdomain on retailcrm.ru) and an API key from Settings → Integration → API in your RetailCRM account.
Tools
retailcrm_create_order
Create a new order
Input
| Parameter | Type | Required | Description |
|---|---|---|---|
domain | string | Yes | RetailCRM domain (e.g. yourstore from yourstore.retailcrm.ru) |
apiKey | string | Yes | RetailCRM API key |
firstName | string | No | Customer first name |
lastName | string | No | Customer last name |
email | string | No | Customer email |
phone | string | No | Customer phone |
status | string | No | Order status code |
Output
| Parameter | Type | Description |
|---|---|---|
id | number | Created order ID |
externalId | string | External order ID |
success | boolean | Whether the order was created |
retailcrm_get_order
Get an order by ID
Input
| Parameter | Type | Required | Description |
|---|---|---|---|
domain | string | Yes | RetailCRM domain |
apiKey | string | Yes | RetailCRM API key |
orderId | number | Yes | Order ID |
Output
| Parameter | Type | Description |
|---|---|---|
order | object | Full order object |
retailcrm_list_orders
List orders
Input
| Parameter | Type | Required | Description |
|---|---|---|---|
domain | string | Yes | RetailCRM domain |
apiKey | string | Yes | RetailCRM API key |
status | string | No | Filter by order status |
limit | number | No | Maximum orders to return |
page | number | No | Page number |
Output
| Parameter | Type | Description |
|---|---|---|
orders | array | Array of order objects |
totalCount | number | Total orders count |
Links
- Official API: https://docs.retailcrm.ru/api/version-5
- AACFlow block source: apps/aacflow/blocks/blocks/retailcrm.ts

