Four main steps compose the lifecycle of a flow - flow - Actions performed during the lifecycle of a call. :
- Creating a flow.
- Saving and validating a flow.
- Publishing a flow.
- Assigning a published flow to a number.
A flow can have several versions, allowing you to keep track of any changes over time. Each version will have only one of the following statuses:
Only one version per flow can have the “draft” or “published” status.
When you create a flow from scratch, you will immediately start working on a draft. You can only build or make changes to a flow if it’s in a version with the draft status. No calls can be made or directed to a version with this status.
You can save your draft by clicking the Save button. Clicking Save triggers an automatic error verification. If there are errors, you need to fix them before being able to eventually publish the flow. When there are no errors, the version is validated and can be published at any time.
If at any moment you need to discard a draft, click on More Options [⋮] in the top-right corner of the Studio Editor and then hit Discard version. This action is particularly relevant because it is only possible to have one draft per flow.
Confirm your action when the modal window appears by clicking Discard version.
When you have finished configuring your flow, you must publish it to be able to assign it to one or more phone numbers. Calls made to these phone numbers will then follow the routing rules you have set up in your flow.
To have your flow published:
- Save and validate a draft.
- Click Publish in the top-right corner, and the flow will change to the published status.
From that moment on you can assign your flow to numbers.
Clicking Edit within a published flow will create a copy with the draft status.
You can work on the new draft version while the previous version remains published.
Since there can be only one published version per flow, if you publish this new draft, the previous version will be archived automatically.
A published version of a flow is archived automatically when you create a new draft version and publish it.
You can restore an archived version by clicking on the Restore version button.
A copy will be created as a new draft. You can work on it freely while the archived version remains archived.
You can duplicate an archived version of a flow by clicking the Duplicate button in the top-right corner of the Studio Editor.
A new flow will be created (not a new version) when you fill in the Name and Description text fields and hit Create Flow.
Updated 2 months ago
|Assigning a Flow to a Number|