Start a rule from a template
The seven rule templates, what each one does as it opens, and recipes for other common rules you can build in a few minutes.
On this page
A template opens the rule editor already filled in. Nothing is saved until you check it and click Save rule, so you can change any word, condition or action first. A new helpdesk has no rules at all; templates are the quickest way to get the first few running.
Admins can use templates. Other roles can browse the page but not create a rule from it.
Use a template#
Go to Workflows > Rules and click Start from a template.
Read the cards. Each one shows Runs when, If and Then in plain words.
Click Use this template on the one you want. The editor opens with a note naming the template.
Check each condition and action. Some templates leave a choice for you, such as which team gets the ticket; the rule will not save until you make it.
Click Save rule. The rule is on from the moment you save it.
Start from scratch at the top of the template page opens an empty rule instead.
The templates#
| Template | Runs when | If | Then |
|---|---|---|---|
| Tag and route refund requests | Ticket created, New message | The message is from the customer and its text contains any of "refund", "money back", "reimburse", "chargeback" | Adds the tag refund and assigns the team you choose |
| Close automatic replies | Ticket created | The message is from the customer, and its subject contains "automatic reply", "auto-reply", "autoreply" or "out of office", or its text contains "out of the office", "out of office", "away from the office" or "this is an automated message" | Adds the tag auto-reply and closes the ticket |
| Mark customers from a VIP domain | Ticket created | The customer's email ends with "@example.com" | Adds the tag vip and sets the priority to High |
| Send urgent tickets to a team | Ticket created, Ticket updated | Priority is High or Critical, status is Open, and no team is set | Assigns the team you choose and adds the tag escalated |
| Snooze tickets waiting on the customer | Ticket updated | Tags include waiting-on-customer, status is Open, and the ticket is not snoozed | Snoozes the ticket for 3 days |
| Leave a note when a closed ticket gets a reply | New message | The message is from the customer and the ticket has a closed date | Adds the tag reopened and an internal note asking the next agent to read the earlier replies first |
| Tag questions about shipping | Ticket created | The message text contains any of "where is my order", "tracking", "shipping", "delivery", "has not arrived" | Adds the tag shipping |
Things to change before you save:
VIP domain: replace
@example.comwith the domain you care about, such as a wholesale partner's.Refund requests and Urgent tickets: pick the team under Assign to team.
Shipping questions: "delivery" and "shipping" also appear in plenty of messages that are not about a late order. Add or remove words after reading a week of tickets.
Waiting on the customer: the tag has to exist and your agents have to use it. Create it in Tags first.
To keep an eye on what a rule catches, build a view filtered by the tag it adds, for example Tags includes any of refund. See Views and sections.
Recipes for other common rules#
These are not templates, but each takes a minute with Create rule.
Close notifications from your own tools#
Order and payment notices from Shopify, your payment provider or your shipping app sometimes land in the support inbox.
When: tick A ticket is created
If: Sender address is one of the addresses those notices come from, such as your store's notification address
Then: Add tags notification, Set status Closed, Skip the satisfaction survey, so the sender is not asked to rate you
Tag discount code questions#
When: tick A ticket is created and A message is added to a ticket
If: Sent by an agent is No, and Message text contains any of "discount", "promo code", "coupon", "code didn't work"
Then: Add tags discount-code
Tag return and exchange requests#
When: tick A ticket is created and A message is added to a ticket
If: Sent by an agent is No, and Message text contains any of "return", "exchange", "send it back", "wrong size"
Then: Add tags returns
Acknowledge new emails#
When: tick A ticket is created
If: Channel is Email, and Started by an agent is No
Then: Send a reply saying you have the message and when to expect an answer, for example "Hi {{ticket.customer.firstname}}, thanks for writing. We answer within [your usual time]." Add Add tags auto-acknowledged so you can find these tickets.
Rules never answer out-of-office replies or other automatic mail, so this does not start a loop with another auto-responder. Customers do get one more email per ticket, so use it only if you cannot answer quickly.
Raise priority for an unhappy customer#
When: tick A message is added to a ticket
If: Sent by an agent is No, and Message text contains any of "cancel my order", "chargeback", "never ordering again", "speak to a manager"
Then: Set priority High
What templates cannot do here#
Templates that depend on business hours or holidays, such as a reply sent only after hours, cannot be built: rules have no business-hours condition. Chat has its own offline settings; see Chat outside business hours.
Templates for social media comments, Instagram mentions or subscription apps do not apply, because those channels and apps are not connected here.
Using a template does not create a view for you. Build one from the tag, as above.
Related articles
- How rules workBuild a rule from When, If, Then and Otherwise, set the order rules run in, and find what a rule did on a ticket.
- Rule conditions and actions referenceEvery field a rule can check, the operators each one offers, how matching works, and every action a rule can take.
- Writing rules that behaveHow to name, order and test rules so they tag, route, close and reply to the right tickets and leave the rest alone.
- Views and sectionsBuild the ticket queues in the inbox sidebar, decide who sees each one, group them into sections, and choose which built-in views each agent keeps in sight.
Still stuck?
Write to the Growth Dept team and a person answers. Say which helpdesk you work in and what you were trying to do.