Latenode LogoLatenode
Quickstarts

Scenario Types

In Latenode you can build any automation: from a simple notification to a complex AI agent with sub-agents. This page covers the five main types and helps you pick the right one.


1. Linear scenarios

Works best when the task always follows the same fixed sequence: the same nodes run in the same order after the trigger, with no data-based branching. This is the simplest type to read and debug.

Linear scenario: trigger and actions in a single chain

Examples

  • New Google Forms submission → write to Google Sheets → Telegram notification
  • New Gmail message → extract data → create task in Notion
  • Every day at 9:00 → fetch CRM data → post report to Slack

A linear scenario works well when input and output are predictable: the same services, one chain, no branching. If a meaningful fork appears, see sections 2 (conditions) and 3 (AI).

Example scenario

Automatic lead enrichment

HubSpot, data enrichment, and write-back to HubSpot on the Latenode canvas

A new CRM contact is enriched with company name, job title, and team size. The manager opens the contact card and sees the full profile without manually browsing websites or directories.


2. Conditional scenarios

Use when the outcome depends on structured fields (amount, country, status, threshold, flag): different values should trigger different branches of actions.

Scenario with a condition and branches

Examples

  • New request → check amount → large amount: notify manager; otherwise: auto-reply to customer
  • New contact → country → Russia: CRM A; otherwise: CRM B
  • Form lead → classify → hot lead: sales task; otherwise: send materials by email

This type works when the decision depends on clear fields: amount, country, status, score, or a form flag. Multiple branches after a check are fine as long as the condition is based on structured data. If the branch should follow from the meaning of text rather than a table column, see section 3.

Example scenario

Lead qualification by budget

Spreadsheet of requests with two branches: Slack for large budget, Gmail for auto-reply

A form row hits a spreadsheet. High-budget leads go to Slack for the manager; below the threshold the customer immediately receives an email offer.


3. AI-based routing

Needed when the branch cannot be reliably set by column rules. You need to evaluate the meaning, tone, or intent of text and route the flow based on the model's answer.

Trigger → AI → branching by result

Examples

  • Chat or email message → AI: category → different actions (reply, escalate, ignore)
  • Website review → AI: tone → negative: manager; positive: marketing
  • Request text → AI: product and urgency → write to the right CRM funnel

AI is especially useful when data is unstructured or does not repeat the same pattern: free text, tone, hints, unusual phrasing. When fields don't give a clear answer, the model decides by meaning. In the prompt, define the response criteria and format (one word, JSON, scale) upfront. LLM calls usually cost more credits than regular nodes.

Example scenario

Anti-spam filter for a Telegram channel

Telegram, ChatGPT, and two branches: whitelist via global variable or delete

The model evaluates the message by meaning. Normal content leads to adding the user to a whitelist via a global variable; spam is deleted without maintaining a long list of stop words.


4. Agent scenarios

This is the most advanced scenario type. The agent works with unstructured data and on each run picks the right tools from the ones available to it: nodes connected on the canvas. In one run it may call no tools at all; in another it may use several in sequence.

AI agent and tools

Examples

  • Text request from a chat → agent → picks services and call order itself
  • Free-form task → agent → gathers data from CRM, spreadsheet, email without a fixed chain
  • Customer question → agent → knowledge base and tickets → answer

Connect only the nodes the agent actually needs. The broader the tool list, the more important a precise prompt becomes: without one the agent will call unnecessary tools and run costs will grow.

Example scenario

Personal assistant in Telegram

AI agent in Telegram with connected tools on the Latenode canvas

The user writes a task in free form (e.g. "schedule a meeting and get a company overview"). The agent picks which tools to call and in what order, then replies in the chat with a single coherent message.


5. Multi-agent scenarios

Works for large tasks that split naturally into multiple roles (research, writing, design, review, etc.): one orchestrator agent assigns subtasks and collects results from sub-agents or specialized branches.

Orchestrator agent and sub-agents

This approach works best for the most complex tasks: each sub-agent is narrowly specialized and operates only within its own area. If you give one agent several roles at once - say, research, copywriting, and fact-checking - it can lose context or handle each role poorly. Split into three specialized agents and each one executes precisely within its competence.

It is best to get comfortable with a single agent (section 4) first, and only then move on to more complex structures with agent orchestration.

Example scenario

Automated content factory

Schedule, orchestrator, role-specific sub-agents, and WordPress publish

On a schedule the orchestrator agent distributes tasks to sub-agents: one writes the copy, another creates the cover image, a third publishes. Each handles its part, and the result goes to the site.


How to choose a scenario type

Your taskBest typeComplexity
Always the same sequenceLinearLow
Clear conditions (amount, country, category)ConditionalMedium
Complex conditions (tone, intent, meaning)AI-based routingMedium
AI decides which actions to takeAgent with toolsHigh
Very complex task, multiple "experts"Multi-agent systemVery high

What's next?

Start simple:

Build your first scenario

Or plan your scenario first:

How to plan a scenario