What a procedure can check and do

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.

Short answer

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.

What you need

Role
Owner or Admin
Plan
Every plan

WhereProcedures

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.

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

LabelWhat you give itWhat it is for
When to useThe situation in plain words, up to 300 charactersAide scores each customer message against it to decide which procedure to follow
Train on examplesMessages under Use when and Don’t use when, up to 20 in each list and 300 characters eachMessages that should start the procedure, and look-alikes that should not
Check triggerNothingTries the trigger on your latest conversations and lists them under Matched and Declined
ThresholdA 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

LabelChoicesWith nothing ticked
Where it runsA whole channel, or some of its inboxes, up to 50 inboxes: Aide Chat, Email, Gorgias, Zendesk, Front, Messenger, Instagram, WhatsAppEverywhere Aide answers
Kind of conversationEmail, Chat, Messaging, SMS, Public commentsEvery 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.

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.

ConditionValuesListedUsed in
topicA topic recorded on the conversationAlwaysLet Aide answer one kind of email and draft the rest
highest topicThe top topic of the customer's messageAlways
topic confidence80% to 97.5%, in steps of 2.5Always
is first messagetrueAlwaysMake Aide answer only the first email in a thread
ticket › statusnew, open, closed. With Zendesk connected: new, open, closed, solved, pending. With Front and no Zendesk: new, open, unassigned, assigned, archivedAlways
ticket tagOne of your workspace's tagsAlways
ticket › or contact ›, then a field's nameOne of the field's optionsFor each field that has a list of optionsUse Zendesk ticket fields in a procedure
Zendesk › group, Gorgias › teamA group or team synced from the helpdeskWith that helpdesk connectedRun a procedure only for a Zendesk group
message or subjectA pattern for the customer's message and the subject, with matches or doesn’t matchAlways

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.

ConditionValues
order existstrue
order statusNot shipped yet, Partially shipped, Shipped, Delivered, Cancelled
tracking existstrue
order tagA whole tag on the customer's newest Shopify order, in capitals or not
order createdin the past hour, or in the past 2, 3, 4, 5, 6, 7, 8, 12, 16 or 24 hours
tracking begun, tracking last updatedin the past week, or in the past 2 to 8 weeks
destination countryUnited States, Canada, United Kingdom, Australia, Germany
shipment statusLabel purchased, Label printed, Confirmed, Carrier picked up, In transit, Out for delivery, Attempted delivery, Delayed, Ready for pickup, Delivered, Failure
tracking companyThe 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.

GroupItemWhat it does
StepCondition (If / Otherwise)Starts an If block, on an empty step
CollectA field's nameAide collects that detail when the conversation gets to the step
AskChoicesWhen Aide asks the step's question, the customer sees the choices as buttons, word for word
UseA field's nameAide uses that detail at the step
DoAn action, or Follow-upSee the next table
KnowledgeA knowledge source's nameWhile the procedure runs, Aide looks in that source as well as its usual knowledge
FieldsCreate fieldAdds 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.

ActionIts settingWhat it does
Update addressNoneAllows 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 tagTagTags the conversation
Tag the orderOrder tagTags the order in Shopify
AssignGroupAssigns the conversation to that group
Apply macroMacroRuns the macro. See Run a Zendesk macro from a procedure
Add noteNoteAdds an internal note for your team
Set fieldField, then Value or a dateSets 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-upNoneAdds 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.

ActionIts settingWhat it does
Send a replyThe reply's textOn 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 replyA textGuides the reply Aide writes
Suggest a macroA macroNames the macro for your team and applies nothing. See Suggest a macro to teammates on matching tickets
Pre-write a replyNoneOn a connected helpdesk, Aide's reply becomes a draft for your team to review. See Pre-write drafts for one kind of conversation
Close the conversationNoneCloses the conversation
Write a replyEscalate with an internal comment or Escalate with a hand-off messageSets how Aide escalates when it cannot answer
Answer only from these sourcesUp to 20 knowledge sourcesAide 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.

FinishWhat Aide does
Reply and stay openReplies and leaves the conversation open for the customer's answer. A new procedure has this choice
Hand offWith 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
CloseCloses the conversation once it has replied
When the customerChoices, the first being the one a procedure has at the start
Asks a question your knowledge answersAnswer it and stay in this procedure, or Answer it and leave this procedure
Asks for a personHand off, or Stay and continue the steps first
Says something another procedure is forSwitch 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.

SettingChoicesWhat it does
PriorityLow, Medium (default), HighDecides 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
DelayImmediately, After 5 minutes, After 10 minutes, After 15 minutesWaits that long after the customer's message before Aide acts. Delay Aide's email replies sets it on a reply rule

Frequently asked questions

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).

Start your 7-day free trial

Every plan includes every feature. Set up and preview your agent before the trial starts.

Not ready yet? Get product updates by email