Skip to Content
CraftBot Docs v1 — internal preview
Recipes & Bot EngineOverview

Recipes & Bot Engine

A recipe is a bot conversation flow built visually on a canvas. Recipes drive every automated interaction — greetings, menus, identity capture, FAQ answering, escalation triage. CraftBot ships with 32 node types covering messaging, input collection, logic, routing, integrations, AI, commerce, flow control, and annotation.

What you can build

  • Simple greeters that route to a human (“Hi! Connecting you to an agent…”).
  • Self-service flows that resolve common requests without involving an agent.
  • Multi-step interview flows that collect identity, validate it against your CRM, and stage data for the agent before transferring.
  • Conditional flows that route VIPs to a priority queue, off-hours requests to a callback message, or specific intents to dedicated subflows.
  • Composable subflows reused across multiple recipes (verify identity once, call from many).

How recipes execute

When a customer sends a message that matches a recipe trigger:

  1. The runtime creates a flow session for that contact.
  2. The session enters at the Start node.
  3. Each node executes in turn, advancing along its output edges.
  4. The session ends when a terminal node is reached (Close, Transfer, Return) or the flow times out.
  5. Variables collected during the session are available to every subsequent node and to the agent (if the flow transfers).

Pages in this section

Last updated on