> ## Documentation Index
> Fetch the complete documentation index at: https://docs.getkadabra.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Core Concepts

> Everything you need to understand Kadabra deeply

# Understand Kadabra's Core Concepts

This page explains how Kadabra works so you can design reliable automations with confidence.

***

## What is a Flow

<img src="https://mintcdn.com/kadabra/HrNp2fQPa0byrMWr/Screenshot2025-10-11at9.48.23.png?fit=max&auto=format&n=HrNp2fQPa0byrMWr&q=85&s=b2fe0167affedfaba7a707bd1a54970c" alt="Screenshot2025 10 11at9 48 23 Pn" width="2324" height="820" data-path="Screenshot2025-10-11at9.48.23.png" />

A **Flow** is your complete automation. It is a sequence of nodes on the Canvas that pass data from one step to the next to achieve a goal.

<CardGroup cols="3">
  <Card title="Structure" icon="route">
    Nodes do one job each. Lines define order and data movement.
  </Card>

  <Card title="Inputs and outputs" icon="shuffle">
    Flows accept inputs and produce outputs you can expose to Interfaces or APIs.
  </Card>

  <Card title="Run conditions" icon="play">
    Flows start with Manual, Schedule, Event, or API triggers. Every run is logged.
  </Card>
</CardGroup>

<Info>
  Think of a flow as a recipe. Nodes are steps. Triggers press Start.
</Info>

***

## AI Automation types

An **AI Automation** connects tools, data, and logic to act automatically. In Kadabra, an automation can be **deterministic**, **agentic**, or **hybrid**.

<CardGroup cols="3">
  <Card title="Agentic" icon="brain">
    Flexible and intelligent - the Agent reasons, decides, and uses tools with context.
  </Card>

  <Card title="Deterministic" icon="bolt">
    Predictable and rule based - executes predefined steps with clear inputs and outputs.
  </Card>

  <Card title="Hybrid" icon="split">
    Best of both - the Agent interprets, then deterministic nodes execute at speed and scale.
  </Card>
</CardGroup>

<Info>
  Example: Agent reads a request - extracts intent and fields - passes structured data to nodes that update the CRM and notify Slack.
</Info>

***

## Kadabra Agent

The **Kadabra Agent** collaborates with you to plan, build, and maintain automations, and answers questions about Kadabra.

<CardGroup cols="3">
  <Card title="Understands your intent" icon="1">
    You describe the outcome. The Agent clarifies scope, constraints, and success criteria.
  </Card>

  <Card title="Checks prerequisites" icon="2">
    Points out missing pieces like a spreadsheet, form, integration, or credential.
  </Card>

  <Card title="Plans the flow" icon="3">
    Suggests nodes, connections, triggers, and interface inputs and outputs.
  </Card>
</CardGroup>

<CardGroup cols="3">
  <Card title="Build & Test" icon="4">
    Places nodes, connects them, and configures fields so you start from a working draft.
  </Card>

  <Card title="Publish or Edit" icon="5">
    Add or remove steps, switch triggers, retune prompts, or replace tools by asking the Agent.
  </Card>

  <Card title="Product help" icon="book-open">
    Ask how Kadabra works. The Agent explains features, patterns, and best practices in context.
  </Card>
</CardGroup>

## Canvas

The **Canvas** is your visual runtime for design and debugging.

<CardGroup cols="2">
  <Card title="Think visually" icon="brain">
    Connect nodes, see data flow, and issue plain English edits the Agent applies for you.
  </Card>

  <Card title="Designed for clarity" icon="eye">
    Inspect inputs and outputs on any line. Great for testing and troubleshooting.
  </Card>
</CardGroup>

<Frame>
  <img src="https://mintcdn.com/kadabra/LXCxEIROJPIrZRkD/images/Screenshot2025-10-12at3.05.17.png?fit=max&auto=format&n=LXCxEIROJPIrZRkD&q=85&s=94cb2344f9d957152d95da7909c30168" alt="Screenshot2025 10 12at3 05 17 Pn" width="2628" height="1714" data-path="images/Screenshot2025-10-12at3.05.17.png" />
