Create a procedure
- Open Procedures and choose New > Procedure. Give it a name.
- Under When to use, describe the situation.
- Under Where it runs, pick the channels or inboxes it is for, or leave it on Everywhere Aide answers.
- Under Only if, add any conditions it needs, such as a topic or a tag.
- Write the Steps: what Aide should do, one step at a time. Type @ to add a field to collect, a field to use, an action or a knowledge source.
- Choose how it Finishes.
- Choose Set live.
Describe your process
Owners and admins can have Aide write the procedure for them. Choose New > Describe your process and write the process the way you’d explain it to a new teammate, or paste your SOP, a macro or a sample chat (at least 20 characters, up to 8,000). Aide drafts the whole procedure in about 15 to 30 seconds: the name, the When to use and examples, the steps with your own fields, macros, knowledge sources and teams added with @, any If and Otherwise branches, and how it finishes. Before you keep it, the draft shows:- Needs: what the process uses that your workspace doesn’t have yet. For a missing field, choose Create field to create it and add it to the step. A missing macro, knowledge source or team stays as words in the step; add it later.
- Aide wasn’t sure about: up to three questions. Answer any of them and choose Draft again for a new draft that uses your answers.
- Changed while drafting: what Aide adjusted so the procedure is valid, at the step it concerns: a field, macro or source it left out because your workspace doesn’t have it, or an action kept as words because it can’t wait for an If branch.
- When one of your live procedures looks like the same process, a note links to it so you can open it instead.
Hand off when…
For a situation your team should always take over, such as a customer threatening legal action, choose New > Hand off when…. It starts a procedure that finishes by handing off and needs no steps: write the When to use and switch it on. Hand-off rules are procedures, so they show up, and can be checked, like any other. A procedure that hands off straight away takes over as soon as a message fits it, even in the middle of another procedure, whatever that procedure’s “If the customer changes subject” setting says. A procedure that collects details before handing off is an ordinary procedure that ends with your team: it takes over from another one only when it fits better, and the editor says so as soon as you tick a detail. For procedures that work through their steps before handing off, see Procedures that hand off to your team.When to use
Write up to 300 characters on the situation the procedure is for, as you’d brief a teammate: “The customer says an item arrived broken or damaged.” Add what it is not for in the same text, with “Not when …”: “Not when the parcel is only late.” The look-alikes you name there are left to another procedure, or to Aide’s usual reply. Aide reads every customer message against the When to use of your live procedures, at the same time as it tags topics. The procedure that fits best is followed. When none fits well enough, Aide replies as usual.Train on examples
Choose Train on examples to add messages the procedure is for (Use when) and messages it is not for (Don’t use when), one per line. You can paste a list. Each list takes up to 20 examples of up to 300 characters. Examples help most for the near misses: messages that sound alike but need something else.Check trigger
Owners and admins can choose Check trigger to try the When to use before switching the procedure on. Aide reads the last 50 conversations where the procedure runs and lists the ones it would have matched and the ones it declined, with a short reason for each near miss. The check uses your workspace’s AI budget, like any other AI work, and shows what it cost. Editing the text and checking again runs a new check.Where it runs
Where it runs limits the procedure to some places, the same way in every connected helpdesk and on Aide’s own channels. Choose it to open the list of your channels, each with its inboxes:- A whole channel: Aide Chat, Email, Gorgias, Zendesk, Front, Messenger, Instagram or WhatsApp. Every conversation on that channel, including inboxes you connect later.
- Some inboxes: a Gorgias integration, a Zendesk brand, a Front inbox, a Facebook page, an Instagram account, a WhatsApp number or one of your email addresses. Gmail mailboxes are listed under Email, by their address.
- Both: a conversation in any of the places you picked is enough. For example, Aide Chat and Gorgias’ Support email means either one.
- Nothing picked (the default): Everywhere Aide answers.
Only if
Conditions under Only if decide whether the procedure may run at all. Aide only considers the procedure on conversations they allow, whatever the customer writes. Leave them empty to consider it everywhere. Conditions sit in groups. Inside a group, every condition must be true; between groups, any group can match (“or”). You can have up to 20 groups of up to 20 conditions. Conditions can check:- the topic, the highest topic, a priority topic and the topic confidence
- whether it is first message
- the ticket’s tags, status and fields, and contact and user fields
- the helpdesk team handling the conversation: Zendesk › group or Gorgias › team, from the groups and teams Aide syncs. It follows a reassignment, since it is checked on each message. A conversation with no team, or in another helpdesk, isn’t in any team. Front has no teams. Conversations already in Aide get their team the next time they sync.
- Salesforce contact fields, when Salesforce is connected
- Shopify order data: order exists, order tag, order created, destination country, tracking exists, tracking begun, tracking last updated, shipment status and tracking company
- message or subject: a pattern (regular expression) the customer’s message or subject matches, ignoring case. Name it, and test it on a pasted message and subject before saving.
Rules for every conversation
A rule that should hold in every conversation, such as “never promise a delivery date”, is an instruction, not a procedure: add it under AI Agent > Instructions (see Set up the Aide AI Agent). How the agent sounds belongs in Tone & identity. Instructions always apply; where a procedure says something more specific for its situation, the procedure wins.Steps
Write the steps the way you’d brief a teammate: “Ask for the order number. Check whether it has shipped.” Up to 30 steps, each up to 1,000 characters. Type @ in a step to add:- Collect: a field Aide asks the customer for. Text, number, choice and yes/no fields can be collected.
- Use: a field whose value Aide reads, such as the order number it already has.
- Do: update the shipping address, add a tag, tag the Shopify order, assign to a group, run a macro or add an internal note.
- Knowledge: a source Aide also looks in while the procedure runs (up to 20 per procedure). Aide still searches all its usual knowledge, and adds the source’s best matches for the customer’s question to what it reads. To keep Aide to some sources, use Answer only from these sources instead.
If and Otherwise
Add an If step when Aide should do different things depending on the conversation, such as “If the order has not shipped”. Write each condition in plain words; Aide judges it from the conversation. A step can have up to five If branches and an Otherwise, each with up to 10 steps. Branches can’t contain another If. Inside a branch you can collect and use fields, add knowledge, and update the shipping address. Tags, assignment, macros, order tags and notes run as soon as the procedure starts, so they can’t depend on a branch: put them in a step outside the If.Actions
A procedure runs up to 20 actions, in order. In the steps editor, the actions you add with @ come from the steps; the rest (Write a reply, Send a reply, Pre-write a reply, Suggest a reply, Suggest a macro, Close the conversation, Answer only from these sources) are under More actions.- Steps: what Aide does in this situation, in your words, such as what to ask, what to check and what to always say.
- Answer only from these sources: Aide looks for its answer only in the knowledge sources you pick (up to 20). One per procedure.
- Write a reply: Aide writes and sends the reply for this message, even on a topic that only drafts. Choose what happens when it can’t answer: Escalate with an internal comment (its reply goes to your team as a note instead) or Escalate with a hand-off message (the conversation goes to your team straight away).
- Send a reply: on a connected helpdesk, its text is sent to the customer exactly as written; on Aide’s own chat and email, it guides what Aide writes. One reply action per procedure.
- Pre-write a reply: prepare a Copilot draft for your team ahead of time, for this procedure’s conversations. For a draft ready on every conversation, set Copilot’s When to write the draft to In the background (see Copilot drafts for your team).
- Suggest a reply: suggest the text you write to the teammate.
- Run a macro or Suggest a macro: a suggested macro appears in the thread under the customer’s message.
- Post internal comment: leave a note for the team.
- Collect a field: Aide asks the customer for a field’s value. Text, number, choice and yes/no fields can be collected.
- Add a tag, Assign to a group, Close the conversation.
- Tag the Shopify order: add a tag to the customer’s newest Shopify order.
- Run an automation: Update shipping address for Shopify order. See Order changes from a procedure below.
Order changes from a procedure
An automation never changes an order by itself. Order changes such as a new address happen only through the order action rules you’ve set: the topic’s AI level, the customer’s confirmation and your approval limits (see Let Aide cancel, refund and change orders in chat). On a message where a Write a reply procedure lets Aide act as on a topic set to AI Agent, Aide offers only the order changes the procedure’s automation names: with Update shipping address for Shopify order, the address change. Without an automation, it offers none. Once a live procedure updates the shipping address (a Do step or the automation), Aide changes addresses only in conversations a procedure that updates it applies to. Everywhere else it doesn’t offer the change, whatever the topic’s AI level; the other order changes are not affected. Inside the procedure, the topic’s AI level still decides whether a teammate approves the change. Returns and the returns portal link are not affected.Answer only from these sources
Use this to keep one brand’s questions on that brand’s help center, or a wholesale inbox on the wholesale guide. It narrows where Aide looks; it doesn’t change how Aide answers. Add it under More actions. While a procedure runs, Aide still searches your usual knowledge unless the procedure has this action. A knowledge source added with @ in a step never narrows where Aide looks: it adds that source.- When several matching procedures pick sources, Aide looks in all of them together.
- A source added with @ is only searched within what Aide may answer from: with this action, only when the source is one of those picked; with an agent limited to some sources, only when it’s one of the agent’s.
- An agent limited to some sources answers from the sources it shares with the procedure. If it shares none, the procedure’s sources are ignored for that agent and it answers from its usual knowledge. After you save, the editor names each agent this affects.
- Copilot drafts follow the same rule.
- Deleting a source removes it from every procedure that picked it.
Tag the Shopify order
Type the tag, for example “Do not import”, so your fulfilment app skips an order the customer asked to hold.- The tag goes on the customer’s newest order, once Aide knows the customer is who they say they are (a verified chat shopper, a linked order, or a helpdesk’s trusted sender). If the newest order is cancelled, nothing is tagged.
- The tag is added at once and sits next to the order’s existing tags.
- When it can’t be added, an internal note says which order wasn’t tagged and why.
- Tags are up to 40 characters, with no commas. A procedure can add up to five order tags.
Finish
Choose what happens once the procedure is done:- Reply and stay open (default): Aide replies and leaves the conversation open for the customer’s answer.
- Hand off: Aide hands the conversation to your team as soon as the procedure applies, with a hand-off message. Tick fields under Hand off once these details are collected to have Aide first collect what the procedure’s Collect a field actions ask for; it hands off as soon as they all have a value.
- Close: Aide closes the conversation once it has replied.
If the customer changes subject
Once a procedure starts, it stays active on the customer’s follow-up messages until it finishes. This section, collapsed under the procedure, says what happens when the customer moves on. Each case has a default and one alternative:- Asks a question your knowledge answers: Aide answers it and stays in the procedure, or answers it and leaves the procedure.
- Asks for a person: Aide hands off, or stays and continues the steps first.
- Says something another procedure is for: Aide switches when the other procedure fits better, or stays until this procedure finishes.
See what Aide followed
In a conversation’s thread, the Trigger row under a customer message names the procedure Aide followed, and the ones it considered but didn’t follow, with the reason: a near miss, another procedure that fitted better, or the customer changing subject. The Procedure row below it shows the actions that ran.Priority and delay
Under Execution:- Priority: Low runs only if no other matching procedure does. Medium (default) runs whenever it matches. High runs when it matches, and no other procedure’s actions run.
- Delay: Immediately, or After 5 minutes, After 10 minutes or After 15 minutes. A delay makes the reply feel more natural and gives your team a chance to answer first.
Run a procedure on existing conversations
A new or changed procedure doesn’t have to wait for the next customer message. Owners and admins can apply it to open conversations that are already waiting:- Turn the procedure on and save it.
- Choose Run on existing conversations.
- Filter by status, channel, topic and when the conversations were created (Created after, Created before). With no filters, every open conversation is picked, oldest first, up to 5,000.
- Choose Preview. Aide shows how many conversations match, how many already ran this procedure and are skipped, and which actions won’t run. Nothing changes yet.
- Run it. You can close the dialog and follow progress on the procedure, or stop it.
Draft and live
A procedure that has never been live saves your changes directly. Once it has been set live, your edits are kept as a Draft while the live version keeps running. Customers only see the draft once you choose Set live.- Set live asks What changed? Add a short note; it goes in the version history.
- Discard draft throws the draft away and keeps the live version.
- Version history lists every version that was set live, with who did it and their note. Restore puts an old version back as the draft, so you can check it before setting it live. If you already have a draft, Aide asks before replacing it.