# Meta

#### Connect Meta Lead Ads → GAN.AI (Generate Personalized Videos Automatically)

**STEP 1 — Create a Zap**

1. Log in to <https://zapier.com>
2. Click Create Zap

**STEP 2 — Choose Meta (Facebook Lead Ads) as the Trigger**

1. Search Facebook Lead Ads
2. Choose trigger:

* New Lead
* or New Form Entry

3. Sign in with your Meta account
4. Choose the Business Page + Lead Form
5. Pull a sample lead

**STEP 3 — Add GAN.AI as the Action**

1. Search GAN.AI
2. Choose Generate Personalized Video
3. Select your personalized video project

**STEP 4 — Map Meta Lead Fields to GAN.AI Variables**

Example mapping:

|  Meta Lead Ads Field | GAN.AI Variable |
| :------------------: | :-------------: |
|       Full Name      |     {{name}}    |
|         Email        |    {{email}}    |
|     Phone Number     |    {{phone}}    |
| Custom Form Question |   {{interest}}  |

**STEP 5 — Turn ON the Zap**

Your Meta → GAN.AI automation is now live.

**Every Facebook/Instagram lead instantly receives a personalized video (or is queued for one).**

**Send GAN.AI Videos Back to Meta**

1. GAN.AI supports sending video links to Meta via:

* Facebook Messenger
* Instagram Messaging (via Meta API)
* WhatsApp (via Interakt/Twilio)
* Custom Ad follow-up workflows

**You do this using Zapier + Meta apps.**

**STEP 1 — Create a New Zap**

* Click Create Zap in Zapier.

**STEP 2 — Choose GAN.AI as the Trigger**

1. Search GAN.AI
2. Select Video Generated
3. Connect your GAN.AI account
4. Pull a sample-generated video

**STEP 3 — Add Facebook Messenger as the Action**

1. Search Facebook Messenger
2. Choose Send Message
3. Connect your Facebook Page

STEP 4 — Map GAN.AI Output to Messenger Message

Example message:

<figure><img src="/files/93wru9vbe5cuQFvqMD1U" alt=""><figcaption></figcaption></figure>

Map:

| GAN.AI Output | Messenger Field |
| :-----------: | :-------------: |
|      Name     |  Recipient Name |
|   Video URL   |   Message Body  |

**STEP 5 — Turn ON the Zap**

* Your Messenger automation is now active.<br>

GAN.AI can be connected to Meta Lead Ads via Zapier to automatically generate personalized videos for new leads. Set up a Zap with Meta Lead Ads as the trigger (New Lead or Form Entry) and GAN.AI as the action to generate videos, mapping lead fields to your video variables. You can also send generated videos back to leads through Facebook Messenger, Instagram Messaging, or WhatsApp using GAN.AI as the trigger and the messaging platform as the action—creating fully automated, personalized follow-ups.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.gan.ai/integrations-and-automation/available-integrations/meta.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
