Change one email of a flow
updateFlowStepChange one email of an automated flow that is off, by its place in the flow (readFlows lists them): how long it waits, its brief, its subject, whether it is written for each shopper when it sends or written now, what stops it, or whether it is sent at all. A written email whose brief changes, or that stops being personal, is written again. The flow has to be off, as for draftFlow; turning it on is enableFlow, which asks the person.
Only for a workspace with subscribed email contacts.
A change inside Kooga: it runs at once, as the person.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | Which flow | |
| brief | No | What it does and says. Never invent discounts, prices, stock or urgency | |
| enabled | No | false skips this email and goes on to the next | |
| subject | No | Its subject line; null lets it be written | |
| personal | No | true: written for each shopper when it sends; false: written now, to read first | |
| position | Yes | Which email, by its place in the flow: 1 is the first | |
| stopWhen | No | What skips it, in place of what it had; an unsubscribed contact is always skipped | |
| waitHours | No | Hours to wait: the first after the flow starts, the rest after the email before | |
| workspaceId | No | The workspace, as listWorkspaces gives it (its id or slug). Leave it out when this connection reaches one workspace. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| changed | Yes | ||
| enabled | Yes | ||
| subject | Yes | ||
| personal | Yes | ||
| position | Yes | ||
| waitHours | Yes |