Flochat
API DocumentsWebsiteLog in
  • Start Here
    • Welcome 👋
    • Getting Support
    • FAQ's
    • Pricing Plans
  • GETTING STARTED GUIDE
    • Introduction
    • Set your goals
    • Building your chatbot
    • Maintain success
  • CHATBOT GUIDE FOR BEGINNERS
    • Introduction
    • What is a chatbot
    • Channels
    • Benefits & importance
    • Use cases
  • PLATFORM
    • Introduction
      • Change Password
      • Forgot Password
      • Getting Started Checklist
      • Platform Overview
      • Workspaces & Members
      • Integrations
        • Stripe
        • PayPal
        • Cloudinary
        • Shopify
        • Facebook Business
        • Calendly
        • Slack
        • Google Sheets
        • Data Store
        • Twilio
        • Signalwire
        • Email (SMTP / Gmail)
        • MailChimp
        • VideoSdk
      • Ecommerce
        • Setup Ecommerce
        • Use Ecommerce in the Flow
    • Connect to Channels
    • Website Chat
    • WhatsApp + 360Dialog
    • Email Templates
    • WhatsApp Cloud
  • Flow Builder
    • Flow builder overview
    • Field variable
    • Steps
      • Steps
      • Question step
      • Variable Operation
      • JSON Operation
      • External Request
      • Send Notification
      • Condition Step
      • Split Step
      • Go To Step
    • Sub Flows
      • Sub Flow
      • Workflow
      • Function Flow
  • Artificial Intelligence
    • OpenAI | ChatGPT
      • Connect OpenAI
      • Chat with AI Basics
      • What are Functions
        • Functions in Flows
        • Capturing Data
        • Generate function with AI
        • Combine chat completions & Functions
      • What are Embeddings
        • Create Embeddings
        • Add Embeds to your Flow
        • Error Handling
        • Combine Embeddings with Functions
    • GitBook Lens AI
  • Mini Apps
    • Stealth Seminar
  • Users
    • Live Chat
    • Bot Users
  • Bot Automation
    • Keywords
    • Sequences
    • Triggers
    • Comment Keywords
  • Contents
    • Custom Fields
    • Tags
    • One Time Notification (Facebook)
    • Personas
    • Menus
    • Customer Feedback (Facebook)
  • Tools
    • Error Logs
    • Testers
    • Admins
    • Multi Languages
    • Inbound Webooks
  • Broadcasting
    • Broadcasts
  • Developers
    • Chatbot API
  • BETA LAUNCH
    • Day One
Powered by GitBook
On this page
  • Create Function Flow
  • Function Flow Example
  • Call Function Flow
  • Multiple Outputs
  1. Flow Builder
  2. Sub Flows

Function Flow

PreviousWorkflowNextOpenAI | ChatGPT

Last updated 2 years ago

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.