Create a signup form (live at once)
postfjord_create_signup_formBuild a public email signup form with double opt-in: share the link, collect contacts, and apply tags automatically when people confirm their subscription.
Instructions
Creates a signup form for the email list, switched on: the answer has its public link, and anyone with the link can sign up. Each person gets an email to confirm first (double opt-in), and the tags go on when they confirm. To plan a whole Flow around a goal (posts, DM, page and emails), use postfjord_plan_goal instead. Confirm the texts with the person first. Needs email switched on (postfjord_mail_overview) and the Publish scope; a workspace has at most 20 forms. On a retry after a timeout or error, send the same idempotency_key: the first answer comes back and nothing is made or sent twice.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| why | No | One line under the phone and birth date fields on what they are used for, for example "We use your phone number and date of birth to book you in and send a gift on your birthday." Required with askPhone or askBirthday. | |
| name | No | An internal name, only the team sees it. | |
| tags | No | Tag names to give people who confirm. A new name makes the tag. | |
| text | No | A line under the heading: what people get and how often. | |
| button | No | The words on the button, for example "Send me the guide". | |
| reward | No | What they get for signing up (a code, a guide link), shown once they confirm. | |
| askName | No | Also ask for a first name. Default false. | |
| heading | No | The heading on the form page. | |
| success | No | What people read after they send it. | |
| askPhone | No | Also ask for a phone number, required on the form. Default false. Needs why. | |
| phoneLabel | No | The label of the phone field, in the page's language. | |
| askBirthday | No | Also ask for the date of birth, required on the form, saved as the contact's birthday so a yearly birthday email can use it. People may write 900314, 1990-03-14 or 14 March 1990; of a whole Swedish personal number only the date is kept. Default false. Needs why. | |
| birthdayLabel | No | The label of the date of birth field, in the page's language. | |
| idempotency_key | No | Your own id for this one action, for example post-20261006-launch. Make a new one for each new thing; send the same one again only when you retry. Left out, the exact same call within 10 minutes counts as a retry. |