Change a Flow's plan before launch
postfjord_update_goalThis is a Flow in Postfjord (the person may say "start a flow", "a flow" or "my flows"): changes the plan of a proposed goal: drop or rewrite a post, move a date, change the keyword, the DM, the page or an email. Send the whole plan back as postfjord_get_goal returned it, with the changes the person asked for; a part left out or set to null is dropped. Postfjord cleans it again: a keyword or page address another automation or page already uses is refused. The answer has the new plan and a new planHash: show the person what changed. Only a proposed goal can change; after the launch each part is changed on its own screen in the app. Nothing is created or sent.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"goalId": "<goalId>",
"plan": "<plan>"
},
"name": "postfjord_update_goal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan | Yes | The whole plan: posts, automation (with any follow check), page (with what its form asks), emails and birthdayEmail. | |
| goalId | Yes | The goal id from postfjord_plan_goal or postfjord_list_goals. |