> ## Documentation Index
> Fetch the complete documentation index at: https://docs.lokutor.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Draw a call as a workflow

> Open the Customer care UK agent, look at its drawn workflow and the lines that move a call on, add a Say step after Reception, and see where Publish puts the change live.

A narrated video (3:33), filmed on the real dashboard in a demo workspace, then the same steps in writing.

<video controls playsInline preload="metadata" poster="https://lokutor-media-eu-west-1.s3.eu-west-1.amazonaws.com/tutorials/workflow/en/poster.jpg">
  <source src="https://lokutor-media-eu-west-1.s3.eu-west-1.amazonaws.com/tutorials/workflow/en/video.mp4" type="video/mp4" />
</video>

## What we will cover

Let's draw a phone call as a workflow, using an agent that already answers the phone. By the end you'll have added a Say step, and you'll know where to publish it. Every change stays a draft until you publish, so callers keep hearing the current version while we work.

![What we will cover](https://lokutor-media-eu-west-1.s3.eu-west-1.amazonaws.com/tutorials/workflow/en/images/intro.webp)

## Opening the agent

Start on the agents page, and open Customer care · UK, one of the agents in the Grupo Alba workspace. Opening it takes you to that agent's own sections, listed in its menu. The Instructions, the first message and the knowledge files all live in those sections, but we only need the workflow today.

1. Press **Customer care · UK**.

![Opening the agent](https://lokutor-media-eu-west-1.s3.eu-west-1.amazonaws.com/tutorials/workflow/en/images/open-agent.webp)

## Opening the workflow

Now I'll open the Workflow section. This is where a call is drawn as steps, with lines between them that say when to move on. The zoom controls let you zoom in, zoom out, or fit the whole workflow into view.

1. Press **Workflow**.

![Opening the workflow](https://lokutor-media-eu-west-1.s3.eu-west-1.amazonaws.com/tutorials/workflow/en/images/open-workflow.webp)

## Reading the steps

There are six kinds of step: Agent, Say, Tool, Branch, Transfer and End. An Agent step talks, using its own instructions, model and voice. A Say step is a fixed line, said word for word, and a Tool step calls one of your tools and keeps the answer. A Branch step splits the call by what is known about it, a Transfer step puts the caller through to someone, and an End step says goodbye and hangs up.

![Reading the steps](https://lokutor-media-eu-west-1.s3.eu-west-1.amazonaws.com/tutorials/workflow/en/images/read-steps.webp)

## Reading the drawn steps

Here the workflow already has steps drawn on it. Reception is the first one, and it finds out what the caller needs, then sends them to bookings, billing or a person. Qualify a lead is the second, which collects the details, checks them, and passes good leads to sales.

![Reading the drawn steps](https://lokutor-media-eu-west-1.s3.eu-west-1.amazonaws.com/tutorials/workflow/en/images/drawn-steps.webp)

## Reading the lines

Opening Reception shows the lines that leave it. Each line says when the call moves on. One line moves the call on when they want to book, change or cancel an appointment.

1. Press **Reception Finds out what they need, then sends them to bookings, bi…**.

![Reading the lines](https://lokutor-media-eu-west-1.s3.eu-west-1.amazonaws.com/tutorials/workflow/en/images/outgoing-lines.webp)

Another line goes to billing when they ask about an invoice or a payment. Bookings is the step that finds a slot, offers two options and confirms the day and time. The line from Bookings to Goodbye is followed when the appointment is confirmed and they need nothing else.

![Reading the lines](https://lokutor-media-eu-west-1.s3.eu-west-1.amazonaws.com/tutorials/workflow/en/images/more-lines.webp)

## Adding a Say step

Now let's add a Say step after Reception, so the caller hears a greeting first. Reception is the first drawn step, so the new step goes right after it. The add control on the Reception step is where a new step starts.

![Adding a Say step](https://lokutor-media-eu-west-1.s3.eu-west-1.amazonaws.com/tutorials/workflow/en/images/where-to-add.webp)

The Add a step toolbar lists what you can add: Sub-agent, Say, Call a tool, Condition, Transfer to a person and End call. First I'll select Reception, so the new step attaches to it. Reception is now selected.

![Adding a Say step](https://lokutor-media-eu-west-1.s3.eu-west-1.amazonaws.com/tutorials/workflow/en/images/step-menu.webp)

Press Add a step after Reception. Then choose Say, the fixed line said word for word. A new Say step now appears after Reception, with a field for what it says.

1. Press **Add a step after Reception**.
2. Press **Say A fixed line, word for word**.

![Adding a Say step](https://lokutor-media-eu-west-1.s3.eu-west-1.amazonaws.com/tutorials/workflow/en/images/choose-say.webp)

The What it says field holds the words the caller will hear. I'll write the greeting here: Thanks for calling. I can help with deliveries and returns. Because a Say step speaks that line exactly, it's worth reading it through once. Close the settings with Close, now that the line is written.

1. In **What it says**, write: “Thanks for calling. I can help with deliveries and returns.”
2. Press **Close**.

![Adding a Say step](https://lokutor-media-eu-west-1.s3.eu-west-1.amazonaws.com/tutorials/workflow/en/images/write-line.webp)

## Publishing

Every change so far is a draft, so callers still hear the last published version. Publish is the control that puts the change live, and I won't press it here. When you're happy with the draft, that's the step that makes the new greeting what callers hear.

![Publishing](https://lokutor-media-eu-west-1.s3.eu-west-1.amazonaws.com/tutorials/workflow/en/images/publish.webp)

That's a call drawn as a workflow, with a new Say step ready whenever you want it live. Look at the lines next time you change a step, because they decide where the call goes.

![Publishing](https://lokutor-media-eu-west-1.s3.eu-west-1.amazonaws.com/tutorials/workflow/en/images/wrap-up.webp)

*Voice made with AI.*

Read more: [Workflows](https://docs.lokutor.com/guides/workflows.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.