hermosodocs

update_linkedin_lead_form

Edit or archive a LinkedIn lead gen form destructive

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

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

ParameterTypeDescription
formIdrequiredstringfrom list_linkedin_lead_forms or create_linkedin_lead_form
adAccountIdstringad account that owns the form; use this or pageId
pageIdstringcompany Page id that owns the form, from list_linkedin_pages; omit when one Page is shared
namestringform name shown in Campaign Manager
headlinestringtitle of the form people see
descriptionstringform description shown under the headline
questionsobject[]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]}
privacyPolicyUrlstringprivacy policy URL shown on the form
legalDisclaimerstringdisclaimer text, 1 to 2000 characters
consentsobject[]consent checkbox texts, or {text, required: true} for a mandatory one
thankYouMessagestringmessage shown to the person after they submit the form
thankYouLandingPagestringURL 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.

All 759 Ad campaign management tools · tools.json