Function Flow

Function Flow

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.

 

Create Function 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.

 



Function Flow Example

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.

 

Call Function Flow

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 Outputs

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.



    • Related Articles

    • Sub Flow

      Same as "Canvas", "Sub Flow" can also help with step organization. "Canvas" organizes steps in a specific Subflow while "Sub Flow" organizes steps in the whole chatbot/flow. Create Sub Flow Go "Flows" from the sidebar, click "+ New Sub Flow", choose ...
    • Flow Builder Overview

      This section will give you an overall idea about how to use the OCP flow builder. You can open a flow and try side by side when you learn it. IMPORTANT - ? Please make sure you go through every detail on this page before you start building bots. ...
    • Navigation Bar, Sidebar & Flow Builder

      TIP - You might want to create a flow first, then open the flow side by side when you read the following instruction (Facebook flow used as an example). After entering a flow, this is what you will see: Navigation Bar On the top, there is a ...
    • Use Ecommerce in the Flow

      You can check this "Ecommerce Template" for inspiration after you setup your ecommerce system. Show Products In a Send Message step, find "Ecommerce"(1), "Product"(2) and then click "Edit"(3). Buttons added at area 4 will show under each product. And ...
    • Switch the flow from the Testing phone number to your business phone number

      In this step, you will be able to switch the chatbot flow you build with the testing number to your own business number you just added. Unlink the bot In this step, you can first unlink the bot from your testing number. When you click the unlink ...