create_meta_lead_form
Create a Meta instant (lead) form
Description
Create an INSTANT LEAD FORM on a connected Facebook Page — the in-app form a Meta lead ad opens instead of sending someone to a website, so a person can sign up without leaving the app. `questions` takes Meta’s own type names, e.g. ["FULL_NAME","EMAIL","PHONE"]; for anything bespoke pass {type:"CUSTOM", label:"What size fleet do you run?"} and add options:[…] to make it a dropdown. Ask FEWER questions than you think — every extra field costs completions. privacyPolicyUrl is REQUIRED: the form collects real people’s contact details and has to say where their data goes. Optional: headline, contextCard {title, bullets[], buttonText} for the why-should-I screen, thankYou {title, body, buttonType, buttonText, websiteUrl}, locale, followUpActionUrl. CREATING A FORM SPENDS NOTHING and publishes nothing — it is invisible to the public until an ad points at it (create_meta_ad with objective:"OUTCOME_LEADS" + leadFormId), and that ad is created PAUSED. Read the submissions with read_meta_leads. NEEDS pages_manage_ads — see list_meta_lead_forms for what to do if Meta refuses it.
Parameters
| Parameter | Type | Description |
|---|---|---|
namerequired | string | internal name for the form — not shown to the person filling it in |
questionsrequired | object[] | Meta question types as strings ("FULL_NAME","EMAIL","PHONE","COMPANY_NAME","JOB_TITLE","CITY","ZIP","WORK_EMAIL","DATE_TIME"…) or objects {type,label,key,options[]} for CUSTOM |
privacyPolicyUrlrequired | string | REQUIRED — the business’s privacy policy URL (https://…) |
privacyPolicyLinkText | string | link text shown for the privacy policy URL on the form |
pageId | string | which connected Page (required only if the profile has more than one) |
headline | string | headline shown above the questions |
locale | string | form language, e.g. EN_US, ES_ES, PT_BR, DE_DE |
followUpActionUrl | string | https URL the person is sent to after submitting the form |
contextCard | object | {title, bullets[], body, buttonText, style} — the screen shown before the questions |
thankYou | object | {title, body, buttonType, buttonText, websiteUrl} — shown after submitting |
isOptimizedForQuality | boolean | adds a review-and-confirm step: fewer leads, better ones |
blockNonTargeted | boolean | true = hide the form from people the ad's targeting does not match |
trackingParameters | object | extra tracking parameters for the form, as a key/value object |
Example call
Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and POST https://app.hermoso.ai/v1/tools/create_meta_lead_form.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"create_meta_lead_form","arguments":{"name":"<string>","questions":"<array>","privacyPolicyUrl":"<string>"}}}
CLI
hermoso call create_meta_lead_form --json '{"name":"<string>","questions":"<array>","privacyPolicyUrl":"<string>"}'
Credits
Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See Credits & costs.
Related tools
create_meta_adBuild a full Meta ad (campaign -> ad set -> ad, paused)read_meta_leadsRead Meta lead-ad submissionslist_meta_lead_formsList Meta instant (lead) formsarchive_meta_lead_formArchive (or restore) a Meta instant formset_meta_conversions_autoAutomatic sending to a Meta pixelmeta_dataset_qualityCheck a Meta pixel’s Conversions API healthdelete_meta_audienceDelete a Meta custom audiencesend_meta_conversionsSend conversions to a Meta pixel (Conversions API)create_meta_pixelCreate a Meta Pixelget_meta_ad_accountRead a Meta ad account’s billing and status