</Frame>

## Triggers

**Triggers** tell Kadabra when to run a flow.

<CardGroup cols="2">
  <Card title="Manual" icon="hand">
    Run on demand from the editor or an Interface.
  </Card>

  <Card title="Schedule" icon="clock">
    Run hourly, daily, weekly, or at custom times.
  </Card>

  <Card title="Event based" icon="zap">
    Run when something happens in another app like a new row in a sheet or a new lead in a CRM.
  </Card>

  <Card title="API" icon="link">
    Expose a webhook URL so external systems can start the flow programmatically.
  </Card>
</CardGroup>

<Info>
  Every run is visible in Monitor with inputs, outputs, and errors so you can trace exactly what happened.
</Info>

***

## Credits

Credits are the usage currency that power every action inside Kadabra: from running AI nodes to executing integrations.

### How credits are consumed

<CardGroup cols="2">
  <Card title="Node Costs" icon="gauge">
    Each node (like **AI Node** or **Google Search**) has a specific credit cost whenever it runs.\
    *Examples:*

    * AI Node → **50 credits**
    * Google Search → **1 credit**
  </Card>

  <Card title="Flow Costs" icon="share-nodes">
    A **Flow** is made of multiple nodes.\
    The **total cost** of running a flow equals the **sum of all its node costs** during that execution.
  </Card>
</CardGroup>

<Info>
  **Example:** A flow with 1 AI Node and 1 Google Search node will consume **51 credits per run**.
</Info>

<CardGroup cols="2">
  <Card title="Find Node Costs" icon="book-open">
    You can discover the credit cost for each node directly in the **Nodes Catalog:** available when creating or editing a flow.
  </Card>

  <Card title="Track Your Usage" icon="clipboard-list">
    Your detailed **credit usage** and **total monthly costs** are displayed on your **Account** page,\
    so you always know where your credits go.
  </Card>
</CardGroup>

## Interface

An **Interface** is a user facing surface on top of a flow. Define the inputs a flow needs and the outputs it returns, then share a simple form that runs the flow.

<CardGroup cols={3}>
  <Card title="Define inputs" icon="arrow-right-long-to-line">
    Text, options, files, IDs - only what the flow needs.
  </Card>

  <Card title="Show outputs" icon="bar-chart">
    Return results, links, summaries, or files.
  </Card>

  <Card title="Collaborate" icon="users">
    Let teammates or clients run the flow without editing it.
  </Card>
</CardGroup>

<Frame>
  <img src="https://mintcdn.com/kadabra/LXCxEIROJPIrZRkD/images/Screenshot2025-10-12at3.42.04.png?fit=max&auto=format&n=LXCxEIROJPIrZRkD&q=85&s=41b0b3b4931b1e690575d05d73cd143c" alt="Screenshot2025 10 12at3 42 04 Pn" width="2632" height="1712" data-path="images/Screenshot2025-10-12at3.42.04.png" />
</Frame>

***

## Summary

* **Flow** - sequence of nodes on the Canvas that achieves a goal.
* **Agent** - plans, checks prerequisites, places and edits nodes, and answers Kadabra questions.
* **Canvas** - visual environment for design and debugging.
* **Interface** - shareable form on top of a flow.
* **Triggers** - start flows manually, on a schedule, on events, or by API.
* **Credits** - usage model for AI and execution.

<CardGroup cols="3">
  <Card title="FAQ" icon="circle-question" href="/introduction/faq">
    Quick answers about usage, billing, and limits.
  </Card>

  <Card title="How to Guides" icon="hammer" href="/guides">
    Practical, step by step tutorials.
  </Card>

  <Card title="Build an Agent" icon="robot" href="/guides/build-ai-agent">
    Create an Agent that plans and edits on the Canvas.
  </Card>
</CardGroup>
