Send file
The robot can send a file (PDF, image, document, etc.) from Bitrix24.Drive, via a public link, or from a task in Bitrix24.
How to add the ChatApp robot:
Step 1. Go to the “Robots” section in the required CRM funnel.
Step 2. On the stage where the robot should trigger, click “+”.
Step 3. In the left-hand list, scroll down and open the “Other robots” section.
Step 4. Select the robot [ChatApp for WhatsApp, Telegram, Viber] — “Send file”.

• Independently of other robots — starts immediately (default).
• After the previous robot — starts only after previously configured robots on this stage have been executed.
When — the robot trigger moment:
• Immediately — when the card moves to the stage (default).
• After time — delayed start (specify the interval).
Conditionally — additional conditions for robot execution (if needed).
If the condition is met — the robot will run. If not — the robot will not run.
‼️Use only one sending method, otherwise messages will be duplicated.
• Manually — enter one or more numbers separated by commas.
• Via variable — the number is pulled from the CRM card.
Click the three dots → select “Lead” or “Deal” → specify the field with the number.
We recommend using the following variables:
• for deals: {{Contact: Phone (text)}}
• for leads: {{Phone (text)}}
The robot via the “Phone (text)” variable pulls all available client numbers from the card. If multiple numbers are specified, the message will be sent to each of them. If a specific number is required, select the exact field where the required number is stored.
Click the three dots → select entity “Lead” or “Deal” → specify the field
where the client’s username is stored in the CRM card.
Use the following variables for username:
• for lead: {{E-mail (text)}}
• for deal: {{Contact: E-mail (text)}}
Mandatory condition:
the “Messenger” field must be filled in the CRM card.
This field is not filled manually — it is created automatically by the system if:
— the client wrote in Open Lines;
— or you started a dialogue with the client via Open Lines.
In the lead, the “Messenger” field is filled in the lead card.
In the deal, the “Messenger” field is filled in the contact card linked to the deal.
To send via the “Messenger” field, use variables:
— for lead: {{Messenger (text)}}
— for deal: {{Contact: Messenger (text)}}
Step 1. Add the ChatApp robot “Get chat ID from Messenger field” according to instructions
and place it before the main robot.
Step 2. Set: Sequentially → After the previous robot.
Step 3. In the “Chat ID” field click the three dots → select “Robots” → ChatApp robot “Get chat ID from Messenger field” → select the chatID variable.
Done! The robot will send the file via chatID.
‼️Use only one upload method, otherwise the file will be duplicated.
Maximum file size via robot — 60 MB.
Step 1. In Bitrix24 Drive, right-click the file.
Step 2. Click “Share” → “Copy internal link”.
The link will look like:
https://b24-xxxxx.bitrix24.ru/bitrix/tools/disk/focus.php?objectId=93&cmd=show…
The file ID is the number after objectId=
In this example, the file ID is: 93.
Insert this number into the robot field “Bitrix24 Drive File ID”.
The client will receive not the link, but the actual file or image from this link.
Important: the link must be public and accessible without authorization.
How to get task ID:
Step 1. Go to “Tasks and Projects” and open the required task.
Step 2. Click the three dots → select “Copy task ID”.
Paste this ID into the robot field “Task ID to take files from”.
Include file extension. For example: test.jpg
The “File caption” field is the message text sent together with the file.
You can add a comment or explanation for the file here (if needed).
Enter first and last name if the number is not saved in CRM — a new contact will be created with these details.
If there is only one line, the field can be left empty.
In the “Channel” field — select the channel from the specified line.
The robot will send the message via the selected channel.
When enabled, the robot waits for the messenger response and returns the final delivery status. If delivered — success is returned; if not — an error is returned with a reason. This may increase execution time.
To show results in CRM timeline, set “Add result to CRM comments” to “Yes” or use a Bitrix24 “Add comment” robot afterward.