Rename or reassign a DM flow
flows_updateRenames a DM flow, moves it to a different connected Instagram account, or changes what happens when somebody triggers it a second time. It does not change the flow's steps — use flows_set_steps for those. Reversible by calling it again with the old value, and free of any plan check.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | The flow's new name. | |
| flowId | Yes | The id of the flow to change. | |
| reentry | No | What happens when somebody who has already been through this flow sends its trigger word again. restart is the default and what every flow does today: the chat starts over from the top and the answers from last time are dropped. keep_answers starts over but remembers what they told you, so a returning customer can be sent down a different path instead of being asked their size a third time. once leaves them alone — the flow stays quiet and whatever else you have set up answers them instead, which is what a welcome sequence or a one-per-person offer wants. Change it when the customer describes either of those; do not change it on a guess. | |
| instagramAccountId | No | The connected account the flow should answer for. Pass null to have it answer for all of them. |