Skip to main content

Tasks & Automations

Agent Automations

Combine your agents into multi-step automations that run on schedules, webhooks, or manual triggers

An Agent Automation is like setting up an assembly line where each station is staffed by one of your agents. The work moves down the line on its own — one agent researches, the next writes, the next sends — and the whole line runs again every time it's set off, with no one standing over it. Agents become steps in automations that run without you watching, every time a schedule fires, an outside alert arrives, or an event matches.

Unlike Agent Tasks — which run once on a single record (one row) — Agent Automations are built to keep running on every trigger (the thing that kicks the routine off), often coordinating several agents across multiple steps.


Before you start​

  • At least one saved agent. If you don't have a specialist for a step, you can use the default Nirvai agent (see below).
  • A sense of what should set the routine off — a schedule, an incoming alert from another service, an event, or a button you press. Picking that is covered in Choosing a Trigger.
  • You'll build the routine on the visual canvas — see Building on the Canvas.

How agents work in an automation​

Each step in the routine is handed to an agent. The agent receives whatever the previous step produced (or, for the first step, the data that came in with the trigger), works on it using its own instructions, and passes its result to the next step.

Each agent:

  • Receives the previous step's output as context
  • Uses its own tools, knowledge, and instructions to do the work
  • Produces an output that flows to the next step

Step-by-step: assigning an agent to a step​

When building an automation on the canvas:

  1. Add an agent step to the routine.
  2. Select which agent to assign — you'll see your full agent list.
  3. Write step instructions that tell the agent what to do with the incoming data.

Step instructions vs. agent instructions​

Your agent already has its own instructions that define how it generally behaves. Step instructions are extra notes, specific to this one step:

Agent instructionsStep instructions
"You are a research assistant. Use web search to find information. Present findings in bullet points.""Search for the latest news about the company mentioned in the input. Summarize the top 3 stories."
Always active, across every conversationActive only during this automation step
Define personality, tone, and general behaviorDefine the specific job for this step

Both apply at the same time — the agent follows its general instructions and the step-specific ones together.


Run modes​

The AI picks a run mode based on how big your automation is. The mode decides where the run happens, not what your agents do — both modes run the same steps the same way:

ModeWhere it runsBest for
AgileShared capacity; starts fastestMost automations
IntensiveIts own dedicated machine, built for long runsBig batches, long loops, heavy runs
info

Intensive mode is available on PRO plans.


The default agent​

If you don't have a specialist agent for a step, you can use the default Nirvai agent. It handles straightforward jobs well out of the box. For better results on specialized work, use a custom agent with the right tools, knowledge, and instructions.


Multi-agent patterns​

Sequential pipeline​

Agents work one after another, each building on the previous step's output:

StepAgentTask
1Research AgentFind information
2Writer AgentDraft content from the research
3Editor AgentReview and polish the draft
4Notification AgentSend the final content

Router-based branching​

A router step sends the flow to different agents depending on a condition:

Specialist agents​

Different agents handle different kinds of work in the same routine:

AgentSpecializationTools
Research AgentWeb search, data gatheringWeb search
Data AgentDatabase operationsDatabase tools
Communication AgentSending messagesSlack, email tools

Step consolidation​

If two steps in a row use the same agent, Nirvai merges them into a single step. This is more efficient — the agent does both jobs in one run instead of two.

Before merging:

StepAgentInstructions
1Research Agent"Find the latest news"
2Research Agent"Summarize the findings"

After merging:

StepAgentInstructions
1Research Agent"Find the latest news and summarize the findings"
tip

If you want two steps to stay separate (for routing or record-keeping), assign a different agent to each step.


Plan limits​

PlanMax agents per automation
Free3
Builder8
Pro10
UltraUnlimited

Task or automation?​

Use an automation for recurring work, several agents in a row, or a flow that branches on a condition. For one-off work on a single database row, use an Agent Task — its page compares the two.


Troubleshooting​

ProblemFix
An agent isn't acting on the right inputStep instructions only cover this step. Make them spell out what to do with the incoming data from the previous step.
Two steps merged into one unexpectedlyThey use the same agent, so Nirvai consolidated them. Assign a different agent to a step to keep it separate.
I can't add more agents to my automationYou've hit your plan's limit (see Plan limits). Reuse an agent across steps, or upgrade.
Intensive mode isn't availableIntensive mode is a PRO-plan feature. On other plans, routines run in Agile mode.

What's next​