update_linkedin_lead_form
Edit or archive a LinkedIn lead gen form destructive
Description
Edit a LinkedIn lead gen form — name, headline, description, questions, privacy policy, disclaimer, consents, thank-you message / button / landing page — or retire it with state:"ARCHIVED". LinkedIn allows every field while no running ad uses the form; once a live ad does, only headline, description, disclaimer, privacy policy, the thank-you fields and state can change, and anything else is refused here by name. Changing the QUESTIONS can break a CRM that already mapped the form, so tell the user. Read back from LinkedIn. Free.
Parameters
| Parameter | Type | Description |
|---|---|---|
formIdrequired | string | from list_linkedin_lead_forms or create_linkedin_lead_form |
adAccountId | string | ad account that owns the form; use this or pageId |
pageId | string | company Page id that owns the form, from list_linkedin_pages; omit when one Page is shared |
name | string | form name shown in Campaign Manager |
headline | string | title of the form people see |
description | string | form description shown under the headline |
questions | 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 | privacy policy URL shown on the form |
legalDisclaimer | string | disclaimer text, 1 to 2000 characters |
consents | object[] | consent checkbox texts, or {text, required: true} for a mandatory one |
thankYouMessage | string | message shown to the person after they submit the form |
thankYouLandingPage | string | URL the thank-you button opens |
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 |
state | "PUBLISHED" | "ARCHIVED" | PUBLISHED keeps the form live; ARCHIVED retires it |
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/update_linkedin_lead_form.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"update_linkedin_lead_form","arguments":{"formId":"<string>"}}}
CLI
hermoso call update_linkedin_lead_form --json '{"formId":"<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_linkedin_lead_formCreate a LinkedIn lead gen formupdate_linkedin_ads_creativeEdit a LinkedIn ad (copy, landing page, button, lead form)preview_linkedin_adPreview a LinkedIn ad + its review statusset_linkedin_ads_trackingLinkedIn ads dynamic UTM trackingdelete_linkedin_ads_objectDelete a LinkedIn campaign group / campaign / adcreate_linkedin_conversion_ruleCreate a LinkedIn conversion rulelist_linkedin_conversion_rulesList LinkedIn conversion rulesupdate_linkedin_conversion_ruleUpdate or disable a LinkedIn conversion ruleassociate_linkedin_conversion_campaignsAttach campaigns to a LinkedIn conversion rulesend_linkedin_conversionsSend conversions to LinkedIn (Conversions API)