Primechat
API DocumentsWebsiteLog in
  • START HERE👋
  • FAQ's
  • Pricing Plans
  • Getting Support
  • PLATFORM
  • Registration
  • Overview
  • Workspace & Members
  • CHATBOT GUIDE FOR BEGINNERS
  • Introduction
  • What is a chatbot
  • Benefits & importance
  • Use cases
  • 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 Flow
    • Sub Flow
    • Workflow
    • Function Flow
  • CHATBOT CHANNELS
    • Omni+Channel Chabot
    • Webchat Chatbot
    • Facebook Chatbot
      • Facebook Lead Generation
    • Instagram Chatbot
    • Telegram Chatbot
    • Slack Chatbot
    • Wechat Chatbot
    • WhatsApp, SMS & Voice ChatBot
      • WhatsApp Cloud API
      • Set Up Facebook App
      • Get Your Webhook From PrimeChat
      • Start With Test Numbers
      • Build WhatsApp Chatbot With Test WhatsApp Number
      • Supported Message Types
      • Template Message
      • How To Use Template Message
      • WABA: Com Bot
    • Google Business Messenger
  • INTEGRATIONS
    • WooCommerce
    • Stripe
  • OPENAI & PRIMECHAT
    • Create chat completion
    • ChatGPT & PrimeChat Use Cases
    • How to fine-tune ChatGPT for your business
    • Generate the chatbot flow using A.I
    • Power up your live chat with the AI assistant
    • Reply to Facebook and Instagram post comments
    • OpenAI embeddings & building your knowledge base
Powered by GitBook
On this page

Was this helpful?

Flow builder overview

This section will give you an overall idea about how to use the chatbot flow builder. You can open a flow and try side by side when you learn it.

PreviousFLOW BUILDERNextField variable

Last updated 1 year ago

Was this helpful?

👍 Please make sure you go through every detail on this page before you start building bots.

Flow type

To begin with, you need to create a flow. Currently, Primechat provides you with 11 types of flow:

​

​Sub Flow Type

Flow consists of sub-flows. There are three types of sub flow:

Sub Flow

Usage

​

general sub flow, varies in flow type

​

call / trigger background tasks

​

process repetitive tasks

Step Type

Sub Flow consists of steps. There are 8 types of steps:

Step

Usage

​

​

display information

​

​

ask question and wait for user input

​

​

process data and tasks via integrations, APIs, notifications...

​

​

go different steps depend on conditions

​

​

go different steps depend on probability

​

​

send full email instead of short email notification

​

​

jump to a step or sub flow rather than using a line connector

​

define output for the function flow

The differences among different types of flow are Flow Setup, Send Message Step and Question Step. Each channel has its own limitation of message types. For example, you can display a product gallery in Facebook Messenger while the SMS channel doesn't support that.

Publish Version & Draft Version

Each flow has a Publish Version and a Draft Version.

  • Your bot talks to clients using the publish version.

  • Any editing of steps will be saved automatically to the draft version. you can edit your flow without influencing the bot and test the draft version before you "Publish".

From Publish Version to Draft Version, 1 way:

  • click "Edit Flow" on the upper left/right corner of the flow to enter the draft version

You must enter the Draft Version before you edit a flow.

From Draft Version to Publish Version, three ways:

  • click "Publish" to save your draft to a new Publish Version

  • discard changes and revert to the newest Publish Version

  • keep the draft and switch to Publish Version (by doing this, you can have a look at your publish version, and when you click edit and come back, your draft is still here)

Don't worry if you accidentally quit during your editing; the system will keep all your modifications in the Draft Version. So when you come back, simply enter Draft Version again, and you can see your modifications remain intact.

You might want to create a test flow first, then open the test flow side by side when you read the following instructions.

After entering a flow, this is what you will see:

Preview Feature

Please note that the "Preview" feature is not supported in all channels. Channels that currently support "Preview": Web, Facebook, Instagram, Telegram, WhatsApp, Line and Viber.

On the left-hand side, there is a sidebar. From top to bottom there are:

Section

Usage

Flow Builder

build subflows here

Flows

manage all your subflows

Analytics

bot data analysis

Live Chat

inbox for all the conversations, make a human reply here

Bot Users

manage bot user profile. import, export, search or delete bot users

Automation

manage keywords, sequences, triggers and comments

Contents

manage custom fields, tags, OTN, personas, user menus and customer feedback

Tools

manage error logs, draft version tester, bot admins, widgets, multiple language and shortcuts, Facebook Ads, inbound webhooks

Broadcasts

send/manage broadcasts

Settings

(some are owner only) manage bot users limit, Facebook greeting text, chat widget customization, ice breakers and authorized websites

Features in Automation, Contents, Tools and Settings can be different from channel to channel. In Settings, usually, the owner can see all the settings like bot user limit, while admin and member-only see part of them

Change Themes

Before you start, you can pick your favourite theme by clicking "Change Theme":

choose one of them and "Apply Change".

PS: jellybean is the most popular

Hide Mini-map or Tooltips

With the tooltip, you can see description for every feature you see in the flow builder like this:

The tooltip includes a title, description, image, video link and documentation link. It is friendly to new users. For users who are already familiar with the system, you can choose to disable the tooltip by clicking the "Hide Flow Tooltips" option.

Basic Operations to Build Flows

Click on a step to edit it, and "Edit Panel" will show next to the sidebar.

Click the step name to edit it. You can choose the next step at the bottom of the edit panel or drag connectors from the circle to the tile of another step.

Connect Steps:

Create a new step or choose an existing one to be the next step. For dragging connectors, see below:

When you choose an existing next step, a line will be connected from the current step to the next. Too many lines can be messy, get a Goto step to help you organize! In a Goto step, you can nominate the next step without creating a line connector.

Select Multiple Steps (Move to Canvas/Sub Flow)

We've just learned how to move the builder by clicking and dragging. For selecting multiple steps, it's a bit similar. Hold the Shift key, then click and drag to cover the steps you would like to select:

Alternatively, ctrl + click them one by one:

The selected step has a green border. After selecting multiple steps, click "Create New Canvas" to organize these steps in a canvas box or move them to an existing subflow. To delete multiple steps, hit the "delete" button on your keyboard after choosing several steps:

Delete on Mac On a Mac OS computer, hold fn and hit Delete to remove steps. Or use the "Delete Selected" button in the editing panel.

The green start point is the entrance of a subflow. It can't be moved to other subflows or deleted even if you include it in a group of steps.

Copy and Paste Steps

After you select a step or multiple steps, use Ctrl + C to copy and Ctrl + V to paste it to:

  • different subflows in the same bot/flow

  • different bots/flows but the same channels (associate custom fields will be created automatically)

  • different channels (unsupported features will be removed)

Please note that you can only paste ONCE. Copy again for another paste. This is to prevent bulk pasting which can quickly blow up the flow.

That's all about it for Flow Builder Overview!! 🎉 Try building your first flow now. 😎

step
step
step
step
step
step
step