Complete Documentation

Everything you need to know about creating, testing, and activating AI-powered workflows in Bitrix24

Gemini Flash (Free) Claude Sonnet Bitrix24 CRM

How It Works

From plain English to a live Bitrix24 workflow in 3 steps

1

You Describe It

Type what you want in plain English โ€” no technical knowledge needed

2

AI Parses It

Gemini or Claude reads your description and converts it to a structured workflow blueprint

3

Bitrix24 Creates It

The blueprint is sent to your Bitrix24 account via API and saved as a Business Process template

4

You Activate It

Go to Bitrix24 โ†’ CRM โ†’ Automation and turn the workflow ON for your chosen entity


Real Examples

See exactly what the AI does with your words

๐Ÿ’ฌ
Deal Won โ†’ WhatsApp
Automatically message the client when you close a deal
When a deal is won, send a WhatsApp message to the client
TriggerDeal Won
EntityCRM_DEAL
ActionSend WhatsApp โ†’ {{CONTACT_PHONE}} โ†’ "Congratulations! Your deal has been confirmed."
๐Ÿ“‹
New Lead โ†’ Create Task
Automatically assign a follow-up task when a lead arrives
Create a follow-up task for the sales manager when a new lead is created
TriggerLead Created
EntityCRM_LEAD
ActionCreate Task โ†’ "Follow up with new lead" โ†’ Assign to {{ASSIGNED_BY_ID}}
๐Ÿ“ง
Overdue Invoice โ†’ Email
Alert the client automatically when payment is late
Send an email to the client when their invoice is overdue
TriggerInvoice Overdue
EntityCRM_INVOICE
ActionSend Email โ†’ {{CONTACT_EMAIL}}
๐Ÿ””
Deal Lost โ†’ Notify Team
Alert the sales team immediately when a deal is lost
Notify the sales team when a deal is lost and create a review task
TriggerDeal Lost
EntityCRM_DEAL
Action 1Send Notification โ†’ Sales Team
Action 2Create Task โ†’ "Review lost deal reasons"
๐Ÿ‘ค
Lead Converted โ†’ Assign Manager
Automatically reassign ownership when a lead becomes a deal
When a lead is converted, assign it to the sales manager
TriggerLead Converted
EntityCRM_LEAD
ActionAssign Responsible โ†’ {{ASSIGNED_BY_ID}}

All 20 Triggers

These are the events that can start a workflow. Mention one of these in your description.

Deal Triggers

deal_won

Deal is marked as Won

Say: "deal is won"
deal_lost

Deal is marked as Lost

Say: "deal is lost"
deal_created

A new deal is created in CRM

Say: "new deal created"
deal_updated

Any field on a deal changes

Say: "deal is updated"
stage_changed

Deal moves to a new pipeline stage

Say: "stage changes" "moves to stage"

Lead Triggers

lead_created

A new lead is added to CRM

Say: "new lead" "lead arrives"
lead_converted

Lead is converted into a deal

Say: "lead converted"
lead_updated

Any field on a lead changes

Say: "lead is updated"

Contact & Company Triggers

contact_created

A new contact is added to CRM

Say: "new contact"
contact_updated

A contact record is updated

Say: "contact changes"
company_created

A new company is added to CRM

Say: "new company"
company_updated

A company record is updated

Say: "company changes"

Task Triggers

task_created

A new task is created

Say: "new task"
task_completed

Task is marked as complete

Say: "task done" "task completed"
task_overdue

Task passes its deadline

Say: "task overdue" "task is late"

Invoice, Quote & Activity Triggers

invoice_overdue

Invoice is past due date

Say: "invoice overdue" "payment late"
invoice_paid

Invoice is marked as paid

Say: "invoice paid"
quote_created

A new quote is created

Say: "new quote"
quote_approved

Quote is approved by client

Say: "quote approved"
meeting_scheduled

A meeting is added to calendar

Say: "meeting scheduled"
activity_added

A note or activity is logged

Say: "activity added" "note added"

All 22 Actions

Chain multiple actions together in a single workflow description.

Messaging

send_whatsapp

Send WhatsApp via Bitrix24 Open Channels

Fields: tomessage
send_email

Send email to contact

Fields: tosubjectbodytemplate_id
send_sms

Send SMS via Bitrix24 telephony

Fields: tomessage
send_notification

Internal Bitrix24 notification bell

Fields: tomessage
send_bitrix_message

Internal Bitrix24 chat message

Fields: tomessage

Tasks & Activities

create_task

Create a new task

Fields: titleassigneedeadlineprioritydescription
update_task

Update a field on an existing task

Fields: fieldvalue
set_reminder

Create a CRM activity reminder

Fields: titleassigneedatetime
schedule_call

Schedule a call in CRM activities

Fields: todatetimeassignee

CRM Operations

create_deal

Create a new deal in CRM

Fields: titleassigneestage
update_deal

Update a field on the deal

Fields: fieldvalue
create_contact

Create a new contact record

Fields: title
create_company

Create a new company record

Fields: title
create_invoice

Generate a new invoice

Fields: title
create_quote

Create a new quote

Fields: titleassignee

Workflow Control

assign_responsible

Change the responsible person

Fields: assignee
move_stage

Move deal to a specific pipeline stage

Fields: stage
update_field

Update any CRM field value

Fields: fieldvalue
add_comment

Add a comment to the record timeline

Fields: message
add_tag

Add a tag to the CRM record

