Stop a Flow
postfjord_cancel_goalStop or close a Postfjord Flow: cancel unsent posts, switch off DM automation and pause emails; for step-by-step Flows, close signups or turn the Flow off as a draft.
Instructions
This is a Flow in Postfjord (the person may say "start a flow", "a flow" or "my flows"): stops a goal: posts that have not gone out are cancelled, the DM automation is switched off and the emails pause. Contacts, tags, consents and posts already out stay. A Flow Bo planned is stopped for good: its signup form is switched off and its page goes offline. One Bo planned that never went live (proposed or built) is thrown away with its drafts instead, keeping any part the person switched on or scheduled themselves. A Flow the person built step by step (builder true) is turned off instead: it becomes a draft that can be changed and go live again with postfjord_launch_goal, and its page stays online unless takePageDown is true. With mode close, a Flow built step by step closes to new signups instead: nobody new joins (posts not out yet are cancelled, the DM switches off, the signup form closes), while the people already in keep getting every email, birthday emails included; it stays live with closedAt set, and postfjord_launch_goal opens it again. Ask the person which one they want, and confirm first. Needs the Publish scope; works while the workspace is paused.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Only for a Flow built step by step: close keeps the emails going to the people already in; stop (the default) pauses them too. | |
| goalId | Yes | The goal id from postfjord_plan_goal or postfjord_list_goals. | |
| takePageDown | No | Only for a Flow built step by step: also take its landing page and signup form offline. Links to the page stop working. |