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

# Flow steps

> Every step you can add to an event flow, what it does and how to set it up.

Steps are the cards on a flow's canvas. Select a card to open its settings on the right. You can rename any step at the top of its panel; the name shows on the card and in the runs, which helps when a flow has three AI drafts.

| Group | Steps |
| - | - |
| **Sort leads** | [Split by lead type](#split-by-lead-type), [Filter](#filter) |
| **Lead** | [Add tags](#add-tags-and-remove-tags), [Remove tags](#add-tags-and-remove-tags), [Set field](#set-field) |
| **Logic** | [Condition](#condition), [Wait](#wait) |
| **CRM** | [Sync to CRM](#sync-to-crm) |
| **Email** | [AI draft](#ai-draft), [Draft email](#draft-email) |
| **Team** | [Notify](#notify) |

Some settings are shared by several steps: [rules](#rules), [Needs before it runs](#needs-before-it-runs), [Retries and errors](#retries-and-errors) and [text variables](#text-variables).

## Sort leads

### Split by lead type

Sends each kind of lead down its own path. Each **lead type** is an output on the card, and leads that fit none of them leave by **Everyone else**. A split can have up to 8 lead types.

Choose how leads are sorted:

> [tab] By rules
>
> Each lead type has its own [rules](#rules). CAARD checks the types from top to bottom, and a lead takes the first one it matches. Use the arrows to change the order.
>
> ![A split by rules: Decision makers when Job level is one of C-level or founder, VP or Director; Partners and agencies when Job title contains any of partner, reseller, agency or consultant; then Everyone else](https://mintcdn.com/caard/JaVl6GuuYcad3cHq/images/flows/split-by-rules.webp?fit=max\&auto=format\&n=JaVl6GuuYcad3cHq\&q=85\&s=ae6b471f93542ec5006605332de558ed)

> [tab] Sorted by AI
>
> Describe each lead type in plain words under **Which leads belong here**. AI reads the lead's details, the rep's notes and voice notes, capture form answers and the notes from any meeting, then picks the type that fits best and says why in the run.
>
> ![A split sorted by AI: Decision makers described as founders, C-level, VPs and directors who can buy, and Partners and agencies described as agencies, resellers and consultants who would sell or implement us](https://mintcdn.com/caard/JaVl6GuuYcad3cHq/images/flows/split-by-ai.webp?fit=max\&auto=format\&n=JaVl6GuuYcad3cHq\&q=85\&s=e9a1df7d9050c11208afbb87ab19c1a7)
>
> * Sorting uses **1 AI credit per lead**. If the workspace is out of credits, or the AI can't answer, the lead goes to **Everyone else** and the run says why.
> * **Wait for the rep's notes** (on by default) holds the lead for 2 minutes after the scan, so the notes a rep types or dictates at the stand are there when AI reads it. If a meeting recording or a voice note is still being written up, it waits for that too, up to 30 minutes.
> * Describe who belongs in a type, not what to do with them. "Founders and C-level at software companies with 50+ people" sorts better than "people we should call".

**Tag leads on this path** tags every lead that takes that type, for example *Hot lead* on decision makers. It saves a separate Add tags step on each path.

### Filter

Lets only the leads you want go further on this path.

* **Let matching through**: only leads that match the rules go further. The rest stop here.
* **Stop matching**: leads that match stop here. Everyone else goes further.

**Start from** fills in a common rule: **Work email** (has an email that isn't Gmail, Outlook or another personal address), **Has an email**, **Senior title** or **ICP score 60+**.

![The Filter panel set to Let matching through, with the presets Work email, Has an email, Senior title and ICP score 60+, and the rule Email is filled](https://mintcdn.com/caard/JaVl6GuuYcad3cHq/images/flows/filter.webp?fit=max\&auto=format\&n=JaVl6GuuYcad3cHq\&q=85\&s=e11461c012de3eabf6a37f94409c3b78)

A filtered-out lead's run ends there and counts as done. To do something with those leads instead, use a [Condition](#condition), which has a **No** output.

## Lead

### Add tags and Remove tags

Add or take off one or more of the workspace's tags. Adding a tag the lead already has, or removing one it doesn't have, does nothing and the run says so.

A tag a flow adds doesn't start flows that use **When a tag is added**. Only tags people add do.

### Set field

Writes one field on the lead: **Stage**, **Company**, **Job title**, **Industry**, **Location**, or one of the workspace's [custom fields](https://docs.caard.net/leads/tags-and-custom-fields.md). For example, move a lead to the **Demo** stage when someone tags it *Demo requested*.

![The Set a field panel with Field set to Stage and Value set to Demo](https://mintcdn.com/caard/JaVl6GuuYcad3cHq/images/flows/set-field.webp?fit=max\&auto=format\&n=JaVl6GuuYcad3cHq\&q=85\&s=113db4879a19e94fe05a3762002c3d3e)

## Logic

### Condition

Checks the lead against [rules](#rules) and splits the path in two: **Yes** when they match, **No** when they don't. Connect a step to each output you want to use. An output with nothing connected ends the run there.

### Wait

Pauses the run before the next step, for a number of minutes, hours or days (up to 30 days). A wait after the trigger gives the rep time to add notes before anything else happens.

![A condition with the rule Email is filled](https://mintcdn.com/caard/JaVl6GuuYcad3cHq/images/flows/condition.webp?fit=max\&auto=format\&n=JaVl6GuuYcad3cHq\&q=85\&s=a17f8c4dd8262f6d5a9c317048226756)

![A wait of 1 hour](https://mintcdn.com/caard/JaVl6GuuYcad3cHq/images/flows/wait.webp?fit=max\&auto=format\&n=JaVl6GuuYcad3cHq\&q=85\&s=12254f2e4c3d00c64c981a23241b836c)

## CRM

### Sync to CRM

Sends the lead to your connected CRMs, the same way **Sync to CRM** on a lead does, with your [field mappings](https://docs.caard.net/integrations/hubspot-field-mapping.md).

* **CRMs**: pick which connected CRMs to send to. With none picked, it sends to every connected CRM.
* **Wait for the sync result** (on by default): the run waits until each CRM has answered, shows each result, and retries a sync that failed. Turn it off to move on as soon as the sync is queued.

A Sync to CRM step syncs the lead even if your CRM's automatic sync is off. To keep a lead out of the CRM until it's complete, give this step [Needs before it runs](#needs-before-it-runs) and turn on **Keep out of automatic CRM sync until then**. See [Keep incomplete leads out of your CRM](https://docs.caard.net/guides/flow-crm-only-when-complete.md).

## Email

Neither email step sends anything. Both put the email in the lead owner's **Gmail or Outlook drafts** if they have a mailbox connected, or in CAARD, under **Follow-up drafts** on **Admin → Email Outreach**, if not. The owner checks it and sends it.

### AI draft

Writes a follow-up with AI from what CAARD knows about the lead and the event, the same way **Email Lead** does on a lead page. Each draft uses **1 AI credit**.

* **Template**: one of the workspace's shared email templates. Left on **Event or default template**, it uses the event's email settings.
* **What this email should say**: instructions for this step only, added to the template and the event's context. Useful when each path of a split needs a different email, for example "Mention our partner programme and suggest a call about their clients".
* **Tone**: Professional, Friendly, Casual, Formal or Enthusiastic. Left on the default, it uses the template's or the workspace's tone.

![The AI draft panel: Template set to Event or default template, instructions to keep it to four sentences and offer a 20-minute call, and Tone left on the default](https://mintcdn.com/caard/JaVl6GuuYcad3cHq/images/flows/ai-draft.webp?fit=max\&auto=format\&n=JaVl6GuuYcad3cHq\&q=85\&s=134090fa4de921ba725e30c356d8dc0f)

If the lead already has a draft waiting, the step doesn't write a second one.

### Draft email

An email you write yourself, filled in for each lead with [text variables](#text-variables). Write the subject and message on the card itself; select the card and click into it to edit, or use the expand button for more room. No AI is used, so it costs no credits.

![A Draft email card opened on the canvas with the subject Your Halvard demo, first name, and a message using the first name, event name and owner name variables, next to its settings panel](https://mintcdn.com/caard/JaVl6GuuYcad3cHq/images/flows/draft-email.webp?fit=max\&auto=format\&n=JaVl6GuuYcad3cHq\&q=85\&s=b18647623738023b45edb5e5662e93eb)

**Skip leads that were already emailed** (on by default) skips the step when a follow-up has already been sent or copied from CAARD for this lead. A lead with no email address fails this step, so put it behind a filter or condition on **Email**, or give it **Needs before it runs: Email**.

## Team

### Notify

Sends an in-app notification, with a link to the lead.

* **Send to**: the **Lead owner**, the **Event team** (the owner and the people assigned to the event), all **Admins**, or **Specific people**.
* **Message**: what the notification says. Insert [variables](#text-variables) with the buttons under the box.

![The Notify panel sending to the lead owner with the message Hot lead: lead name from company. Your follow-up draft is ready to check and send.](https://mintcdn.com/caard/JaVl6GuuYcad3cHq/images/flows/notify.webp?fit=max\&auto=format\&n=JaVl6GuuYcad3cHq\&q=85\&s=b4ddbb3150a28a7853ce677730de3882)

## Rules

Filters, conditions and splits by rules check the lead against rules. Each rule is a field, a check, and usually a value. With more than one rule, choose whether **all** of them or **any** of them must match. A step can have up to 12 rules.

| Group | Fields |
| - | - |
| **Person** | Job title, Job level, Email, Email domain, First name, Last name, Phone, LinkedIn |
| **Company** | Company, Industry, Company size, Location, Website, ICP score |
| **Activity** | Tags, Stage, Captured via, Notes, Meeting interest, Meeting notes |
| **Custom fields** | Any of the workspace's custom fields |

A few of these are worked out by CAARD rather than typed in:

* **Job level** reads the job title: *C-level or founder*, *VP*, *Director or head of*, *Manager or lead* or *Individual contributor*. It understands English and German titles, so "Geschäftsführer" is C-level and "Vertriebsleiter" a director.
* **Email** can be checked as **a work email** or **a personal email** (Gmail, Outlook, GMX and similar).
* **ICP score** and **Company size** compare as numbers (**is at least**, **is at most**). They're empty until the lead is [enriched](https://docs.caard.net/leads/enrichment.md) or [scored](https://docs.caard.net/leads/icp-scoring.md).
* **Captured via** is how the lead came in: QR scan, LinkedIn QR, the mobile app, a website form, the API, a CSV import and so on.
* **Notes** and **Meeting notes** search the rep's notes, voice note transcripts and meeting summaries with **contains** or **contains any of**. **Meeting interest** is how interested the lead sounded in a recorded meeting: Hot, Warm, Cold or Unclear.

Text checks ignore capital letters. For **contains any of** and **is one of**, separate the values with commas.

> [!NOTE]
>
> A step whose rules read **Notes**, **Meeting interest** or **Meeting notes** first waits for the rep's notes, the same way an AI split does: 2 minutes after the scan, and longer for a meeting or voice note still being written up.

## Needs before it runs

Any step that acts on the lead (tags, Set field, Sync to CRM, both email steps and Notify) can wait for details it needs. Turn on **Needs before it runs** and pick them: contact and company fields, custom fields, or **A note**, **A tag** or **A meeting**.

![Needs before it runs on the Standard follow-up step: Company and Job title picked, give up after 48 hours and skip this step, Prompt the lead owner on](https://mintcdn.com/caard/JaVl6GuuYcad3cHq/images/flows/needs-before-it-runs.webp?fit=max\&auto=format\&n=JaVl6GuuYcad3cHq\&q=85\&s=96df7be1cb971c5b36742c2e8bd50328)

Until the lead has them, the step waits:

* **Prompt the lead owner** (on by default) sends the owner a notification listing what's missing. **Also prompt** adds other people.
* The lead shows up under **Needs details** on the event's Flow tab, and its lead page shows a banner with what's missing.
* As soon as someone fills in the details, the run carries on by itself.

**If still missing after** sets how long to wait, from 1 hour to 30 days. Leave it empty to wait as long as it takes. Then:

* **Skip this step**: the run moves on to the next step without it.
* **Stop the run**: the run ends here.

On a **Sync to CRM** step, **Keep out of automatic CRM sync until then** also stops your CRM's automatic sync from sending the lead while it's incomplete. If the step gives up, the lead goes to the CRM the next time someone edits it.

## Retries and errors

Steps that reach outside CAARD (Sync to CRM, AI draft, Draft email and an AI split) try again if they fail, for example when a mailbox or CRM doesn't answer. Under **Retries and errors**, set:

* **Attempts**: 1 to 6, 3 by default.
* **First retry after**: how many seconds to wait before the first retry. Each retry after that waits longer.
* **When this step fails**: **Stop the run**, or **Carry on to the next step**. An AI split can instead **Send to Everyone else**.

A stopped run can be retried from the step that failed. See [Flow runs](https://docs.caard.net/events/flow-runs.md#when-a-run-fails).

## Text variables

Notify messages and Draft email subjects and messages can include the lead's details. Insert them with the buttons under the text box, or type them in double curly braces:

| Variable | Filled in with |
| - | - |
| `{{lead_name}}` | The lead's full name |
| `{{first_name}}` | First name |
| `{{last_name}}` | Last name |
| `{{company}}` | Company |
| `{{event_name}}` | The event's name |
| `{{owner_name}}` | The lead owner's name |
| `{{missing_fields}}` | The details the lead is still missing |

A variable the lead has no value for is left empty, so `Hi {{first_name}},` becomes `Hi ,` on a lead with no first name. Put a [Needs before it runs](#needs-before-it-runs) on the step if that matters.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.