AI Flow Starter Templates

The four AI Flow templates for Edesy voice agents (blank, appointment booking, order status and lead qualification): how their nodes and functions work, what each needs configured, and how to grow them into your own call flow.

4 min readUpdated

An AI Flow agent runs a graph instead of one long prompt. Each node has its own short task ("ask for the day"), a set of functions the model may call, and transitions to the next node. The model still talks naturally, but it can only move along the paths you drew. Use it when a call must follow fixed steps or branch on a decision. When to use a flow and when a prompt: AI Flow vs prompt.

There are four AI Flow templates. All are in English; change the wording in the nodes for other languages.

Template Nodes Works without setup? Template page
Empty AI Flow greet Yes Blank AI Flow
Appointment Booking (AI Flow) ask_name, ask_day, ask_time, confirm Yes Appointment booking
Order Status (AI Flow) greet, show_status, not_found, transfer_node Needs your order lookup URL Order status
Lead Qualification (AI Flow) intro, ask_timeline, handover, nurture_close Transfer branch needs a transfer number Lead qualification flow

Create one#

  1. Go to Agents > New. The Blank flow and the Order Status flow are among the quick-start cards; all four are under See all templates with the category filter AI Flow.
  2. Fill in the variables (for example Company name) and create the agent.
  3. Open the agent's AI Flow tab to see and edit the graph.

Empty AI Flow: start from one node#

One greet node that welcomes the caller and lets them say goodbye, with an end_call function. Add nodes, functions and transitions in the AI Flow tab. Start here when you already know your steps.

Appointment Booking (AI Flow): one thing per node#

Four nodes, each asking for exactly one thing and storing it in flow state:

  1. ask_name stores the caller's name (save_name), then moves to the day.
  2. ask_day stores the day (save_day), then the time.
  3. ask_time stores the time (save_time), then confirmation.
  4. confirm reads the booking back once, using the stored values ({{caller_name}}, {{preferred_day}} at {{preferred_time}}). A yes ends the call with disposition SUCCESS; a change goes back to the start (start_over).

It uses no HTTP and no transfer, so it runs on a real call the moment you create it: the quickest way to hear how a flow behaves. To book into a real calendar, add an HTTP function before confirm that checks the slot.

Order Status (AI Flow): two lookups and an escape hatch#

  • greet asks whether the caller has an order ID or wants to look up by phone number.
  • Two lookup functions call your endpoint: {{lookup_endpoint}}?order_id=... or {{lookup_endpoint}}?phone=.... Both save the response and move to show_status.
  • not_found offers the other lookup method or a human.
  • transfer_to_human is available at every node, so "let me talk to someone" always works.

Set Order lookup endpoint when you create it (the placeholder is https://example.com/api/orders/lookup). The endpoint should accept order_id or phone as a query parameter and return a small JSON with the status and expected delivery date. Then set a transfer number under Behavior > Call Transfer. For a prompt-based order agent with a custom function instead, see Order Status: connect your order API.

Lead Qualification (AI Flow): a decision branch#

The persona is a friendly inside-sales rep who qualifies, never pushes.

  1. intro introduces the company and asks what problem the caller is trying to solve (save_need).
  2. ask_timeline asks when they hope to have it solved. The model then picks one of two functions:
    • mark_qualified (moving within three months) goes to handover, which connects them with transfer_to_sales.
    • mark_nurture (early or browsing) goes to nurture_close, which thanks them and promises a follow-up.
  3. transfer_to_sales is also a global escape hatch from any node.

transfer_to_sales names no number: it dials the agent's configured transfer destination. Set one under Behavior > Call Transfer before you test that branch; everything else runs without setup. See Call Transfer.

To keep the need and timeline after the call, add a post-call extraction (for example the Sales Lead Qualification preset) under Behavior > Post-Call Extraction.

Growing a starter into your flow#

  • Keep node tasks short. One instruction per node is what makes flows predictable.
  • Make decisions explicit. A branch is two functions with clear descriptions, like mark_qualified and mark_nurture. The description is what the model reads when it decides.
  • Add a global escape hatch to a human on any flow customers can get stuck in.
  • Test every path, including the one where the caller says something off-script. The Test Center can hold one case per path.
Was this page helpful?