Automation — configuration
For whoever looks after the workspace. Automation (workspace.automation)
holds reply targets and the working hours they are measured in, inbound rules
with round-robin and least-busy assignment, and saved replies. It needs
Mail, and it is on in every workspace whose account holds its switch.
Switched off, no target is set, listed or measured, no rule runs and no saved reply is offered: the badges leave the lists, the minute's measuring and its notices stop, the composer loses its Saved replies button, and every route answers that automation is off. Every target, working week, holiday, rule and saved reply stays, and comes back when it is switched on.
Permissions
| Permission | Who has it by default | What it allows |
|---|---|---|
reply_target.manage | Admin, Manager | Set the targets of the shared mailboxes they can open, a shared label's target, the working week and the holidays |
mail_rule.manage | Admin, Manager | Make, change, order, switch off, remove and try the inbound rules of the shared mailboxes they can open. Never from a support session |
saved_reply.manage | Admin, Manager | Keep the workspace's saved replies and those of any shared mailbox they can open. A shared mailbox's own managers keep its saved replies without it |
conversation.read | Every role | See the badges on conversations they can see; use the saved replies they can see |
conversation.write | Every role but ReadOnly | Keep saved replies of their own |
A Manager who is not in a shared mailbox cannot see or set its target: the mailbox's own people decide who opens it (Shared mailboxes, Members).
Targets
Per shared mailbox, and optionally per shared label, three numbers of working minutes, each optional:
| Promise | Counted from | Settled by |
|---|---|---|
| First answer | The customer's first message (not an automatic one) | The mailbox's first answer |
| Next answer | The customer's first message still waiting after an answer | The mailbox's next answer |
| Closed | The first message, or the last reopen | Closing it |
Where a conversation carries a label with a target, each promise is the stricter (smaller) of the mailbox's and the label's. Personal mailboxes are never measured; a conversation marked as spam is closed and owes nothing.
Recommended: first answer 2 h, next answer 4 h, closed 3 working days for a sales mailbox; a 30-minute first answer on an Urgent label.
Working hours
One working week for the workspace: for each weekday worked, one span of hours (09:00 to 17:30), in one IANA time zone; and the holidays, as dates in that zone. With no working week set, targets run around the clock (every minute of every day, holidays included). A day the clocks change counts the hours it really has. A team's own week is not built yet.
Setting
| Key | Default | What it does |
|---|---|---|
workspace.reply_target_warn_minutes | 30 | How long before the due time the person who has a conversation (or, with nobody, the mailbox's managers) is told it is due soon, and when the badge turns due soon. 0 tells them only when it is overdue |
Notices
reply_target.due_soon (in the bell) and reply_target.breached (the bell and
email), once per due time each, to whoever has the conversation, or the
mailbox's managers when nobody does — only people who read that mailbox. A
breach first seen more than an hour after it happened (a target set today on
old mail) is marked, not told.
Interactions
- Mail: a message synced, a reply sent from the hub, an assignment, a close, a reopen or a merge works the conversation out again at once.
- Labels: putting a label with a target on, or taking it off, does too.
- Out of office: never read by targets.
- Insights (when they come): measured from the conversations' own lines.
Inbound rules
Per shared mailbox (never a personal one), on Mailbox rules under the workspace's Settings. Each rule says what to look for in a new conversation's first message and what to do with it.
| Looks at | Compared by |
|---|---|
| Sender's address | is, is not, contains, starts with, ends with |
| Sender's domain | is (subdomains too), is, is not, ends with |
| Sent to (To or Cc) | one of them is |
| Subject | is, is not, contains, starts with, ends with |
| Message text (its first 10,000 characters) | contains |
| Has files attached; sent by a machine | yes or no |
Every comparison ignores capitals, and runs of spaces and line breaks count as one space, so "price list" finds a line broken between the two words. A rule with no condition matches every new conversation: put it last.
For a sender's domain choose is (subdomains too): acme.com matches
acme.com and mail.acme.com, never notacme.com. Ends with would match
that look-alike too; it stays for rules made with it.
| Does | Notes |
|---|---|
| Give to a person | Somebody with a seat in the mailbox. Skipped if they are away, leaving it to a later rule |
| Give to a team | Round-robin (each in turn), least busy (fewest open conversations in this mailbox) or the team's queue. Only the team's people who have a seat in the mailbox, may read conversations and are not away. With nobody free it goes to the team's queue |
| Add a shared label | The workspace's or a team's. A label with its own reply target holds the conversation to the stricter target |
| Write a note | Seen by the mailbox's people, never by the customer |
| Close it; mark as spam | For no-reply notices, newsletters, junk. Spam is never labelled or given to anybody: a rule that marks spam may also write a note, nothing else |
Order and stop. Every rule that matches acts, top to bottom, until one marked Stop here. The first rule that gives the conversation to somebody wins; labels add up. A rule that marks spam stops there too. Once a rule has closed the conversation, later rules no longer label it or give it to anybody (no team's turn is used up on it); their notes are still written. A customer's reply after a rule closed it opens it again, as always.
When rules run. Once per conversation, when its first message arrives — never again on a reply, so nothing a person changed is undone. Mail more than two days old when it is read (a mailbox's history read when it is first connected, or after it was disconnected) is left alone.
Rules never send mail — no automatic answer, no forward — so a rule cannot answer a machine and start a loop. A rule may close mail a machine sent.
A reply to somebody away. When a customer writes again on a conversation whose person is away now (Out of office), it goes back to its team, nobody's by name, with a line saying so. This needs no rule.
Try before you trust. Try the rules runs them — or a rule being written — on one of the mailbox's conversations and says what each would do. Nothing changes.
Every rule's change, and everything a rule does, is in the audit log with the
rule's id. Recommended: a first rule closing automated mail from
no-reply senders (with Stop here), then the specific ones, then a
catch-all giving the rest to the mailbox's team by round-robin.
Saved replies
On Saved replies under the workspace's Settings, and from the
composer's Saved replies button. Three kinds: the workspace's (everybody),
a shared mailbox's (its people) and each person's own (nobody else, not even
an administrator). A saved reply is put into the message as text where the
cursor is; it is never sent by itself. It may hold {{contact.first_name}},
{{contact.name}}, {{conversation.subject}}, {{me.first_name}},
{{me.name}} and {{mailbox.name}}; one with no value is left as written so
the writer sees it. Changes to a shared one are audited (its name and that the
text changed, never the text); a personal one is not.