Skip to content
Bitrix24 logo

Connectors / Sales · HTTP Connector

Automate Bitrix24 with Tray.ai

Create a deal, create a lead and create a contact in Bitrix24, and start a workflow when Bitrix24 sends “Deal created”.

What can you do with Bitrix24 on Tray.ai?

Bitrix24 is a business suite that combines a CRM with tasks, projects, chat, file storage, telephony and an online store for small and mid-sized teams. Tray.ai connects to Bitrix24 through the HTTP Connector, so your workflows can call the Bitrix24 API alongside the rest of your stack.

  • When Bitrix24 sends “Deal created”, open a matching project in your project management tool.
  • When Bitrix24 sends “Lead created”, add the lead to your email marketing list.
  • Create a task for the account manager when a renewal date is coming up in your billing system.
  • Send a chat message to the sales team when a high-value invoice is paid in your billing system.
Connects through
HTTP Connector
Authentication
OAuth 2.0
Base URL
https://{portal}.bitrix24.com/rest

Set it up

Connect Bitrix24 to Tray.ai

Each step uses Bitrix24's own API details, from its documentation.

Step 1

Sign in to Bitrix24 with OAuth 2.0

Set up an OAuth 2.0 authentication with the client ID and secret of an OAuth app you register with Bitrix24. Sign in once and every step reads the token from there.

Step 2

Point the HTTP Client at the API

Add an HTTP Client step and use https://{portal}.bitrix24.com/rest as the base URL. Or paste a cURL example from Bitrix24's API docs, and Tray.ai fills in the method, URL, and headers.

Step 3

Start with “List deals”

It's one of 19 documented actions, under Deals. The response comes back as data the next step can map into your other apps.

Step 4

Start workflows from Bitrix24 events

Give Bitrix24 the URL of a Tray.ai webhook trigger. “Deal created” can then start a workflow, and so can 5 other events.

Workflows to build with Bitrix24

Each one uses actions and events from Bitrix24's own API documentation.

Create QuickBooks invoices for won Bitrix24 deals

When

Deal updated

Then

  1. Get a deal in Bitrix24 and check that it is won
  2. Create an invoice in QuickBooks for the deal amount

With QuickBooks

Add Shopify customers to Bitrix24 as contacts and deals

When

An order is placed in Shopify

Then

  1. Create a contact in Bitrix24 for the customer
  2. Create a deal in Bitrix24 for the order

With Shopify

Apps you can build on Bitrix24 data

Internal tools your team can build with an AI assistant, each one using Bitrix24 calls from its API documentation.

Deal pipeline board

Shows deals by stage with their companies and contacts and lets a rep update a deal.

Sales follow-up tracker

Lists tasks tied to open deals and lets a rep complete a task or add a new one.

Lead intake queue

Shows new leads as they arrive and lets a sales manager update or assign each lead.

Give your AI agents Bitrix24 tools

Build an MCP server on Bitrix24 in Agent Gateway and choose which actions your agents can call. Every call runs with access control and an audit trail. How Agent Gateway works

  • List deals
  • List leads
  • List contacts
  • List companies
  • List tasks
  • Send a chat message
  • Get a deal
  • Create a deal

What the Bitrix24 API covers

6 resources and 19 documented actions, each one a call the HTTP Connector can make from a Tray.ai workflow. Connecting it takes a few clicks: here's how.

Deals

  • List deals
  • Get a deal
  • Create a deal
  • Update a deal
  • Delete a deal

Leads

  • List leads
  • Create a lead
  • Update a lead

Contacts

  • List contacts
  • Create a contact
  • Update a contact

Companies

  • List companies
  • Create a company

Tasks

  • List tasks
  • Create a task
  • Update a task
  • Complete a task

Chat messages

  • Send a chat message
  • Update a chat message

Events Bitrix24 can send to a Tray.ai webhook trigger

  • Deal created
  • Deal updated
  • Lead created
  • Contact created
  • Company created
  • Task created

Checked against Bitrix24's own documentation on 2026-10-22

apidocs.bitrix24.com

Frequently asked questions

What can a Tray.ai workflow do in Bitrix24?

+

The Bitrix24 API documents 19 actions across 6 resources (Deals, Leads, Contacts, Companies, Tasks, Chat messages). For example: List deals; List leads; List contacts. A workflow can make any documented call through the HTTP Connector.

How does Tray.ai authenticate with Bitrix24?

+

The Bitrix24 API uses OAuth 2.0. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.

Which Bitrix24 events can start a Tray.ai workflow?

+

Bitrix24 sends 6 events to a webhook URL, for example: Deal created; Deal updated; Lead created; Contact created; Company created; Task created. A Tray.ai webhook trigger receives them and starts a workflow.

See Bitrix24 working against your stack.

We'll walk through a tailored demo with your systems plugged in.

Great — a couple more details

This helps us connect you with the right person. Optional, and you can skip it.