---
title: What a procedure can check and do
url: "https://aide.app/how-to/what-a-procedure-can-check-and-do"
kind: reference
stage: any
role: Owner or Admin
requires: []
ways: []
updated: 2026-12-01
---

# Every condition, step and action in a procedure.

A procedure tells Aide how to handle one kind of conversation. These tables list what the builder offers, by the label on screen: what starts a procedure, what it can check, and what it can do.

In Aide, a procedure starts from its When to use description, runs only where its Where it runs choices and Only if conditions allow, and holds up to 30 steps. A step can collect a detail, tag, assign, add a note, set a field or apply a macro.

Source: https://aide.app/how-to/what-a-procedure-can-check-and-do · Updated 2026-12-01 · By Ziyad Basheer

| | |
|---|---|
| Steps | Up to 30, each up to 1,000 characters. |
| If blocks | Up to 5 branches in a block, and 10 steps in a branch. |
| Conditions | Up to 20 sets, with up to 20 conditions in a set. |
| More actions | Up to 20 in one procedure. |

## What you need
- Role: Owner or Admin
- Plan: Every plan

Where: [Procedures](https://my.aide.app/procedures)

A procedure is built on one screen under **Procedures**, from top to bottom: **When to use**, **Where it runs**, **Only if**, **Steps**, **More actions** and **Finish**. The tables follow that order.

## What starts a procedure

| Label | What you give it | What it is for |
|---|---|---|
| **When to use** | The situation in plain words, up to 300 characters | Aide scores each customer message against it to decide which procedure to follow |
| **Train on examples** | Messages under **Use when** and **Don’t use when**, up to 20 in each list and 300 characters each | Messages that should start the procedure, and look-alikes that should not |
| **Check trigger** | Nothing | Tries the trigger on your latest conversations and lists them under **Matched** and **Declined** |
| **Threshold** | A slider from 30% to 95%, in steps of 5. A procedure starts at 60% | A message must score at least this much for Aide to follow the procedure |

A live procedure with no **When to use** runs on its **Only if** conditions alone.

## Where it can run

| Label | Choices | With nothing ticked |
|---|---|---|
| **Where it runs** | A whole channel, or some of its inboxes, up to 50 inboxes: **Aide Chat**, Email, Gorgias, Zendesk, Front, **Messenger**, Instagram, **WhatsApp** | **Everywhere Aide answers** |
| **Kind of conversation** | Email, Chat, Messaging, SMS, **Public comments** | Every kind |

Ticking a channel covers all its inboxes, and the ones added later. For one case worked through, see [Run a procedure only on Gorgias, one inbox or one Gorgias team](https://aide.app/how-to/run-a-procedure-only-on-gorgias-one-inbox-or-one-gorgias-team).

## Conditions it can check

The conditions under **Only if** decide whether the procedure may run at all, and Aide checks them before it reads the message. Conditions in one set must all hold. **Add or set** starts another set, and one set that holds is enough. Each condition takes **is** or **is not**.

| Condition | Values | Listed | Used in |
|---|---|---|---|
| **topic** | A topic recorded on the conversation | Always | [Let Aide answer one kind of email and draft the rest](https://aide.app/how-to/let-aide-answer-one-kind-of-email-and-draft-the-rest) |
| **highest topic** | The top topic of the customer's message | Always | |
| **topic confidence** | 80% to 97.5%, in steps of 2.5 | Always | |
| **is first message** | true | Always | [Make Aide answer only the first email in a thread](https://aide.app/how-to/make-aide-answer-only-the-first-email-in-a-thread) |
| **ticket › status** | new, open, closed. With Zendesk connected: new, open, closed, solved, pending. With Front and no Zendesk: new, open, unassigned, assigned, archived | Always | |
| **ticket tag** | One of your workspace's tags | Always | |
| **ticket ›** or **contact ›**, then a field's name | One of the field's options | For each field that has a list of options | [Use Zendesk ticket fields in a procedure](https://aide.app/how-to/use-zendesk-ticket-fields-in-a-procedure) |
| **Zendesk › group**, **Gorgias › team** | A group or team synced from the helpdesk | With that helpdesk connected | [Run a procedure only for a Zendesk group](https://aide.app/how-to/run-a-procedure-only-for-a-zendesk-group) |
| **message or subject** | A pattern for the customer's message and the subject, with **matches** or **doesn’t match** | Always | |

## Order conditions

These are listed once a store is connected. **order tag** and **tracking company** are listed with a Shopify store connected, and take a value you type.

| Condition | Values |
|---|---|
| **order exists** | true |
| **order status** | Not shipped yet, Partially shipped, Shipped, Delivered, Cancelled |
| **tracking exists** | true |
| **order tag** | A whole tag on the customer's newest Shopify order, in capitals or not |
| **order created** | in the past hour, or in the past 2, 3, 4, 5, 6, 7, 8, 12, 16 or 24 hours |
| **tracking begun**, **tracking last updated** | in the past week, or in the past 2 to 8 weeks |
| **destination country** | United States, Canada, United Kingdom, Australia, Germany |
| **shipment status** | Label purchased, Label printed, Confirmed, Carrier picked up, In transit, Out for delivery, Attempted delivery, Delayed, Ready for pickup, Delivered, Failure |
| **tracking company** | The carrier's whole name as Shopify records it, in capitals or not |

## What a step can hold

Under **Steps**, a step is a line of plain words that Aide follows. **Add step** adds one, and **Add If / Otherwise** adds a block that takes **Else if** and **Otherwise** branches. Typing `@` in a step opens a menu, in these groups.

| Group | Item | What it does |
|---|---|---|
| Step | **Condition (If / Otherwise)** | Starts an If block, on an empty step |
| Collect | A field's name | Aide collects that detail when the conversation gets to the step |
| Ask | **Choices** | When Aide asks the step's question, the customer sees the choices as buttons, word for word |
| Use | A field's name | Aide uses that detail at the step |
| Do | An action, or **Follow-up** | See the next table |
| Knowledge | A knowledge source's name | While the procedure runs, Aide looks in that source as well as its usual knowledge |
| Fields | **Create field** | Adds a field under the name typed after the `@` |

## Actions in a step

All but **Update address** run when the procedure starts, so they cannot go inside an If block.

| Action | Its setting | What it does |
|---|---|---|
| **Update address** | None | Allows the shipping address change in conversations the procedure runs on. The topic's AI level still decides whether Aide acts and whether a teammate approves. See Let Aide change a shipping address |
| **Add tag** | **Tag** | Tags the conversation |
| **Tag the order** | **Order tag** | Tags the order in Shopify |
| **Assign** | **Group** | Assigns the conversation to that group |
| **Apply macro** | **Macro** | Runs the macro. See [Run a Zendesk macro from a procedure](https://aide.app/how-to/run-a-zendesk-macro-from-a-procedure) |
| **Add note** | **Note** | Adds an internal note for your team |
| **Set field** | **Field**, then **Value** or a date | Sets the field. A date can be a number of days on, up to 365, and **Snooze until then** snoozes the conversation until that day |
| **Follow-up** | None | Adds three at once: **Assign**, **Set field** for a date two working days on with the snooze, and **Add note** |

On a helpdesk ticket, Aide writes the tag, the assignment and the note to the helpdesk too. While the inbox is on **Watch only**, they are recorded as skipped and the order is not tagged.

## More actions

**More actions** sits under the steps and holds what runs beside them. **Add an action** adds a row.

| Action | Its setting | What it does |
|---|---|---|
| **Send a reply** | The reply's text | On a connected helpdesk, sent to the customer exactly as written. It goes out whatever AI level the topic has, as long as the inbox lets Aide send. On Aide Chat and email, it guides what Aide writes |
| **Suggest a reply** | A text | Guides the reply Aide writes |
| **Suggest a macro** | A macro | Names the macro for your team and applies nothing. See [Suggest a macro to teammates on matching tickets](https://aide.app/how-to/suggest-a-macro-to-teammates-on-matching-tickets) |
| **Pre-write a reply** | None | On a connected helpdesk, Aide's reply becomes a draft for your team to review. See [Pre-write drafts for one kind of conversation](https://aide.app/how-to/pre-write-drafts-for-one-kind-of-conversation) |
| **Close the conversation** | None | Closes the conversation |
| **Write a reply** | **Escalate with an internal comment** or **Escalate with a hand-off message** | Sets how Aide escalates when it cannot answer |
| **Answer only from these sources** | Up to 20 knowledge sources | Aide answers from the sources you pick and no others |

## How a procedure ends

**Finish** and **If the customer changes subject** show once **When to use** is filled in.

| **Finish** | What Aide does |
|---|---|
| **Reply and stay open** | Replies and leaves the conversation open for the customer's answer. A new procedure has this choice |
| **Hand off** | With no steps, hands the conversation to your team straight away, as soon as a message fits. With steps, works through them first. With details ticked under **Hand off once these details are collected**, collects those first |
| **Close** | Closes the conversation once it has replied |

| When the customer | Choices, the first being the one a procedure has at the start |
|---|---|
| **Asks a question your knowledge answers** | **Answer it and stay in this procedure**, or **Answer it and leave this procedure** |
| **Asks for a person** | **Hand off**, or **Stay and continue the steps first** |
| **Says something another procedure is for** | **Switch when the other procedure fits better**, or **Stay until this procedure finishes** |

Whichever is chosen in the last row, a procedure that hands off straight away takes over.

## Priority and delay

Both are under **Execution**, in the procedure's **Overview**.

| Setting | Choices | What it does |
|---|---|---|
| **Priority** | **Low**, **Medium (default)**, **High** | Decides what runs when several procedures match. A **High** one runs and no other procedure's actions do. A **Low** one runs only if no other matching procedure does |
| **Delay** | **Immediately**, **After 5 minutes**, **After 10 minutes**, **After 15 minutes** | Waits that long after the customer's message before Aide acts. [Delay Aide's email replies](https://aide.app/how-to/delay-aides-email-replies) sets it on a reply rule |

## Frequently asked questions

### Is a reply rule a procedure?

Yes. A [reply rule](/how-to/create-an-email-reply-rule) is a procedure with one Write a reply action, and it takes the same conditions as the tables above. You can [open a reply rule as a full procedure](/how-to/open-a-reply-rule-as-a-full-procedure).

## Related
- [Change your AI agent's instructions by asking Aide](https://aide.app/how-to/change-your-ai-agents-instructions-by-asking-aide)
- [Roll out AI replies in stages, from Watch only to Everyone](https://aide.app/how-to/roll-out-ai-replies-in-stages-from-watch-only-to-everyone)
- [Set up Aide end to end from Claude](https://aide.app/how-to/set-up-aide-end-to-end-from-claude)

Start free trial: https://my.aide.app/register
