[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-\u002Fen\u002Fdocs\u002Fcanaux\u002Ffacebook-leads":3,"docs-nav-en":476},{"_path":4,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"title":8,"description":9,"body":10,"_type":470,"_id":471,"_source":472,"_file":473,"_stem":474,"_extension":475},"\u002Fen\u002Fdocs\u002Fcanaux\u002Ffacebook-leads","canaux",false,"","Meta Lead Ads","Instant reception of Facebook \u002F Instagram leads in a betool pipeline, via betool's managed Meta app or your own app.",{"type":11,"children":12,"toc":461},"root",[13,28,35,40,45,51,139,145,197,203,216,368,373,379,388,407,413],{"type":14,"tag":15,"props":16,"children":17},"element","p",{},[18,21,26],{"type":19,"value":20},"text","The ",{"type":14,"tag":22,"props":23,"children":24},"strong",{},[25],{"type":19,"value":8},{"type":19,"value":27}," channel connects your Facebook Pages to betool, enabling real-time processing of leads submitted through your Lead Ads forms (Facebook, Instagram).",{"type":14,"tag":29,"props":30,"children":32},"h2",{"id":31},"why-this-channel",[33],{"type":19,"value":34},"Why this channel",{"type":14,"tag":15,"props":36,"children":37},{},[38],{"type":19,"value":39},"Meta leads are traditionally processed in batches — exported to CSV, imported into a CRM, then manually qualified. The result: a 30-minute to several-hour delay between form submission and first contact.",{"type":14,"tag":15,"props":41,"children":42},{},[43],{"type":19,"value":44},"By connecting Meta Lead Ads directly to a betool pipeline, you bring that delay down to a few seconds — and the first contact (email, WhatsApp, phone call) can be fully automated.",{"type":14,"tag":29,"props":46,"children":48},{"id":47},"two-connection-modes",[49],{"type":19,"value":50},"Two connection modes",{"type":14,"tag":52,"props":53,"children":54},"ul",{},[55,82],{"type":14,"tag":56,"props":57,"children":58},"li",{},[59,64,66,71,73,80],{"type":14,"tag":22,"props":60,"children":61},{},[62],{"type":19,"value":63},"Managed mode (recommended)",{"type":19,"value":65}," — you connect your ",{"type":14,"tag":22,"props":67,"children":68},{},[69],{"type":19,"value":70},"Facebook Page",{"type":19,"value":72}," through betool's Meta app, already configured on the platform side. betool keeps the Page token and automatically subscribes it to leads (",{"type":14,"tag":74,"props":75,"children":77},"code",{"className":76},[],[78],{"type":19,"value":79},"leadgen",{"type":19,"value":81},"): nothing else to configure.",{"type":14,"tag":56,"props":83,"children":84},{},[85,90,92,98,100,106,108,114,116,122,124,130,132,137],{"type":14,"tag":22,"props":86,"children":87},{},[88],{"type":19,"value":89},"Personal app mode (advanced)",{"type":19,"value":91}," — you use your own Meta application: in the receiver you enter your ",{"type":14,"tag":74,"props":93,"children":95},{"className":94},[],[96],{"type":19,"value":97},"verify_token",{"type":19,"value":99},", your ",{"type":14,"tag":74,"props":101,"children":103},{"className":102},[],[104],{"type":19,"value":105},"app_secret",{"type":19,"value":107}," (verification of the ",{"type":14,"tag":74,"props":109,"children":111},{"className":110},[],[112],{"type":19,"value":113},"X-Hub-Signature-256",{"type":19,"value":115}," signature) and a long-lived ",{"type":14,"tag":74,"props":117,"children":119},{"className":118},[],[120],{"type":19,"value":121},"page_access_token",{"type":19,"value":123},", then you declare the callback URL provided by betool in your Meta app's Webhooks (",{"type":14,"tag":74,"props":125,"children":127},{"className":126},[],[128],{"type":19,"value":129},"page",{"type":19,"value":131}," object, ",{"type":14,"tag":74,"props":133,"children":135},{"className":134},[],[136],{"type":19,"value":79},{"type":19,"value":138}," field).",{"type":14,"tag":29,"props":140,"children":142},{"id":141},"setup-managed-mode",[143],{"type":19,"value":144},"Setup (managed mode)",{"type":14,"tag":146,"props":147,"children":148},"ol",{},[149,173,192],{"type":14,"tag":56,"props":150,"children":151},{},[152,157,159,164,166,171],{"type":14,"tag":22,"props":153,"children":154},{},[155],{"type":19,"value":156},"Settings → Services → Facebook",{"type":19,"value":158},", ",{"type":14,"tag":22,"props":160,"children":161},{},[162],{"type":19,"value":163},"Accounts",{"type":19,"value":165}," tab — click ",{"type":14,"tag":22,"props":167,"children":168},{},[169],{"type":19,"value":170},"Connect a Facebook Page",{"type":19,"value":172},", authorize the app in the Facebook window, then choose the Page whose leads you want to receive.",{"type":14,"tag":56,"props":174,"children":175},{},[176,178,183,185,190],{"type":19,"value":177},"In the model editor, configure the ",{"type":14,"tag":22,"props":179,"children":180},{},[181],{"type":19,"value":182},"Start",{"type":19,"value":184}," node with a ",{"type":14,"tag":22,"props":186,"children":187},{},[188],{"type":19,"value":189},"Facebook Lead Ads",{"type":19,"value":191}," receiver and select the connected Page.",{"type":14,"tag":56,"props":193,"children":194},{},[195],{"type":19,"value":196},"Each lead submitted on a form of this Page triggers the pipeline.",{"type":14,"tag":29,"props":198,"children":200},{"id":199},"what-the-pipeline-receives",[201],{"type":19,"value":202},"What the pipeline receives",{"type":14,"tag":15,"props":204,"children":205},{},[206,208,214],{"type":19,"value":207},"For each submitted lead, betool retrieves the full lead via the Graph API, then creates an ",{"type":14,"tag":74,"props":209,"children":211},{"className":210},[],[212],{"type":19,"value":213},"exchange",{"type":19,"value":215}," with:",{"type":14,"tag":52,"props":217,"children":218},{},[219,306,317,357],{"type":14,"tag":56,"props":220,"children":221},{},[222,228,230,236,237,243,244,250,251,257,258,264,265,271,272,278,279,285,286,292,293,299,300],{"type":14,"tag":74,"props":223,"children":225},{"className":224},[],[226],{"type":19,"value":227},"lead.fields",{"type":19,"value":229}," — normalized standard fields: ",{"type":14,"tag":74,"props":231,"children":233},{"className":232},[],[234],{"type":19,"value":235},"full_name",{"type":19,"value":158},{"type":14,"tag":74,"props":238,"children":240},{"className":239},[],[241],{"type":19,"value":242},"first_name",{"type":19,"value":158},{"type":14,"tag":74,"props":245,"children":247},{"className":246},[],[248],{"type":19,"value":249},"last_name",{"type":19,"value":158},{"type":14,"tag":74,"props":252,"children":254},{"className":253},[],[255],{"type":19,"value":256},"email",{"type":19,"value":158},{"type":14,"tag":74,"props":259,"children":261},{"className":260},[],[262],{"type":19,"value":263},"phone",{"type":19,"value":158},{"type":14,"tag":74,"props":266,"children":268},{"className":267},[],[269],{"type":19,"value":270},"company",{"type":19,"value":158},{"type":14,"tag":74,"props":273,"children":275},{"className":274},[],[276],{"type":19,"value":277},"job_title",{"type":19,"value":158},{"type":14,"tag":74,"props":280,"children":282},{"className":281},[],[283],{"type":19,"value":284},"city",{"type":19,"value":158},{"type":14,"tag":74,"props":287,"children":289},{"className":288},[],[290],{"type":19,"value":291},"country",{"type":19,"value":158},{"type":14,"tag":74,"props":294,"children":296},{"className":295},[],[297],{"type":19,"value":298},"state",{"type":19,"value":158},{"type":14,"tag":74,"props":301,"children":303},{"className":302},[],[304],{"type":19,"value":305},"zip_code",{"type":14,"tag":56,"props":307,"children":308},{},[309,315],{"type":14,"tag":74,"props":310,"children":312},{"className":311},[],[313],{"type":19,"value":314},"lead.custom",{"type":19,"value":316}," — the form's other questions, with their answers",{"type":14,"tag":56,"props":318,"children":319},{},[320,326,328,334,335,341,342,348,349,355],{"type":14,"tag":74,"props":321,"children":323},{"className":322},[],[324],{"type":19,"value":325},"lead.metadata",{"type":19,"value":327}," — ",{"type":14,"tag":74,"props":329,"children":331},{"className":330},[],[332],{"type":19,"value":333},"leadgen_id",{"type":19,"value":158},{"type":14,"tag":74,"props":336,"children":338},{"className":337},[],[339],{"type":19,"value":340},"form_id",{"type":19,"value":158},{"type":14,"tag":74,"props":343,"children":345},{"className":344},[],[346],{"type":19,"value":347},"page_id",{"type":19,"value":158},{"type":14,"tag":74,"props":350,"children":352},{"className":351},[],[353],{"type":19,"value":354},"created_time",{"type":19,"value":356}," (Meta timestamp)",{"type":14,"tag":56,"props":358,"children":359},{},[360,366],{"type":14,"tag":74,"props":361,"children":363},{"className":362},[],[364],{"type":19,"value":365},"lead.raw",{"type":19,"value":367}," — the raw Graph API response",{"type":14,"tag":15,"props":369,"children":370},{},[371],{"type":19,"value":372},"Meta receives its acknowledgement immediately; the pipeline is then executed from a durable queue (with retries), which avoids exceeding the response deadline imposed by Meta.",{"type":14,"tag":29,"props":374,"children":376},{"id":375},"typical-use-case",[377],{"type":19,"value":378},"Typical use case",{"type":14,"tag":380,"props":381,"children":383},"pre",{"code":382},"[Start · Facebook Lead Ads]──▶[agent: qualify]──▶[filter: hot lead?]\n                                               ├─▶[CRM connector: create the record]\n                                               └─▶[send: immediate follow-up]\n",[384],{"type":14,"tag":74,"props":385,"children":386},{"__ignoreMap":7},[387],{"type":19,"value":382},{"type":14,"tag":15,"props":389,"children":390},{},[391,393,398,400,405],{"type":19,"value":392},"The agent qualifies the lead from ",{"type":14,"tag":74,"props":394,"children":396},{"className":395},[],[397],{"type":19,"value":227},{"type":19,"value":399}," and ",{"type":14,"tag":74,"props":401,"children":403},{"className":402},[],[404],{"type":19,"value":314},{"type":19,"value":406},"; deterministic filters then route qualified leads to the CRM and hot leads to an immediate email \u002F WhatsApp follow-up.",{"type":14,"tag":29,"props":408,"children":410},{"id":409},"limitations",[411],{"type":19,"value":412},"Limitations",{"type":14,"tag":52,"props":414,"children":415},{},[416,426,451],{"type":14,"tag":56,"props":417,"children":418},{},[419,424],{"type":14,"tag":22,"props":420,"children":421},{},[422],{"type":19,"value":423},"Meta rate limits",{"type":19,"value":425}," — the Graph API has rate limits. For high volumes, plan for a buffer.",{"type":14,"tag":56,"props":427,"children":428},{},[429,434,436,442,444,449],{"type":14,"tag":22,"props":430,"children":431},{},[432],{"type":19,"value":433},"Permissions (personal app mode)",{"type":19,"value":435}," — your app must have the ",{"type":14,"tag":74,"props":437,"children":439},{"className":438},[],[440],{"type":19,"value":441},"leads_retrieval",{"type":19,"value":443}," permission, which Meta can revoke if the app is not validated. Follow Meta's ",{"type":14,"tag":22,"props":445,"children":446},{},[447],{"type":19,"value":448},"App Review",{"type":19,"value":450}," process.",{"type":14,"tag":56,"props":452,"children":453},{},[454,459],{"type":14,"tag":22,"props":455,"children":456},{},[457],{"type":19,"value":458},"No retroactive fetch",{"type":19,"value":460}," — betool does not retrieve leads submitted before the webhook was set up. For that, export and load them via a one-time script.",{"title":7,"searchDepth":462,"depth":462,"links":463},2,[464,465,466,467,468,469],{"id":31,"depth":462,"text":34},{"id":47,"depth":462,"text":50},{"id":141,"depth":462,"text":144},{"id":199,"depth":462,"text":202},{"id":375,"depth":462,"text":378},{"id":409,"depth":462,"text":412},"markdown","content:en:docs:2.canaux:7.facebook-leads.md","content","en\u002Fdocs\u002F2.canaux\u002F7.facebook-leads.md","en\u002Fdocs\u002F2.canaux\u002F7.facebook-leads","md",[477],{"title":478,"_path":479,"children":480},"En","\u002Fen",[481],{"title":482,"_path":483,"children":484},"Docs","\u002Fen\u002Fdocs",[485,498,524,552,565,581,594,655],{"title":486,"_path":487,"children":488},"Getting started","\u002Fen\u002Fdocs\u002Fdemarrer",[489,492,495],{"title":490,"_path":491},"Welcome","\u002Fen\u002Fdocs\u002Fdemarrer\u002Fbienvenue",{"title":493,"_path":494},"Create an account","\u002Fen\u002Fdocs\u002Fdemarrer\u002Fcreer-un-compte",{"title":496,"_path":497},"Connect an LLM key","\u002Fen\u002Fdocs\u002Fdemarrer\u002Fbrancher-llm",{"title":499,"_path":500,"children":501},"Channels","\u002Fen\u002Fdocs\u002Fcanaux",[502,505,508,511,514,517,520,521],{"title":503,"_path":504},"Channels overview","\u002Fen\u002Fdocs\u002Fcanaux\u002Fvue-densemble",{"title":506,"_path":507},"Real-time telephony","\u002Fen\u002Fdocs\u002Fcanaux\u002Ftelephone",{"title":509,"_path":510},"Email","\u002Fen\u002Fdocs\u002Fcanaux\u002Femail",{"title":512,"_path":513},"Web chat widget","\u002Fen\u002Fdocs\u002Fcanaux\u002Fchat-widget",{"title":515,"_path":516},"HTTP Webhook","\u002Fen\u002Fdocs\u002Fcanaux\u002Fwebhook",{"title":518,"_path":519},"Messaging (WhatsApp, Messenger, Telegram, Mattermost)","\u002Fen\u002Fdocs\u002Fcanaux\u002Fmessageries",{"title":8,"_path":4},{"title":522,"_path":523},"Schedule (cron)","\u002Fen\u002Fdocs\u002Fcanaux\u002Fschedule",{"title":525,"_path":526,"children":527},"Pipelines","\u002Fen\u002Fdocs\u002Fpipelines",[528,531,534,537,540,543,546,549],{"title":529,"_path":530},"The Visual Editor","\u002Fen\u002Fdocs\u002Fpipelines\u002Fediteur-visuel",{"title":532,"_path":533},"AI Agents","\u002Fen\u002Fdocs\u002Fpipelines\u002Fagents",{"title":535,"_path":536},"Deterministic Operators","\u002Fen\u002Fdocs\u002Fpipelines\u002Foperateurs",{"title":538,"_path":539},"Flow Control","\u002Fen\u002Fdocs\u002Fpipelines\u002Fcontrole-flux",{"title":541,"_path":542},"Code Steps","\u002Fen\u002Fdocs\u002Fpipelines\u002Fcode-step",{"title":544,"_path":545},"Sub-pipelines","\u002Fen\u002Fdocs\u002Fpipelines\u002Fsous-pipelines",{"title":547,"_path":548},"No-code actions","\u002Fen\u002Fdocs\u002Fpipelines\u002Factions-no-code",{"title":550,"_path":551},"Knowledge base","\u002Fen\u002Fdocs\u002Fpipelines\u002Fbase-de-connaissances",{"title":553,"_path":554,"children":555},"Supervision","\u002Fen\u002Fdocs\u002Fsupervision",[556,559,562],{"title":557,"_path":558},"Execution History","\u002Fen\u002Fdocs\u002Fsupervision\u002Fexecutions",{"title":560,"_path":561},"Credits & Metering","\u002Fen\u002Fdocs\u002Fsupervision\u002Fcredits-metering",{"title":563,"_path":564},"Benchmarks","\u002Fen\u002Fdocs\u002Fsupervision\u002Fbenchmarks",{"title":566,"_path":567,"children":568},"Security","\u002Fen\u002Fdocs\u002Fsecurite",[569,572,575,578],{"title":570,"_path":571},"Security principles","\u002Fen\u002Fdocs\u002Fsecurite\u002Fprincipes",{"title":573,"_path":574},"Strict multi-tenancy","\u002Fen\u002Fdocs\u002Fsecurite\u002Fmulti-tenant",{"title":576,"_path":577},"GDPR audit & access log","\u002Fen\u002Fdocs\u002Fsecurite\u002Faudit-rgpd",{"title":579,"_path":580},"Sovereign deployment","\u002Fen\u002Fdocs\u002Fsecurite\u002Fdeploiement-souverain",{"title":582,"_path":583,"children":584},"Developers","\u002Fen\u002Fdocs\u002Fdeveloppeurs",[585,588,591],{"title":586,"_path":587},"Admin API","\u002Fen\u002Fdocs\u002Fdeveloppeurs\u002Fapi-admin",{"title":589,"_path":590},"Outbound webhooks","\u002Fen\u002Fdocs\u002Fdeveloppeurs\u002Fwebhooks-sortants",{"title":592,"_path":593},"Drive betool from Claude (MCP)","\u002Fen\u002Fdocs\u002Fdeveloppeurs\u002Fmcp",{"title":595,"_path":596,"children":597},"Integrations","\u002Fen\u002Fdocs\u002Fintegrations",[598,601,604,607,610,613,616,619,622,625,628,631,634,637,640,643,646,649,652],{"title":599,"_path":600},"Integrations overview","\u002Fen\u002Fdocs\u002Fintegrations\u002Fvue-densemble",{"title":602,"_path":603},"Stripe","\u002Fen\u002Fdocs\u002Fintegrations\u002Fstripe",{"title":605,"_path":606},"GitHub","\u002Fen\u002Fdocs\u002Fintegrations\u002Fgithub",{"title":608,"_path":609},"Google","\u002Fen\u002Fdocs\u002Fintegrations\u002Fgoogle",{"title":611,"_path":612},"LinkedIn Ads","\u002Fen\u002Fdocs\u002Fintegrations\u002Flinkedin-ads",{"title":614,"_path":615},"Kavkom","\u002Fen\u002Fdocs\u002Fintegrations\u002Fkavkom",{"title":617,"_path":618},"Jira","\u002Fen\u002Fdocs\u002Fintegrations\u002Fjira",{"title":620,"_path":621},"Slack","\u002Fen\u002Fdocs\u002Fintegrations\u002Fslack",{"title":623,"_path":624},"SMS","\u002Fen\u002Fdocs\u002Fintegrations\u002Fsms",{"title":626,"_path":627},"Enable Banking (open banking)","\u002Fen\u002Fdocs\u002Fintegrations\u002Fenable-banking",{"title":629,"_path":630},"CRM, marketing & productivity","\u002Fen\u002Fdocs\u002Fintegrations\u002Fcrm-marketing",{"title":632,"_path":633},"HeyGen (video)","\u002Fen\u002Fdocs\u002Fintegrations\u002Fheygen",{"title":635,"_path":636},"La Poste","\u002Fen\u002Fdocs\u002Fintegrations\u002Fla-poste",{"title":638,"_path":639},"Industry CRM (beTool Application, Qhare)","\u002Fen\u002Fdocs\u002Fintegrations\u002Fcrm-metier",{"title":641,"_path":642},"Mitti (field inspections)","\u002Fen\u002Fdocs\u002Fintegrations\u002Fmitti",{"title":644,"_path":645},"Meta (Messenger, Pages, Meta Ads)","\u002Fen\u002Fdocs\u002Fintegrations\u002Fmeta",{"title":647,"_path":648},"Onoff Business (Beta)","\u002Fen\u002Fdocs\u002Fintegrations\u002Fonoff",{"title":650,"_path":651},"Smart Life \u002F Tuya (connected devices)","\u002Fen\u002Fdocs\u002Fintegrations\u002Fsmart-life",{"title":653,"_path":654},"beTool products (Desktop, Kiosk, Terminal)","\u002Fen\u002Fdocs\u002Fintegrations\u002Fproduits-betool",{"title":656,"_path":657,"children":658},"Use cases","\u002Fen\u002Fdocs\u002Fcas-usage",[659,662,665,668,671,674],{"title":660,"_path":661},"Typical business agents","\u002Fen\u002Fdocs\u002Fcas-usage\u002Fvue-densemble",{"title":663,"_path":664},"CFO IA","\u002Fen\u002Fdocs\u002Fcas-usage\u002Fcfo-ia",{"title":666,"_path":667},"COO IA","\u002Fen\u002Fdocs\u002Fcas-usage\u002Fcoo-ia",{"title":669,"_path":670},"CTO IA","\u002Fen\u002Fdocs\u002Fcas-usage\u002Fcto-ia",{"title":672,"_path":673},"Product Manager IA","\u002Fen\u002Fdocs\u002Fcas-usage\u002Fproduct-manager-ia",{"title":675,"_path":676},"Personal assistant","\u002Fen\u002Fdocs\u002Fcas-usage\u002Fassistant-personnel"]