Using AI in workflows

Pick the right AI step — let an AI employee answer, have an AI agent do a task, or let AI sort and read messages.

On this page
  1. Which AI step do I need?
  2. AI employee or AI Agent?
  3. Safe by design
  4. When AI can't run

Want the AI to build the workflow itself? See Creating workflows with AI. This page is about the AI steps inside a workflow.

Workflows can use AI in a few ways. They all use your organization's AI setup and AI credits. See AI Employees and AI settings.

Which AI step do I need?

You want to… Use What it does
Answer a customer once, from your knowledge Reply with AI Your AI employee writes and sends one reply
Let AI handle the whole chat Assign AI employee Your AI employee takes over the conversation and keeps answering
Do a task: look something up, fill in details, decide AI Agent An AI follows your instructions, can use tools and saves its results for later steps
Send people down different paths by topic AI classify Sorts the message into your categories, one output each
Know the mood, topic or language Analyze with AI Saves sentiment, intent, urgency, language and a summary

On the step-by-step page, Reply with an AI employee adds a Reply with AI step.

AI employee or AI Agent?

An AI employee is a named assistant you set up once, under AI Employees, with its own knowledge and rules. In a workflow you choose it by name. It is best for talking to customers.

An AI Agent step is set up inside the workflow, for one task. You write its Instructions, choose its Tools and the Output fields it fills in, for example order number or is it urgent. Later steps read them as {{vars.agent.order_number}}. It can also send a reply, but its main job is the task.

Safe by design

  • What customers write is always treated as information, never as instructions to the AI.
  • An AI Agent's tools that change something (for example adding a Google Sheets row) are blocked unless you allow them, or ask a person first with Ask a person before blocked actions run.
  • On WhatsApp, keep AI answers to your own business topics.

When AI can't run

Without an AI setup, or with no AI credits left, AI steps fail. Connect the step's If it fails output to a fallback, such as Notify team or a plain Send message.