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

# Build a workflow

> Create a support intake flow with structured collection, analysis, and a spoken summary.

Build this first: **Start → Collect information → Run task agent → Say / Message → End**. Keep a **Failure** end for errors and timeouts.

## 1. Create and configure

Open **Workflows** and choose **Customer support**. Name the workflow. Under **Workflow settings**, choose a **Workflow voice**, an optional **Workflow face**, and an appropriate maximum time.

The support template starts with a collection step for an order number and issue. Other templates are **Blank workflow** and **Interview and grading**.

## 2. Collect the details

Select **Collect information** and use instructions such as:

> Ask for the order number and the issue. Clarify missing details, read them back, and finish when both are confirmed. Do not invent an order number.

Under **Output fields**, make `order_number` and `issue` required text fields. Connect **Start → next** to this node.

## 3. Analyze the result

Select the collection node's `complete` **+**, then choose **Run task agent**. In the inspector:

* Select a provider and model available to your account.
* Use **Add input from earlier data** to add the collected `issue`.
* Define a required text output named `summary`.
* Set instructions: “Summarize the supplied issue in one sentence. Use only the provided facts and return it as `summary`.”

The task agent works on its supplied inputs. Bind a step's **Transcript** explicitly when you need the actual conversation.

## 4. Deliver the result

Add **Say / Message** after the agent's `complete` outcome. Add an input from the agent's `summary` output. Use **Insert message variable** to insert that input into:

> Thank you. Here is the issue I recorded: `{summary}`

Route `complete` to an **End** with status `completed`.

## 5. Check every path

Keep exactly one **End** with status `failed`. Unconnected `error` and `timeout` outcomes will use it. Open the issues panel and resolve missing connections, unavailable inputs, and model choices.

Click **Test**, provide any workflow inputs, and choose **Start test conversation**. Review the collected fields and summary before [publishing](https://docs.livefaces.ai/workflows/test-and-publish.md).

## Extend the flow

| Requirement | Add |
| - | - |
| Route billing and delivery issues | Classify with a route for each label. |
| Route using an existing account flag | Branch with an ordered comparison. |
| Look up an order | Call MCP tool with the collected order number. |
| Submit a change | Confirm action paired with the write tool. |
| Require identity verification | Authenticate before protected steps. |
| Reuse intake in another flow | Publish it and select it in Run subflow. |

See the [node explorer](https://docs.livefaces.ai/workflows/nodes.md) for configuration and outcomes.


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