E-mail workflows
Professional onlyBefore you start: The workflows sit on the “E-Mail Settings” page in the “E-Mail Workflows” card. Every team has its own. A change only takes effect after “Save”.
A team mailbox on its own does nothing. Only a workflow decides what happens to an incoming mail. If a team has no enabled workflow, the system does not even check its mailbox.
Choose the team under “Team” and click “+ Add workflow”. A new workflow already has “Create or append ticket” switched on. The name is only for you.
With “Enabled” you switch a workflow off without deleting it. The arrows move it up or down. The bin icon deletes it.
Every incoming mail runs through the workflows of its team from top to bottom. A workflow whose conditions do not apply is skipped.
“Stop after match” ends the run at the first workflow that applies. If you switch it off, the next workflow is checked as well. Several workflows can then act on the same mail.
Put the narrow workflows at the top and a general one at the bottom. One example: a workflow for the word “printer” sets the main category “Printer”. Below it, a workflow for every e-mail catches the rest. The upper workflow then needs its own “Create or append ticket”, because the run ends there.
If no workflow applies, nothing happens to the mail. It stays unread in the inbox. The system checks it again on the next poll.
Mails from blocked senders and automatically generated mails never reach a workflow. The card “Blocking senders” explains both.
Under “When?” you decide which mails the workflow takes. “Every e-mail in this mailbox” takes all of them.
“Only when subject or text contains” takes a mail only if the term appears in the subject or in the text. Upper and lower case make no difference. The field takes exactly one term. A comma does not split it into two.
“Advanced” shows the conditions as rows. “+ Add condition” adds a row. Every row has a “Type”, an “Operator” and a “Value”.
The type says where the system looks: “Subject or body”, “Subject”, “Body”, “Sender (From)” or “Recipient (To/Cc)”. For the body it reads the text of the mail without its formatting.
“Contains” finds the value anywhere. “Equals” requires the whole field to match, for example the whole subject or the whole address. “Regex” takes a regular expression. Upper and lower case never make a difference. A faulty regular expression matches no mail.
An empty value matches no mail. The one exception is “Recipient (To/Cc)”. There an empty value stands for the team’s own mailbox address.
“Match” further up decides how the rows work together. With “All conditions” every row must apply. With “Any condition” one row is enough. For several terms you create one row each and choose “Any condition”.
Below sit five actions as switches. Only what is switched on happens. A switched-off action keeps its settings.
“Create or append ticket” turns the mail into a ticket. If the mail answers an existing case, it becomes a comment there instead. The system recognises such an answer by the reference in the subject or by the reply headers of the mail program.
“Set fields” fills “Priority”, “Status”, “Main category”, “Subcategory”, “Owning team” and “Assign to”. “— Keep default —” leaves a field as it would be without the workflow. The values only apply to a new ticket. A comment on an existing ticket changes no field.
“Auto-reply” confirms receipt to the sender. It only goes out when the workflow has just created a new ticket. An answer to an existing case gets no confirmation. Without “Create or append ticket” no auto-reply goes out.
You build the subject from blocks. “Original subject {originalSubject}” takes the subject of the incoming mail. “Ticket reference {ticketTag}” inserts the reference of the case. Together they give something like “Printer problem [TICKET-99-a1b2c3]”.
The reference only appears where you put {ticketTag}. {ticketId} inserts the bare number only. The system does not recognise an answer by that number.
Write the text in English. Only then can it be translated into the other languages through the language export. If you leave it empty, the system sends its own default message.
“Reply language” decides the language of subject and text. “Standard English” sends English. “Fixed language” sends the language you choose. “Assigned agent’s language” sends the language of the assigned agent. If nobody is assigned yet, the team’s default language applies. “Team default language” always sends the team’s default language.
“Send mail” sends an additional mail. Under “Recipients” you choose “The sender of the incoming e-mail” or “Selected team members and addresses”. There you tick administrators and agents of the team and enter further addresses separated by commas. Every recipient gets a mail of their own.
“Send conditions” decide when this mail goes out. “Always, for every e-mail this workflow handles” sends it on every run. “Only when subject or text contains” and “Advanced” work as under “When?”. The send conditions apply on top of the conditions of the workflow.
“Send mail” also goes out when no ticket was created. The reference then stays empty. Blocked addresses get no mail.
An unknown placeholder in subject or text is refused when you save. The message names the placeholders that are allowed there.
“Move to folder” files the mail into a folder after processing. If the field is empty, the “Processed folder” from the IMAP settings applies. If that is empty as well, the mail stays in the inbox.
Put everything that belongs to one case into a single workflow. Only actions inside the same workflow know the ticket that was just created. That is why the confirmation can name its reference. A second workflow cannot.
More on this in the card: Tickets from e-mail, replies and follow-ups, Blocking senders










