Bitrix24 leads from incoming email in any IMAP mailbox

Bitrix24 leads from email in nana800 take two blocks: IMAP incoming email checks a mailbox or one of its folders once a minute, and Bitrix24 creates a lead for every new email. The subject goes into the title and the sender and text into the comment, with any mailbox that has IMAP access. One email costs four basic block runs, and your balance is topped up to $3.50 for free every month.

Build it in the builder

What you can automate

  • Emails to the info@ or sales@ address of your company become leads: subject in the title, sender and text in the comment
  • Handle only the Requests folder, where your mail service files website form emails with its own rule, and leave the rest of the mail alone
  • Give an employee a Reply to the email task with add_task when the team works with tasks instead of leads
  • Put the name, phone and email from the email text into lead fields with the Open AI request block
  • Mark the email as read right away, so the mailbox shows which emails are already in the CRM
  • Collect emails from several mailboxes in one Bitrix24: one trigger and one responsible employee per mailbox

How to set it up

  1. 1

    Give the mailbox IMAP access

    In your mail settings allow mail apps to connect over IMAP and create an app password: many services do not accept the regular password over IMAP. The server address is in the help pages of the mail service and usually starts with imap. To send only leads to the CRM, set up a mail rule that files them into a separate folder.

  2. 2

    Create an inbound webhook in Bitrix24

    In your Bitrix24 portal go to Developer resources, choose Other and create an Inbound webhook. Give it the CRM permission, and Tasks too if you plan to create tasks. Copy the whole address with the code at the end: nana800 uses it to create records in your portal, so keep it as safe as a password.

  3. 3

    Add the IMAP incoming email trigger

    Create a scheme and add the trigger. Enter the server without http:// and without a port, port 993 with SSL_TLS, the full mailbox address as the login and the app password. Keep INBOX in the folder field or enter the name of the leads folder. Set mark as seen to YES if you want the mailbox to show that an email is already handled.

  4. 4

    Fill in the Bitrix24 block

    Add the block, choose the add_lead operation and paste the webhook address. Put the email subject into the title, from and body_text into the comment, and the number from the employee profile address into the responsible employee ID. These are plain fields, not JSON, so quotes and line breaks from the email do not get in the way.

  5. 5

    Turn the scheme on and send a test email

    Turn the scheme on: the first check remembers the emails already in the folder, and they do not become leads. Send a test email to the mailbox. After the next check a lead appears in the CRM and its ID shows up in record_id. The insufficient_scope error means the webhook lacks permissions. An enabled scheme costs $0.0042 per hour.

Pricing

A run of a Email block costs $0.002-$0.02, a run of a Bitrix24 block costs $0.002. Every month the balance is topped up to $3.50 for free, an enabled scheme costs $0.0042 per hour.

Services in this connection

  • Email

    Send emails from your own mailbox and start schemes on new mail in Gmail, Yandex or any other mailbox with IMAP. No code, free balance every month.

  • Bitrix24

    Connect Bitrix24 without code: website leads become CRM leads and deals, and tasks are assigned to your team for you. Free balance every month, no card needed.

Similar integrations

  • Email + Google Sheets

    Every new email in an IMAP mailbox, including mail on your own company domain, becomes a row in Google Sheets. No code, free balance every month, no card needed.

  • Email + Telegram

    Forward new emails from any IMAP mailbox to Telegram with no code: sender, subject and text, also from your company domain. Free balance every month, no card needed.

  • Schedule + Email

    An email goes out on schedule by itself: a daily report, a reminder for your team or a client, a one-off email on an exact date. From your own mailbox over SMTP, no code.

  • Webhook + Email

    Every website form lead arrives as an email to your inbox or to several teammates at once. Sent through your own mailbox, free balance every month, no card needed.

  • Bitrix24 + Telegram

    Get new Bitrix24 leads, deals and tasks as Telegram messages in a private chat or a team group. No code and no server, free balance every month.

  • Telegram + Bitrix24

    Messages to your Telegram bot become Bitrix24 leads, and the customer gets a reply with the request number. No code, free balance every month, no card needed.

Frequently asked questions

One email takes four basic block runs: the mail trigger counts as two and the Bitrix24 request as two more. 1,000 runs cost $1. Mailbox checks with no new email are free, and a lead the portal rejected is not charged. An enabled scheme costs $0.0042 per hour, so a scheme kept on around the clock spends most of the free $3.50 a month on scheme hours.

The trigger returns the sender as one line like Ivan <ivan@example.com> and the email text as a whole, and the Bitrix24 block cannot split it into parts. Put Open AI request with the json_object format between them and ask for name, phone and email. Insert the values from json_response into the name, phone and email fields. That is two more runs plus tokens in your OpenAI account.

The trigger itself has no sender or subject filter. The most reliable way is a rule in your mail that moves the right emails into a separate folder, so the trigger watches only that folder. The other way is the free condition block before Bitrix24, for example an INCLUDES check that the subject contains the word Request. If the condition fails, no lead is created.

The responsible employee is the number from the profile address like /company/personal/user/ID/, entered into the responsible employee ID field. The source is set with the SOURCE_ID code in the extra fields JSON. The call_method operation of the same block with the crm.status.list method returns the source codes of your portal.

Yes. The add_deal operation creates a deal: the pipeline number goes into the deal pipeline ID and the stage code into status or stage. The add_task operation creates a task: a title and an assignee in the responsible employee ID are required, and the email text goes into the description. The deadline takes a date like 2026-12-31T18:00:00, an empty field means no deadline.

If the run history is empty, nana800 could not sign in to the mailbox or the email is in another folder: check the app password, the IMAP setting and the folder name. If there is a run, open the result of the Bitrix24 block: error_message holds the portal answer with a hint. Emails older than three days, for example ones that arrived while the scheme was off, are not handled.

Build your first scheme for free

Sign-up is free and needs no card. Every month the balance is topped up to $3.50 for free, enough for about 3,500 runs of basic blocks.

Build it in the builder