Skip to content
Denne side findes på dansk. Læs på dansk
HeyMySocial

save_landing_page

Save a landing page draft

writes found with search_tools

Create a hosted landing page as a draft, or change an existing draft (pass page_id; only what you send changes): a title, a headline, a few paragraphs of plain text, a lead form (email is always asked; name, phone, company and message are optional), the button text, the consent sentence beside the form's checkbox and the thank-you message.

Returns a signed preview_url, valid for an hour, to show the person. It never puts a page live: publishing is done by a person in the app (request_landing_page_publication gives the link), and a live page must be taken back to draft in the app before it can be changed. Text is shown as plain text, never as markup. Use only true statements from get_brand or the person: no invented prices, numbers, reviews or promises, and a consent sentence that says honestly what the contact is for.

Arguments

NameTypeNeededWhat it is
page_id string no Omit to create a new draft.
title string no Required for a new page: its working title, up to 120 characters.
slug string no The last part of the address: lower-case letters, numbers and hyphens. Default: made from the title.
headline string no The line at the top of the page. Needed before the page can be published.
body array of string no Up to 12 paragraphs of plain text. Replaces the body.
form_fields array of string no Which fields the form asks for. Email is always included. Default name, email, phone.One of: name, email, phone, company, message
cta string no The form button text, up to 60 characters.
consent_text string no The sentence beside the consent checkbox. Empty: the workspace's own text is used.
thank_you string no What the visitor reads after sending the form.
campaign_id string no The campaign whose leads this page collects.
request_key string no For a new page: any unique string, so a retry does not create a second page.

Like every workspace tool it also takes workspace: a workspace id or slug. Leave it out to use the workspace the person last worked in.

How it behaves

  • It changes something in the workspace, within what the signed-in person's role allows.
  • It is not in the first list an assistant sees; the assistant finds it with search_tools and runs it with execute_tools.

How tools behave: confirmation, review links, errors and limits

create_tracking_link · get_landing_page · list_landing_pages · list_tracking_links · manage_tracking_links · manage_tracking_sites · request_landing_page_publication