# Hermoso: create_linkedin_lead_form · Hermoso developer docs

> Machine-readable twin of https://hermoso.ai/docs/reference/ads/create_linkedin_lead_form/. Generated from the shipped page. Do not edit by hand.
> Full agent guide: https://hermoso.ai/llms.txt · MCP: https://app.hermoso.ai/mcp

[Docs](https://hermoso.ai/docs/) / [Tool reference](https://hermoso.ai/docs/reference/) / [Ad campaign management](https://hermoso.ai/docs/reference/ads/) / create_linkedin_lead_form

# `create_linkedin_lead_form`

Create a LinkedIn lead gen form

Area: LINKEDIN GAP SWEEP PHASE 1 · [Ad campaign management](https://hermoso.ai/docs/reference/ads/). Generated from the running MCP server, like the rest of the [tool reference](https://hermoso.ai/docs/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

Parameter Type Description

`adAccountId` `string` own the form by this ad account

`pageId` `string` or own it by a company Page (from list_linkedin_pages)

`name` required `string` internal name, shown in Campaign Manager

`headline` required `string` the title of the form people see

`description` `string` form description shown under the headline (optional)

`questions` required `object[]` 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]}

`privacyPolicyUrl` `string` your privacy policy URL — LinkedIn shows it on the form

`legalDisclaimer` `string` 1–2000 characters

`consents` `object[]` consent checkbox texts, or {text, required:true}

`thankYouMessage` `string` message shown to the person after they submit the form

`thankYouLandingPage` `string` where 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

`hiddenFields` `object` tracking values carried on every lead, {name: value}, max 20

`locale` `string` default 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](https://hermoso.ai/docs/credits/).

## Related tools

- [create_linkedin_ads_creative](https://hermoso.ai/docs/reference/ads/create_linkedin_ads_creative/) Create a LinkedIn ad (creative, draft)
- [list_linkedin_leads](https://hermoso.ai/docs/reference/publish/list_linkedin_leads/) List LinkedIn leads (form responses)
- [update_linkedin_lead_form](https://hermoso.ai/docs/reference/ads/update_linkedin_lead_form/) Edit or archive a LinkedIn lead gen form
- [update_linkedin_ads_creative](https://hermoso.ai/docs/reference/ads/update_linkedin_ads_creative/) Edit a LinkedIn ad (copy, landing page, button, lead form)
- [preview_linkedin_ad](https://hermoso.ai/docs/reference/ads/preview_linkedin_ad/) Preview a LinkedIn ad + its review status
- [set_linkedin_ads_tracking](https://hermoso.ai/docs/reference/ads/set_linkedin_ads_tracking/) LinkedIn ads dynamic UTM tracking
- [delete_linkedin_ads_object](https://hermoso.ai/docs/reference/ads/delete_linkedin_ads_object/) Delete a LinkedIn campaign group / campaign / ad
- [create_linkedin_conversion_rule](https://hermoso.ai/docs/reference/ads/create_linkedin_conversion_rule/) Create a LinkedIn conversion rule
- [list_linkedin_conversion_rules](https://hermoso.ai/docs/reference/ads/list_linkedin_conversion_rules/) List LinkedIn conversion rules
- [update_linkedin_conversion_rule](https://hermoso.ai/docs/reference/ads/update_linkedin_conversion_rule/) Update or disable a LinkedIn conversion rule

[All 759 Ad campaign management tools](https://hermoso.ai/docs/reference/ads/) · [tools.json](https://hermoso.ai/docs/reference/tools.json)
