Skip to main content

Create flows

This guide provides a step-by-step walkthrough for creating a flow on the platform.

Limitation

  • You can add up to 150 nodes in a flow.

To create a flow, follow these steps:

  1. Select the specific environment (Staging, Sandbox, and Production) in which you want to create a flow.

note
  • In the Live environment, the option to create flows is disabled. You can only modify or add flows in the Staging, Sandbox, and Production environments.
  1. Go to Automation > Build > Flow > Create flow.

note

If you have multiple bots created, choose the specific bot for which you intend to build the flow.

  1. Select your preferred options to create a flow.

    create flow

  • Create with AI Copilot: This option allows you to automatically create flows based on your input. It eliminates manual processes and the need for template downloads.
  • Create from template: This option allows you to use pre-built bot templates from Yellow.ai's marketplace to quickly build conversation flow based on your use case instead of creating it from scratch.
  • Start from scratch: This option allows you to manually create a flow using key elements without relying on pre-built templates or automated tools.
  • Create skill: This option allows you to create a flow to run concurrently in the background along with the main flow to perform specific tasks or action.

Generate flow using AI Copilot

Yellow.ai's AI Copilot simplifies flow creation using AI-powered automation, saving time by eliminating manual process. You can design any type of flow just by inputting your requirements in the form of plain text, and it generates the flow based on the provided instructions.

The AI Copilot creates a basic flow with Prompt and Message nodes. You can then customize this flow using Function, Database, and API to suit your specific use case.

For example, you have defined AI Copilot to create a lead generation flow. Once the basic flow is generated, you can edit the flow for advanced features such as storing the lead information in database, adding an API node to connect to an external CRM system.

Use cases of AI copilot

IndustryUsecaseInput required from userAdditional actions to enhance the flow
AirlineBooking and managing flight reservationsName, email, phone number, origin city, destination city, dateAPI call to fetch flights, API call to book the selected flight
Checking flight status and schedule updatesName, email, phone, booking reference numberAPI call to get flight status, API call to add email to receive updates
Assisting with baggage tracking and lost luggage claimName, email, phone, baggage request numberAPI call to track status, API call to send lost luggage claim
Offering personalized travel recommendationsName, email, phone, destination & travel datesAPI call to provide recommendation
AutomotiveScheduling test drives and service appointmentsName, email, phone, car series, appointment type, date and timeAPI call to book the service
Assisting with financing and insurance optionsName, email, phone number, car model, loan option, insurance optionAPI call to send these details
Real EstateProviding information on property listingsName, email, phone, property type, budgetAPI call to fetch the required listings
Assisting with scheduling property viewings and appointmentsName, email, phone, property type, viewing dateAPI call to schedule the meeting
Offering personalized property recommendationsName, email, phone, property type, bedrooms, budgetAPI call to fetch properties
EducationProviding information on coursesName, email, phone, selected courseAPI call to gather more course information or DB store to store
Scheduling demo class for the selected courseName, email, phone, course, preferred date of demo, preferred timeAPI call to schedule / DB to store
Connecting with educators, advisors, and support staffName, email, phone, type of support requiredAPI call to raise request / DB to store

To generate flow using AI, follow these steps:

  1. Go to Automation > Build > Flows > + Create flow > Create with AI Copilot.

  2. Define your flow using the available options:

    drawing

    i. Flow name: Enter the name of the flow.
    ii. Category: Choose a Category where your flow should be generated. To create a new category for your flow click +Create category.
    iii. AI Copilot: Describe the desired outcome of your flow. This will help to design the flow tailored to your requirements.
    iv. Generate Description: Automatically generates the description based on your given details.
    v. Industry: Choose the industry your business belongs to and click Generate.

  • Generating a flow typically takes around 3 to 4 minutes. A basic flow is created with Prompt and Message nodes. Once generated, you can view the created flow under the selected category. You can then customize this flow to suit your specific use case.

Create flow using a template

  1. Go to Automation > Build > Flows > Create flow.

  2. Click + Use template.

  • In the Flow template dialog box, select the template specific to your category or click on your preferred template. For more information about templates, click here.

  • After selecting the template, you can see the details of the flow template, key features, flow structure, and a similar template.

    drawing
  1. Preview the template by clicking the Preview button to see the sequence of the flow.

  2. Click + Use template.

  3. The template will be imported into the flows section, labelled as Imported.

Manually create a flow

  1. Go to Automation > Build > Flow > Create flow.

  2. To create a flow from scratch, click + Create flow.

  3. Define your flow details:

    drawing

    i. Flow name: Provide a descriptive name for your flow, such as "Flight booking" or "Customer service". ii. Flow Description: Describe the purpose of the flow.
    iii. Category: You can assign a flow to an existing category from the drop-down or create a new category.

To create a Category, follow these steps:

  1. Expand the Category drop-down and click Create category.

    drawing
  2. Enter the Name of the category and click Create to create a new category.

    drawing
  3. Add nodes and build the flow according to your use-case.

    image

  • For the flow to work, you need to trigger it. Click here for the detailed steps.

Create a skill

Skills are background processes that are built using only Action or Logic nodes and operate along with the conversational flow. Skills enhance the bot's capabilities by performing various tasks such as calling functions, executing APIs, and database operations. This configuration allows you to create workflows that can be linked to categories and invoked as needed within a conversation.

For example, an action node called Sync DB operates in the background, synchronizing data with an external database while the bot executes the rest of the flow.

To create a skill, follow these steps:

  1. Go to Automation > Build > Create flow > + Create skill.

    drawing
  2. Enter the following fields:

    drawing

    i. Skill name: Provide a descriptive name for your skill.
    ii. Skill Description: Describe the purpose or functionality of the skill.
    iii. Category: You can assign the skill to an existing category or create a new one.

To create a new category for a Skill, follow these steps:

  1. Expand the Category drop-down and click Create category.

    drawing
  2. Enter the Name of the category and click Create to create a new category.

    drawing
  • This will create a Skill.