Fields: tag
remove_tag

Remove a tag from the CRM record

Fields: tag

External

webhook

Call any external URL (POST/GET) with deal data

Fields: urlmethodmessage

Smart Variables

The AI automatically inserts these into action fields. At runtime, Bitrix24 replaces them with real values from the CRM record.

VariableWhat it inserts at runtimeBest used in
{{CONTACT_PHONE}}Contact's phone number from CRMWhatsApp, SMS recipient
{{CONTACT_EMAIL}}Contact's email address from CRMEmail recipient
{{CONTACT_NAME}}Contact's full nameMessage body, task title
{{ASSIGNED_BY_ID}}Current responsible user IDTask assignee, notification target
{{ASSIGNED_BY_NAME}}Current responsible user's nameMessage body, comments
{{DEAL_TITLE}}Name of the dealTask title, message body
{{DEAL_ID}}Numeric ID of the dealWebhook body, comments
{{DEAL_AMOUNT}}Deal value / amountInvoice, message body
{{DEAL_CURRENCY}}Currency code (USD, EURโ€ฆ)Message body
{{LEAD_NAME}}Name of the leadNotification, task title
{{LEAD_ID}}Numeric ID of the leadWebhook body
{{STAGE_NAME}}Current pipeline stage nameComments, notifications
{{COMPANY_TITLE}}Company name linked to the recordMessage body, task title
{{TASK_TITLE}}Title of the taskNotification, comment
{{TASK_ID}}Numeric ID of the taskWebhook body
{{INVOICE_ID}}Invoice ID numberMessage body, webhook
{{INVOICE_AMOUNT}}Invoice total amountPayment reminder message
{{CURRENT_DATE}}Today's dateComments, task deadlines
{{CURRENT_DATETIME}}Current date and timeActivity timestamps
๐Ÿ’ก
You don't need to type these manually โ€” just describe what you want in English and the AI picks the right variables automatically.

How to Activate Your Workflow in Bitrix24

After clicking "Create in Bitrix24", follow these steps to turn it on

โ„น๏ธ
The AI Workflow Builder creates the template in Bitrix24. You need to activate it inside Bitrix24 for it to run automatically.

For Deal Workflows

  • Go to CRM โ†’ Deals
  • Click Automation in the top menu
  • Find your workflow in the Business Processes tab
  • Click Activate or toggle it ON

For Lead Workflows

  • Go to CRM โ†’ Leads
  • Click Automation in the top menu
  • Find your workflow in the Business Processes tab
  • Click Activate or toggle it ON
โœ…
Once activated, the workflow runs automatically every time the trigger condition is met โ€” no manual action needed.

Tips for Better Descriptions

The AI works best when your description is clear and specific

โœ… Good descriptions

  • "When a deal is won, send a WhatsApp to the client"
  • "Create a task for the manager when a new lead is created"
  • "Send an email when an invoice is overdue"
  • "Notify the team when a deal is lost and create a review task"

โŒ Too vague โ€” AI will ask for clarification

  • "Do something when things change"
  • "Send a message to someone"
  • "Automate my CRM"
  • "Handle new clients"
๐Ÿ’ก
Formula that always works: "When [trigger event], [do this action] to/for [who]" โ€” Example: "When a deal is lost, send a WhatsApp to the client and create a task for the manager"

AI Providers

Choose which AI parses your workflow description

๐ŸŸข Gemini Flash FREE

Google's Gemini 1.5 Flash model. Free tier allows 1,500 requests/day. Recommended for most users. Fast and reliable for workflow parsing.

๐ŸŸฃ Claude Sonnet PAID

Anthropic's Claude Sonnet model. Requires API credits from console.anthropic.com. Slightly more accurate for complex multi-step workflows.


API Reference

For developers โ€” direct API endpoints

MethodEndpointWhat it does
GET/healthCheck server, AI providers, and Bitrix24 status
GET/capabilitiesList all triggers, actions, entities, variables as JSON
POST/parse-workflowParse English โ†’ workflow JSON (no Bitrix24 call)
POST/create-workflowCreate workflow in Bitrix24 from a workflow JSON schema
POST/workflowFull pipeline: parse + create in one call
GET/workflowsList workflow history from local database
GET/bitrix-workflowsList all workflow templates in your Bitrix24 account
DELETE/bitrix-workflows/{id}Delete a workflow template from Bitrix24
GET/docsInteractive Swagger API explorer

FAQ

Common questions

The workflow was created but nothing is happening โ€” why?

You need to activate the workflow inside Bitrix24 after it's created. Go to CRM โ†’ Deals/Leads โ†’ Automation โ†’ Business Processes โ†’ turn it ON.

The AI said "needs clarification" โ€” what do I do?

Your description was too vague. Use the formula: "When [trigger], [action] to [who]". For example: "When a deal is won, send WhatsApp to the client."

Can I create workflows with multiple actions?

Yes. Just list them in your description: "When a deal is won, send WhatsApp to the client and create a follow-up task for the manager and add a comment."

How do I update an existing workflow?

Create a new workflow with your updated description. Then go to Bitrix24 โ†’ Business Processes, deactivate the old one, and activate the new one.

Is my Bitrix24 data sent to the AI?

No. Only your text description is sent to the AI. No CRM data, contacts, or deals are ever shared with AI providers.


Ready to build your first workflow?

Takes 30 seconds โ€” just describe it in plain English

๐Ÿค– Open Workflow Builder