Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.tedro.io/llms.txt

Use this file to discover all available pages before exploring further.

Workflow Builder

The workflow builder is a visual canvas where you create automations by connecting nodes. Each workflow starts with a trigger (like an inbound message), flows through logic and AI nodes, and ends with actions (sending messages, handing off to agents, or setting data). The builder uses a drag-and-drop interface — no code required.

Prerequisites

  • A Tedro workspace with Admin role
  • At least one connected channel (for testing workflows)

Canvas Layout

The workflow builder has four main areas:
AreaPositionPurpose
Node paletteLeft sidebar (280px)Drag nodes from here onto the canvas
CanvasCenterThe main workspace where you build your flow
InspectorRight panel (360px)Configure the selected node’s settings
Top barTop (56px)Workflow name, save status, preview, and publish controls

Building a Workflow

1
Create a Workflow
2
Navigate to Workflows in the sidebar and click Create Workflow. Enter a name and click Create. The builder opens with an empty canvas.
3
Add a Trigger Node
4
Every workflow starts with a trigger. Drag a trigger node from the Triggers section in the node palette onto the canvas. The most common trigger is Inbound Message — it fires when a customer sends a message on any channel. For channel-specific workflows, use WhatsApp Message, Instagram Message, Messenger Message, or Live Chat Message.
5
Every workflow must have exactly one trigger node. The builder enforces this — you cannot publish a workflow without a trigger.
6
Add Processing Nodes
7
Drag additional nodes onto the canvas to build your automation logic:
8
  • AI Agent — Let an AI handle the conversation with tools and knowledge
  • Condition (logic.switch) — Branch the flow based on message content, contact data, or other criteria
  • Set Field — Save data to the contact or conversation record
  • Rate Limit — Throttle execution to control costs and prevent spam
  • 9
    Connect Nodes
    10
    Click and drag from a node’s output handle (right side) to another node’s input handle (left side) to create a connection. The flow follows these connections at runtime.
    11
    Condition nodes have multiple output handles — one per branch plus a default. Connect each branch to the appropriate next step.
    12
    Add Action Nodes
    13
    At the end of your flow, add action nodes to communicate with the customer:
    14
  • Send Message (channel-specific: WhatsApp, Instagram, Messenger, or Live Chat) — Reply to the customer
  • Send Template (WhatsApp only) — Send a pre-approved template
  • Handoff to Human (channel-specific) — Escalate to a human agent in the inbox
  • 15
    Configure Each Node
    16
    Click any node on the canvas to open the Inspector panel on the right. Each node type has its own configuration options (system prompt, conditions, message text, etc.). See the Node Reference for details on each node type’s settings.
    17
    Add an End Node
    18
    Use the End node (logic.end) to explicitly terminate execution paths. While not strictly required (workflows stop when there are no more connected nodes), End nodes make your flow easier to read and debug.

    Draft vs Published

    Workflows have two states:
    StateDescription
    DraftYour working copy. Edit freely — changes are saved automatically. Drafts are not active and do not process real messages.
    PublishedAn immutable snapshot of the draft at the time of publishing. This is the version that runs in production when messages arrive.
    Publishing creates a new version of the workflow. The previous published version is replaced. Make sure to test your draft before publishing.

    Publishing a Workflow

    Click Publish in the top bar. The builder runs validation checks before publishing (see below). If validation passes, the current draft becomes the active published version.

    Validation Rules

    The builder validates your workflow before allowing publication. All of the following must be true:
    RuleDescription
    Single triggerExactly one trigger node must exist
    No orphan nodesEvery node must be reachable from the trigger via connections
    Handoff path existsAt least one handoff node must be reachable from the trigger (ensures customers can always reach a human)
    Required fields setNode-specific required configuration fields must be filled (e.g., AI Agent needs a system prompt or linked agent)
    If validation fails, the builder highlights the problematic nodes with error indicators and displays a message explaining what needs to be fixed.

    Preview and Testing

    Use the Preview button in the top bar to test your draft without publishing. The preview runs the workflow with simulated data so you can verify the logic before going live. You can also use the trigger.manual_test node during development for quick iteration.

    What’s Next

    Trigger Nodes

    Learn about the different trigger types that start your workflows.

    AI Agents

    Configure AI agents that handle conversations autonomously within workflows.