Start a conversation

Building Automation Conditions and Actions for Views, SLAs, and Reports

Overview

This article provides a concise summary of all the available conditions and their actions to build automation for views, SLAs and reports.

Information

When building automation, views, SLAs, or custom reports, you have a vast array of options for defining your criteria, as well as for telling Kayako what to do with any conversations that match. Those criteria-defining options are called 'Conditions,' and the instructions for Kayako are called 'Actions.'

Having such a massive variety of options does give you a lot of power and flexibility, but it can also be easy to get a little lost. So we put this article together as a guidebook.

Below you'll find two reference tables. The first lists every condition available, as well as which Kayako structures they can be used in. The second gives you a rundown of all the actions you can choose from when building triggers or monitors.

Conditions you can choose from

The table below lists all of the terms available when building automation, views, and SLAs. Hover over the condition name for a description of how it works.

CONDITION TRIGGER MONITOR VIEW SLA REPORT
CONVERSATION-BASED CONDITIONS
[Status] Match the status of the conversation. checkmark.png  checkmark.png  checkmark.png     checkmark.png
[Priority] Match the priority of the conversation.
Note: When building SLAs, you'll set your targets according to conversation priority.
checkmark.png  checkmark.png   checkmark.png    checkmark.png
[Type] Match the type of conversation. checkmark.png   checkmark.png  checkmark.png  checkmark.png  checkmark.png
[Team] Match the team the conversation is assigned to.  checkmark.png   checkmark.png  checkmark.png  checkmark.png  checkmark.png
[Assignee] Match the specific agent the conversation is assigned to.  checkmark.png  checkmark.png  checkmark.png checkmark.png   checkmark.png
[Requester] Match the requester of the conversation.  checkmark.png  checkmark.png  checkmark.png checkmark.png   checkmark.png
[Organization] Match the organization of the conversation (the requester's organization). checkmark.png  checkmark.png  checkmark.png  checkmark.png  checkmark.png 
[Tags] Match the conversation's tags.  checkmark.png checkmark.png   checkmark.png  checkmark.png  checkmark.png
[Subject] Match the subject of the conversation. checkmark.png  checkmark.png       checkmark.png
[Brand] Match the conversation's brand. checkmark.png   checkmark.png  checkmark.png checkmark.png   checkmark.png
[Form] Match the form the conversation uses.  checkmark.png  checkmark.png  checkmark.png checkmark.png   
[Source channel] Match the channel through which the conversation was created. checkmark.png   checkmark.png  checkmark.png  checkmark.png checkmark.png 
[State] Match whether the conversation is active or trashed.  checkmark.png        
[Satisfaction status] Match whether the satisfaction survey has been 'sent,' 'not sent' or 'received.'  checkmark.png  checkmark.png  checkmark.png    checkmark.png
[Satisfaction rating] Match the satisfaction rating of a conversation.  checkmark.png checkmark.png  checkmark.png     checkmark.png
[Satisfaction comment] Match the contents of a comment left during a satisfaction rating. checkmark.png         
[Reopen count] Match the total number of times the conversation has been reopened (after having been set to 'Completed').  checkmark.png checkmark.png  checkmark.png     
[Agent reply count] Match the total number of posts made by agents in the conversation (excluding private notes). checkmark.png  checkmark.png  checkmark.png     
[Requester reply count] Match the total number of posts made by the requester in the conversation. checkmark.png  checkmark.png  checkmark.png     
[Reply count] Match the total number of replies in the conversation, from agents or the requester.  checkmark.png checkmark.png  checkmark.png     
[Assignee changes] Match the number of times this conversation has been moved between different assignees. checkmark.png   checkmark.png  checkmark.png    
[Team changes] Match the number of times this conversation has been moved between different teams.  checkmark.png  checkmark.png  checkmark.png    
[Time since the last update] Match the amount of time since the conversation was last updated, by anyone or anything.  checkmark.png  checkmark.png checkmark.png     checkmark.png
[Time since conversation created] Match the amount of time since the communication was first established.  checkmark.png  checkmark.png  checkmark.png   checkmark.png 
[Time since latest update by requester] Match the amount of time since the requester's most recent update to the conversation.   checkmark.png  checkmark.png     
[Time since latest update by assignee] Match the amount of time since the agent assigned to the conversation made any kind of update (reply, note, or field update).    checkmark.png checkmark.png     
[Time since requester last received a response] Match the amount of time since the requester last received a reply. If the requester is a customer, this will exclude private notes (which are only visible to agents). If the requester is an agent, this will include private notes.    checkmark.png  checkmark.png    
[Time since the conversation was first assigned] Match the amount of time since the communication was first assigned to an agent.   checkmark.png   checkmark.png    
[Time spent in current status] Match the amount of time the conversation has spent in its current situation.    checkmark.png checkmark.png     
[Time since completed] Match the amount of time since the conversation happened set to the 'Completed' status.   checkmark.png  checkmark.png     
[Last active user] Match the user who last updated this conversation.  checkmark.png checkmark.png  checkmark.png     
[Last active user role type] Match the role type of the user who last updated the conversation. checkmark.png  checkmark.png   checkmark.png    
[Conversation created] Date on which the conversation was created.          checkmark.png
[Conversation last updated] Date on which the conversation was last updated.          checkmark.png
[Conversation completed] Date on which the conversation was marked 'Complete'.          checkmark.png
[Custom conversation fields] Match the value of any custom conversation fields you've created.  checkmark.png   checkmark.png  checkmark.png  checkmark.png checkmark.png 
CONDITION TRIGGER MONITOR VIEW SLA REPORT
SLA-BASED CONDITIONS
SLA. Match the SLA that currently applies to the conversation.  checkmark.png checkmark.png   checkmark.png   checkmark.png 
SLA breached. Match whether the conversation has breached any of its SLA deadlines.  checkmark.png  checkmark.png checkmark.png     checkmark.png
Time to next breach. Match the time to the nearest SLA deadline.   checkmark.png  checkmark.png     
Time since last breach. Match the time since the most recent breach of an SLA deadline.    checkmark.png  checkmark.png    
First response time remaining. Match the time remaining until the SLA's first response deadline.    checkmark.png checkmark.png     
Reply time remaining. Match the time remaining until the SLA's next reply deadline.    checkmark.png checkmark.png     
Resolution time remaining. Match the time remaining until the SLA's resolution deadline.    checkmark.png checkmark.png     
CONDITIONS FOR CONVERSATION EVENT-BASED TRIGGERS
Conversation event type. Match the type of conversation event — update, creation, or either. checkmark.png         
Conversation updated during. Match whether the event occurred during business hours, as determined by the team the conversation belongs to.  checkmark.png        
Current user's  role type. Match the role for the user who created or updated the conversation.  checkmark.png        
Current user. Match the specific user who created or updated the conversation.  checkmark.png        
CONDITIONS FOR CONVERSATION POST-BASED TRIGGERS
New Message Type. Match whether the conversation update included conversation post — either a reply or a private note. checkmark.png        
Post contents. Match the contents of the new conversation post.  checkmark.png        
CONDITIONS FOR X-ONLY TRIGGERS
Received at. Match the X account the incoming Tweet was received by.  checkmark.png        
From @handle. Match the @handle of the author of the incoming Tweet.  checkmark.png        
Likes. Match the number of likes that the incoming Tweet has.  checkmark.png        
Retweets. Match the number of retweets the incoming Tweet has.  checkmark.png        
CONDITION TRIGGER MONITOR VIEW SLA REPORT
CONDITIONS FOR SYSTEM-ONLY TRIGGERS
SLA target breached. Match the specific SLA deadline that was breached, applicable to conversations updated by an SLA breach event.  checkmark.png        
CONDITIONS FOR EMAIL-ONLY TRIGGERS
Received at. Match the address (i.e., 'support@support.kayako.com') that the incoming email was received by. checkmark.png         
Attachment names. Match the names of any attachments to the incoming email.  checkmark.png        
Attachment count. Match the number of attachments to the incoming email. checkmark.png         
Subject. Match the subject of the incoming email. checkmark.png         
Reply-to. Match the address and name of the 'reply-to' recipient of the incoming email, which is sometimes different from the sender. checkmark.png         
Sender name. Match the name of the sender of the incoming email.  checkmark.png        
Sender address. Match the address of the sender of the incoming email.  checkmark.png        
CC recipients. Match the addresses and/or names of any recipients that were CC'd on the incoming email. checkmark.png         
BCC recipients. Match the addresses and/or names of any recipients that were BCC'd on the incoming email. checkmark.png         
Raw message headers. Match anything in the raw message headers. This field is useful if you want to search or match for any specific email headers and values. checkmark.png         
CONDITIONS FOR MESSENGER-ONLY TRIGGERS
Page URL. Match the URL where the Messenger conversation began. checkmark.png         
CONDITIONS FOR FACEBOOK-ONLY TRIGGERS
Received at. Match the Facebook page the incoming message was received by. checkmark.png         
REQUESTER-BASED CONDITIONS
Role type. Match the role type of requester.  checkmark.png checkmark.png       
Timezone. Match the requester's timezone. checkmark.png  checkmark.png  checkmark.png     
Language. Match the locale of the requester, such as en-US.  checkmark.png  checkmark.png checkmark.png     
Primary email. Match the requester's primary email address. checkmark.png  checkmark.png       
X followers. Match the number of followers the requester has on their primary X account (if they have connected their X account to their Kayako account). checkmark.png  checkmark.png       
X account verified. Match whether the requester had connected a X account to Kayako.  checkmark.png  checkmark.png      
Tags. Match the requester's tags.  checkmark.png checkmark.png   checkmark.png    checkmark.png
[custom user fields] Match the value of any custom user fields you've created.  checkmark.png  checkmark.png  checkmark.png checkmark.png  checkmark.png 
ORGANIZATION-BASED CONDITIONS
Tags. Match the organization's tags. checkmark.png  checkmark.png  checkmark.png    checkmark.png 
[custom organization fields] Match the value of any custom organization fields you've created.   checkmark.png checkmark.png  checkmark.png   checkmark.png checkmark.png 

Actions you can choose from when building triggers and monitors

Once you've defined a subset of conversations that automation will apply to, you'll then tell Kayako what you'd like it to do with conversations that match your conditions. You'll be able to choose from one or more of the actions below to define the behavior of your automation.

ACTION DESCRIPTION
Conversation: Status Change conversation status.
Conversation: Priority Increase, decrease, or an assign a particular priority to the conversation.
Conversation: Type Change the conversation type.
Conversation: Assignee Assign the conversation to an agent.
Conversation: Tags Add, remove, or replace tags on the conversation.
Conversation: Team Assigns the conversation to a team.
Conversation: Send satisfaction survey Send a satisfaction survey to the requester.
Notification: Email a user Send an email to a user. You'll have the chance to add a subject and body for the email.
Notification: Email a team Send an email to an entire team. You'll have the chance to add a subject and body for the email.
Flow control: Stop notifications Prevent any default notifications from sending as a result of this conversation update.
Flow control: Stop processing other rules Stop Kayako from checking this conversation against any additional automation.
[Endpoint] Send information to an endpoint you've defined. You'll have the chance to specify message or payload details, depending on the endpoint type.
[Custom field] Set a value for a custom field you've defined.


Reference Link

Creating Automations with Triggers and Monitors

 

Choose files or drag and drop files
Was this article helpful?
Yes
No
  1. Priyanka Bhotika

  2. Posted
  3. Updated

Comments