العربية

Connecting Facebook and Instagram lead ads to your CRM and replying within 5 minutes

By CS-Aspirations · Updated

How to move leads from Facebook and Instagram instant forms into your CRM the moment they are submitted: how Meta's leadgen webhooks and lead retrieval work, mapping the form fields, assigning leads fairly, and following up on WhatsApp within Meta's opt-in and template rules.

Lead ads on Facebook and Instagram let people send their name and phone number without leaving the app. They are popular in Jordan for real estate, training courses, clinics, car dealers and B2B services, because the form is pre-filled and takes seconds. The weak point is what happens next. If leads sit in Meta's Leads Center or in a spreadsheet downloaded once a day, the person who was interested at 9 pm has forgotten your ad by the next afternoon. The fix is to send every lead straight into your CRM, assign it to a salesperson automatically and contact the person within minutes. This guide explains how that connection works, based on Meta's developer documentation. To see it in a working system, visit our CRM software page.

How lead ads reach a CRM

The connection runs through a Meta app and a webhook. In order:

  1. A person submits an instant form on Facebook or Instagram.
  2. Meta sends a notification (a webhook) to the app that is subscribed to the leadgen field of your Facebook Page.
  3. The notification does not contain the person's answers. It carries identifiers: the lead ID (leadgen_id), the Page, the form, the ad and the creation time.
  4. The CRM uses the lead ID to request the actual answers from Meta's Graph API, using a Page access token.
  5. The CRM creates the lead, maps the answers to its fields and assigns an owner.

Meta's documentation notes that these real-time notifications can arrive with a delay of up to a few minutes, so "instant" in practice means within a few minutes of submission.

What the connection needs

  • A Meta app with the Webhooks product configured for the Page object and the leadgen field.
  • The app installed on your Page, and the Page not blocking apps in its settings.
  • Permissions that Meta lists for this use, including leads_retrieval, pages_manage_metadata, pages_show_list, pages_read_engagement and ads_management.
  • A Page access token from a person who can advertise on the Page. Meta recommends a long-lived token so the connection does not stop when a short-lived token expires.

Depending on how your app is set up, Meta may require app review before these permissions work for your Page. Plan for that time when you launch a campaign.

Do not rely on Meta as your archive

Meta does not keep lead data available indefinitely. Many guides cite a 90-day window for downloading leads from Meta's tools; we could not confirm that figure in the developer documentation we reviewed, so treat it as indicative. Either way, if your webhook stops working for a few days (an expired token, a removed admin, a changed password), leads can be lost quietly. Two safeguards help: an alert when no leads arrive for a period in which you expect them, and a periodic pull of recent leads by form, which Meta's API supports with a filter on creation time, to fill any gaps.

Mapping the form fields

Instant forms combine standard questions (full name, phone number, email, city) with your own custom questions. Plan the mapping before launching the campaign:

  • Phone numbers: normalise to international format (+962 for Jordan) so WhatsApp and duplicate checks work.
  • Duplicates: match on phone number first. A returning prospect should update the existing contact, not create a second one.
  • Custom questions: map answers such as "budget", "preferred branch" or "course" to CRM fields you can filter and report on, not just into a notes box.
  • Source details: save the campaign, ad and form, so you can later compare cost per lead with cost per sale.

Assigning leads: fixed owner or round-robin

Each lead should land with a named person, not in a shared list that everyone assumes someone else is handling. Two common rules:

  • Fixed owner: every lead from a given form goes to one person or team. Good for a specialised product or a single branch.
  • Round-robin: leads rotate in turn across a group of salespeople. It spreads the load fairly and stops the fastest typist from taking every lead.

Whichever you choose, decide what happens outside working hours, when a salesperson is on leave, and how a lead is reassigned if nobody contacts it in time. Our sales pipeline page shows how leads then move through stages to a won or lost deal.

Before spending on a campaign, test the full chain: Meta's Lead Ads Testing Tool can create a test lead on your form, and you should see it arrive in the CRM, mapped and assigned, within minutes. Repeat the test whenever a Page admin or token changes.

Why five minutes matters

A lead from a social ad is a person who tapped a button while scrolling. Interest fades fast, and competitors are often running similar ads. Calling or messaging within minutes, while they still remember the ad, changes the conversation from "who are you?" to "yes, I asked about that". A practical target for many teams is a first contact within five minutes during working hours, and first thing the next morning for leads that arrive at night. Measure it: time from lead creation to first activity, per salesperson.

Following up on WhatsApp within the rules

Many Jordanian prospects answer WhatsApp faster than a call. But messaging a lead first on the WhatsApp Business Platform has rules:

  • Opt-in: Meta requires that the person has agreed to receive messages from your business, and that the opt-in states clearly that they are agreeing and names your business. Filling a lead form does not automatically mean they agreed to WhatsApp messages, so add a clear consent statement or question to the form.
  • Templates: a business-initiated message outside the 24-hour customer service window must use a template approved by Meta. A short utility or marketing template ("Thanks for your interest in…, when is a good time to call?") works well.
  • The window: once the person replies, a 24-hour window opens in which your team can answer freely.

An alternative is a click-to-WhatsApp ad, where the person starts the conversation, so the service window opens from their first message. Our guide to the WhatsApp Business API covers templates, pricing and messaging limits, and the WhatsApp CRM page shows the shared inbox.

Personal data

Leads are personal data. Jordan's Personal Data Protection Law No. 24 of 2023, in force since March 2024, sets rules on consent and purpose. Keep the consent record with the lead, use the data for the purpose stated in the form, and limit who can export lead lists.

Lead ads in Aspirations

Aspirations CRM captures Facebook and Instagram lead ads via webhook, maps form fields to CRM fields, records the lead source and assigns each lead to a fixed owner or by round-robin. Leads then follow your pipelines with activities, automations and loss reasons, and the WhatsApp Business Cloud API inbox with templates lets the team follow up from the same record. The integration needs your own Meta app and Page connection, and Meta's messaging charges are billed by Meta. For background on CRM itself, read what is CRM. Plans are being finalised; a free trial is available.

This guide is general information based on Meta's developer documentation as reviewed on the date shown; Meta changes its APIs and policies regularly. Check the current documentation, and check data protection questions with a legal adviser.

Official sources

Frequently asked questions

How do Facebook lead ads get into a CRM automatically?

A Meta app subscribed to your Page's leadgen field receives a webhook for each new lead. The webhook carries a lead ID, which the CRM uses to fetch the answers from Meta's Graph API and create the lead.

Does the webhook contain the lead's name and phone number?

No. According to Meta's documentation, the notification carries identifiers such as the lead ID, Page, form, ad and creation time. The answers are fetched with a separate API call.

How long does Meta keep lead ad data?

Not indefinitely. A 90-day window is widely cited for downloading leads from Meta's tools, but we could not confirm it in the developer documentation, so capture leads in your CRM as they arrive and run a periodic catch-up pull.

Can I message a lead on WhatsApp straight away?

Only if they opted in to messages from your business. Outside the 24-hour customer service window, the first message must be a Meta-approved template. Add a clear consent question to your lead form.

What is round-robin lead assignment?

Leads are given to a group of salespeople in turn, so the load is shared fairly and every lead has a named owner from the moment it arrives.