hermosodocs

create_linkedin_lead_form

Create a LinkedIn lead gen form

Area: LINKEDIN GAP SWEEP PHASE 1 · Ad campaign management. Generated from the running MCP server, like the rest of the tool reference.

Description

Create a LinkedIn LEAD GEN FORM — the form a lead gen ad opens, prefilled from the member’s LinkedIn profile so they submit in two taps. Owned by an ad account (adAccountId, the usual choice for ads) or a company Page (pageId). Give it a name (only shown in Campaign Manager), the headline people see, the questions (predefined fields LinkedIn prefills, plus custom text or multiple-choice questions), a privacy policy URL, optional consent checkboxes, a thank-you message and a thank-you button with its landing page. Created PUBLISHED by default — LinkedIn still lets you edit every field until a running ad uses it. Read back from LinkedIn before you are told it exists. Then attach it with create_linkedin_ads_creative(leadFormId) under a LEAD_GENERATION campaign; the leads it collects are read with list_linkedin_leads. A form cannot spend money. Free.

Parameters

ParameterTypeDescription
adAccountIdstringown the form by this ad account
pageIdstringor own it by a company Page (from list_linkedin_pages)
namerequiredstringinternal name, shown in Campaign Manager
headlinerequiredstringthe title of the form people see
descriptionstringform description shown under the headline (optional)
questionsrequiredobject[]the fields to ask, in order: predefined names LinkedIn prefills from the member profile (FIRST_NAME, LAST_NAME, EMAIL, WORK_EMAIL, PHONE_NUMBER, COMPANY_NAME, JOB_TITLE, SENIORITY, COMPANY_SIZE, INDUSTRY, CITY, COUNTRY, ZIP_CODE, LINKEDIN_PROFILE_LINK …; friendly spellings like "work email" work) and/or custom questions {question, type:"text", maxLength?} or {question, options:[2–15 choices]}
privacyPolicyUrlstringyour privacy policy URL — LinkedIn shows it on the form
legalDisclaimerstring1–2000 characters
consentsobject[]consent checkbox texts, or {text, required:true}
thankYouMessagestringmessage shown to the person after they submit the form
thankYouLandingPagestringwhere the thank-you button sends people
thankYouCta"VISIT_COMPANY_WEBSITE" | "LEARN_MORE" | "VIEW_NOW" | "DOWNLOAD_NOW" | "TRY_NOW"thank-you button label: visit website, learn more, view now, download or try now
hiddenFieldsobjecttracking values carried on every lead, {name: value}, max 20
localestringdefault en_US
state"PUBLISHED" | "DRAFT"default PUBLISHED

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_linkedin_lead_form.

MCP (tools/call)

{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"create_linkedin_lead_form","arguments":{"name":"<string>","headline":"<string>","questions":"<array>"}}}

CLI

hermoso call create_linkedin_lead_form --json '{"name":"<string>","headline":"<string>","questions":"<array>"}'

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.

All 759 Ad campaign management tools · tools.json