AI steps
AI steps add language understanding to your flows without writing code. There are four main types:
- Ask: you send an instruction and data, and get a text answer back. Useful for drafting replies or rewriting text.
- Classify: the model assigns a category from a list you define, such as invoice, incident, sales inquiry or other.
- Extract structured data: turn free text (an email, a PDF, a transcript) into specific fields such as name, tax ID, amount or date.
- Summarize: condense long text, such as email threads or Lyria call transcripts, into a few lines.
Example: support email triage
A trigger receives every new email in the support inbox. An AI step classifies the message using {{trigger.subject}} and {{trigger.body}}. A router sends incidents to attendo as tickets, invoices to accounting and sales inquiries to the CRM. For incidents, an extraction step pulls the customer number and affected product, and a summary step adds two lines to the ticket so the agent understands the case at a glance.
Tip: when classifying, always include an other category and send those cases to human review.
Agents with tools
An AI agent does not follow a fixed path: it receives a goal and decides which tools to use and in what order. Tools are component actions you give it, such as searching for a customer in the CRM, checking an order status or creating a ticket.
Example: an agent handles internal questions from the sales team. Asked which orders a customer has pending, it searches for the customer, checks their orders and answers with a summary. Give the agent only the tools it really needs and prefer read actions; for sensitive actions, add a human approval.
An MCP server per project
Each project has an MCP server that lets compatible AI assistants use your flows and tools. This way you can expose controlled processes, such as checking stock or logging a visit, to an assistant without giving it direct access to your apps.
Privacy and best practices
Before data is sent to a model, the flooows anonymization system masks personal and confidential data and restores it in the answer. See the anonymization and privacy guide for details.
- Write specific instructions and include examples of the expected output format.
- Validate AI output with conditions before writing to critical systems.
- Review a few real answers in the run history every week.
- Common errors: overlapping, ambiguous categories, asking for too much in a single step and giving an agent write tools without oversight.