Function Flow
Last updated
Last updated
A function flow is a fantastic way of preventing you to create repetitive flows over and over again. Think of when you need ask for emails or phone numbers.With a function flow you will be able to send the user to that one flow, then once completed the user can continue exactly from the point they left off in the previous flow.
To create a function flow go to Flows from your left-hand menu, then press the button + New Sub Flow.
Select the Function flow type and name your flow. Once done press the button Create and you will be taken to the flow builder.
Once inside the flow builder and wanting to insert a new block you will see that you have all the blocks at your disposal just like in a regular flow, and one extra called Output.
This output is what makes this function flow so unique as it gives you the ability to send the user back to the previous flow (if you like) exactly where he or she left off.Let’s create an example where we ask the user for an email and add an output module to it;
As you can see a simple flow but with the benefit this is the only function of the flow, asking for an email.
After this flow is finished you can return the user to the previous flow to continue the conversation there if you like.Let us show you how that could look like;
There are many use cases for function flows so you can get as creative as you like.
Multiple Output Steps are supported in your Function Flow.When you call a Function Flow with multiple outputs, the titles of those outputs will show in the Goto Step and you can handle it accordingly.