> ## Documentation Index
> Fetch the complete documentation index at: https://knowledge.bitbybit.studio/llms.txt
> Use this file to discover all available pages before exploring further.

# Send conversion events to Meta in automation

> Add the Send conversion event to Meta action to a bitCRM automation to report an active Lead event to Meta when a flow reaches it.

Use the **Send conversion event to Meta** action to send a Lead event to Meta's Conversions API (CAPI) when a flow reaches that step. The event is sent in addition to its own criterion, so Meta receives it both from the flow and whenever the criterion is met.

## Before you start

* Connect your Meta Business account to bitCRM. See [Create a CAPI event](https://knowledge.bitbybit.studio/capi/how-to-create-capi-event.md).
* Open an automation scenario in [Automation](https://app.bitbybit.studio/bitcrm/automation-new) and set its trigger. To react to customers who message you from an ad, use the [Incoming chat from ad](https://knowledge.bitbybit.studio/bitcrm/how-to-set-up-chat-triggers-in-automation.md#start-an-automation-from-an-ad-chat) trigger.
* Make sure the customer has a phone number. The event requires it.

## Steps

**1. Add the action**

1. Click the **+** button in the scenario.
2. Under **Built-in tools**, choose **Send conversion event to Meta**.

   ![Action picker with Send conversion event to Meta highlighted under Built-in tools](https://mintcdn.com/asmaraku/CqWn8ZwGCIep0yCX/images/bitcrm/send-conversion-event-action-picker.png?fit=max\&auto=format\&n=CqWn8ZwGCIep0yCX\&q=85\&s=8196b18fb0a3f9c8b525f151e672348e)

**2. Choose a Lead event**

1. Check that **Action** shows **Send conversion event to Meta**.
2. Open the **Conversion configuration** dropdown and select the Lead event to send. Only active Lead events appear in the list.
3. Check the summary card under the dropdown. It shows the event name and status, **Event**, **Criterion**, and **Data sent**.

   ![Meta Conversion action drawer with a Lead event selected and its summary card showing Event, Criterion, and Data sent](https://mintcdn.com/asmaraku/CqWn8ZwGCIep0yCX/images/bitcrm/send-conversion-event-drawer.png?fit=max\&auto=format\&n=CqWn8ZwGCIep0yCX\&q=85\&s=212db9e62fd2ab019861b92dc319fa78)

If you don't have a Lead event yet, click **Create event** or **Create new event** to create one without leaving the flow. See [Create or edit a Lead event from the action](#create-or-edit-a-lead-event-from-the-action).

**3. Save the action and the automation**

1. Click **Save**. The action appears in the flow as **Meta Conversion**, with the event name and number of data fields.
2. Click **Save automation**.

   ![Meta Conversion action node after a Shopify trigger, showing Lead, the event name, and 3 data fields](https://mintcdn.com/asmaraku/CqWn8ZwGCIep0yCX/images/bitcrm/send-conversion-event-node.png?fit=max\&auto=format\&n=CqWn8ZwGCIep0yCX\&q=85\&s=a4c508f6699bd5e4f7f5c1c5a7b9cf92)

## Create or edit a Lead event from the action

You can create a new Lead event or edit the selected one directly from the action drawer.

1. Click **Create new event** in the **Conversion configuration** dropdown, or click **Edit** on the summary card.
2. Enter the **Event name**.
3. Choose the ads to target: **Ad account**, **Campaign**, **Ad sets**, and **Ads**. If your Meta Business account isn't connected yet, click **Connect account** first.
4. Choose the **Event type**, which is the Lead criterion, and fill in any fields it adds.
5. Click **Save and turn on**.

![Create conversion event form with Event name, ad targeting fields, Event set to Leads Generation, and Event type](https://mintcdn.com/asmaraku/CqWn8ZwGCIep0yCX/images/bitcrm/create-conversion-event-form.png?fit=max\&auto=format\&n=CqWn8ZwGCIep0yCX\&q=85\&s=7ab6271de4921beafed33059b1117669)

> [!WARNING]
>
> Saving turns the event on. Edits apply to the event itself, so every flow that uses it sends the updated version.

## What Meta receives

Every event includes the customer's phone number. If the customer has an email address, it's included too. Both are hashed before they're sent to Meta.

The **Data sent** field on the summary card lists the customer data that the Lead event is set to send. Fields that are empty on the customer profile are skipped.

## When the action can't send the event

If the selected event is no longer usable, the drawer shows **Flow cannot send this event** with the reason.

| Status | What it means | What to do |
| - | - | - |
| **Configuration inactive** | The event is turned off. The flow doesn't send it until it's active again. | Turn the event on, or select an active Lead event. |
| **Configuration deleted** | The event was deleted. You can't save the action until you pick another event. | Select or create a new Lead event. |
| **Configuration incompatible** | The event is a Purchase event. This action only sends Lead events, so you can't save it until you pick another event. | Select or create a Lead event. |

## Troubleshooting

If the run log says **An action was rejected — check its setup**, check that the event still exists, is active, and is a Lead event. Select another active Lead event if needed. The customer must also have a WhatsApp phone number.

If the event and customer details are correct, check the Meta Business connection in **Integrations**. Reconnect it and grant the requested permissions if the connection has expired or permissions are missing.

If the run log reports that the service is unavailable, the action retries automatically.

## Related

* [CAPI overview](https://knowledge.bitbybit.studio/capi-overview.md)
* [Create a CAPI event](https://knowledge.bitbybit.studio/capi/how-to-create-capi-event.md)
* [Set up chat triggers](https://knowledge.bitbybit.studio/bitcrm/how-to-set-up-chat-triggers-in-automation.md)
* [Add steps to an automation](https://knowledge.bitbybit.studio/bitcrm/how-to-add-steps-to-an-automation.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.