Vonage AI Studio
  • Welcome to AI Studio!
  • ✨Platform Updates
  • AI Studio
    • Create a new agent
    • NLU AI Engine Preferences
    • Agent Building Features
    • Agent Templates
      • Take Message
      • Updating Details
      • Survey
      • FAQ
      • Package Tracking
      • Caller Identification
      • Customer Service
      • Hotels
      • Appointment Management
    • Tester
    • Editor Mode & Publish
    • Reports
    • Users
    • Knowledge AI
  • Properties
    • Entities
      • System Entities List
      • Best Practices
    • Intents
      • How do we analyze user input?
      • Generate Training Data
      • System Intents
      • Intent Annotation
    • Parameters
    • Contacts
    • Tags
    • Recordings
  • Voice
    • Get started
      • Create your first conversational flow!
      • Triggering Outbound Call API
      • Sending an Outbound Call Request via Postman
      • Integration via SIP for Telephony Agents
    • Nodes
      • Start node
      • Conversation
        • Classification
          • Intent Ambiguity
        • Collect Input
          • Entity Ambiguation
        • Speak
        • Conditions
        • Listen
        • Q&A Node
      • Advanced
        • Reset Counter
        • Counter
        • Set Parameter
        • Custom Code
        • NCCO Node
      • Actions
        • Send Email
        • Call Routing
        • End Call
        • Start Recording
        • Stop Recording
        • Send SMS
      • Integrations
        • Webhook
        • Legacy SalesForce Authentication Node
          • SalesForce Authentication
            • How to create a SalesForce Connected App
        • SalesForce Actions
        • Generative AI
          • Setting up Generative AI Node Integration
          • Migrating from the GenAI node to Knowledge AI
      • Flow Control
        • Context Switch
        • Flows
    • Events
  • WhatsApp
    • Get started
      • Create your first conversational flow!
      • Triggering an outbound WhatsApp virtual agent
    • Nodes
      • Start node
      • Conversation
        • Collect Input
          • Entity Ambiguation
        • Classification
          • Intent Ambiguity
        • Send Message
        • Conditions
      • Advanced
        • Reset Counter
        • Counter
        • Set Parameter
        • Custom Code
      • Actions
        • Send Email
        • End Conversation
        • Send SMS
        • Live Agent Routing
      • Integrations
        • Webhook
        • Legacy SalesForce Authentication Node
          • SalesForce Authentication
            • How to create a SalesForce Connected App
        • SalesForce Actions
        • Generative AI
          • Setting up Generative AI Node Integration
          • Endless FAQs on WhatsApp With Generative AI and AI Studio
      • Flow Control
        • Context Switch
        • Flows
    • Events
  • SMS
    • Get started
      • Create your first conversational flow!
      • Triggering an outbound SMS Virtual Agent
    • Nodes
      • Start node
      • Conversation
        • Classification
          • Intent Ambiguity
        • Conditions
        • Send Message
        • Collect Input
          • Entity Ambiguation
      • Advanced
        • Reset Counter
        • Counter
        • Set Parameter
        • Custom Code
      • Actions
        • Send Email
        • End Conversation
        • Send SMS
        • Live Agent Routing
      • Integrations
        • Webhook
        • Legacy SalesForce Authentication Node
          • SalesForce Authentication
            • How to create a SalesForce Connected App
        • SalesForce Actions
        • Generative AI
          • Setting up Generative AI Node Integration
          • Use Case Example: Gym Business
      • Flow Control
        • Context Switch
        • Flows
    • Events
  • HTTP
    • Get started
      • Create your first conversational flow!
    • Nodes
      • Start node
      • Conversation
        • Classification
          • Intent Ambiguity
        • Collect Input
          • Entity Ambiguation
        • Send Message
        • Conditions
      • Advanced
        • Reset Counter
        • Counter
        • Set Parameter
        • Custom Code
      • Action
        • Send Email
        • Send SMS
        • Live Agent Routing
          • Websockets connections for Live agent Routing
      • Integrations
        • Webhook
        • Legacy SalesForce Authentication Node
          • SalesForce Authentication
            • How to create a SalesForce Connected App
        • SalesForce Actions
        • Generative AI
          • Setting up Generative AI Node Integration
          • Use case Example : Online Shopping
      • Flow Control
        • Context Switch
        • Flows
    • Events
  • API Integration
    • Authentication
    • Insights
  • There's more
    • FAQs
    • Languages Available
Powered by GitBook
On this page
  • Creating new flows
  • Using Flows within your agent
  • Where are flows helpful?

Was this helpful?

  1. HTTP
  2. Nodes
  3. Flow Control

Flows

Branch out! Create different subflows to allow for easier navigation around the canvas.

PreviousContext SwitchNextEvents

Last updated 1 year ago

Was this helpful?

Have a huge agent and want to organize efficiently? Use sub-flows to categorize and organize the individual function flows of your agent to enable a smoother building experience.

The main flow of your agent will be displayed on the canvas and can be found under the original event under events whilst the additional flows you create can be found under the flows tab in the toolbar

Creating new flows

Creating a new flow is as simple as going to the Flows option in the ToolBar and adding a new flow. Once you create a new flow, proceed as you would with creating a regular flow.

Select the relevant nodes from the "Nodes" section and start building. Once done, also from the nodes section, select the "Exit flow" node and connect it to the end of your newly created flow.

To rename, delete or duplicate a sub-flow, simply right-click on the sub-flow in the toolbar and select your preferred option

Using Flows within your agent

Once you've created your required sub-flows, here's how you can connect them with the rest of your agent.

  • Within the flow where you want to add your newly created sub-flow, go to the toolbar and under the Flow Control Nodes select the Flow Node. Drag and drop this onto your canvas and select the sub-flow you want the agent to access.

  • Once selected connect the entry of this node to the exit point of the last preferred node in your main flow. This ensures that you have full control over when each flow is triggered.

The main flow will always be the flow with the START node. To allow users to interact with your new flows, make sure to connect them to the main flow.

  • In the Creating new flows section, you added an Exit Flow node at the end of your sub-flow. The exit point of the Flow node is directly connected to the Exit Flow node in your sub-flow. This means that when that sub-flow ends the agent will return to the Flow node and follow the flow that is connected to the exit point of the Flow node.

You can add multiple Flow nodes in a flow however only one Exit flow can be added per flow.

Where are flows helpful?

For example, your virtual assistant handles three use cases - order tracking, reporting a damaged package as well as answering FAQs. The three separate flows can be unified and displayed as one node in the canvas. When you click on "Enter flow" you will be moved to this flow and its nodes immediately.