Skip to main content

Automations

Building on the Canvas

What an automation is, and how to add, connect, save and activate its blocks on the visual canvas

An automation is an assembly line you design once and then let run on its own. Each station is a block on a visual canvas: some are AI agents that think and write (they use credits), others are free blocks that sort, filter and move data at no cost. A schedule, a button or an event in another app fires the starting whistle, and the line runs from start to finish.

Trigger
New HubSpot deal
Free block
Filter big deals
Router
Condition
If AIf B
AI step
Write the email
Output
Email sent
TermWhat it is
TriggerWhat starts a run. It's always the first block on the canvas.
AI stepAn agent doing a task that needs judgment. Uses credits.
Free blockA logic or action block (filter, condition, loop, database and more). No credits.
VariableA {{placeholder}} that pulls in data from an earlier step, like a mail-merge field.
RunOne pass of the line, from trigger to finish.
VersionA named save-point you can preview and restore.

Agents for judgment, free blocks for mechanics​

If a step needs to understand something (summarize a call, write a reply, decide what a message means), give it to an agent. If it just needs to do something predictable (keep orders over $100, look up a customer, send an email, save a row), use a free block.

One agent step can still run a whole multi-part job, and that's the right build when the flow needs flexibility more than strict rules. The reason to mix in free blocks is cost, not capability: they do the mechanical parts for zero credits, identically every time. So you only pay for the thinking.

tip

Start small: one trigger, one free block, one AI step. Test it, watch real data flow through, then grow the line one station at a time.


The canvas at a glance​

AreaWhat it does
Trigger block (top)Click it to set what starts the automation (Choosing a Trigger)
+ buttonOpens the block drawer — everything you can add
ToolbarSave, the activation switch, Test Run, the version pill, and Options
Tidy upRe-arranges all blocks into a clean layout when things get messy
HistoryYour saved versions (Versions & Safety)

Here's a small canvas to explore — click any block to see what its settings panel holds:

a + appears on every connection line
TrueFalse
Keep big dealsFilter
  • Rules: {{item.amount}} greater than 5000.
  • Only items that pass continue to the next block.
  • An empty result ends the branch quietly — no error.

Adding blocks​

Click + (or the + that appears on any connection line) to open the block drawer. It has three sections:

SectionContainsCredits
AIAgent Step, Decision / RouterUses credits
LogicCondition, Switch, Filter, Loop, For EachFree
ActionsTool, Code, Database, Project filesFree

Pick a block and it lands on the canvas; click it to open its settings. Each block type has its own setup panel — see AI Steps and Logic & Action Blocks.

Connecting blocks​

Drag from the dot at the bottom of one block to the top of another — that line means "then do this." Branching blocks (condition, switch) grow one line per path. To remove a block, hover it and use the delete button; its connections go with it.


Saving — and the safety net​

Click Save to keep your work; the canvas also saves as you edit. If someone else (or another of your own tabs) saved the same automation after you opened it, Nirvai refuses to overwrite them silently and asks what to do. See Editing at the same time as a teammate.


Testing and activating​

  • Test Run (toolbar) runs the automation now and opens the live view, where you watch each block light up and inspect what it produced — details in Testing & Runs.
  • The activation switch makes it live: schedules start firing, app triggers start listening, manual automations get their Run button.

Troubleshooting​

ProblemFix
I can't connect two blocksDrag from the bottom dot of the first to the top of the second. Blocks inside a loop can only connect within that loop.
The canvas is a tangleClick Tidy up — it re-lays out everything from scratch (your manual positions are discarded).
A dialog says someone else edited this automationA teammate (or another of your own tabs) saved after you opened it. Load the latest version, or keep yours knowingly.
My change doesn't show in a test runSave first — Test Run always runs the saved automation, and it will stop and tell you if the save didn't land.

What's next​

See complete automations built from these blocks in Practical Examples, then pick how yours starts in Choosing a Trigger.