Start a conversation

Conditions and actions for building automations, views, SLAs, and reports

PLAN AVAILABILITY
Free
Inbox
Growth
Scale
Enterprise
NOTE: If you're not sure what plan you're on, sign into the admin area and check the 'Plan' page.

When building automations, views, SLAs, or custom reports you have a huge 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 huge 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 conditions available when building automations, 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 Matches the status of the conversation.
 
 
 

 
Priority Matches the priority of the conversation.
NOTE: When building SLAs, you'll set your targets according to conversation priority.

 
 
 

 
Type Matches the type of the conversation.
 
 
 
 
 
Team Matches the team the conversation is assigned to. 
 
 
 
 
 
Assignee Matches the specific agent the conversation is assigned to.
 
 
 
 
 
Requester Matches the requester of the conversation.
 
 
 
 
 
Organization Matches the organization of the conversation (the requester's organization).
 
 
 
 
 
Tags Matches the conversation's tags.
 
 
 
 
 
Subject Matches the subject of the conversation.
 
 


 
Brand Matches the conversation's brand.
 
 
 
 
 
Form Matches the form the conversation uses.
 
 
 
 

Source channel Matches the channel through which the conversation was created.
 
 
 
 
 
State Matches whether the conversation is active or trashed.
 




Satisfaction status Matches whether the satisfaction survey has been 'sent', 'not sent', or 'received.
 
 
 

 
Satisfaction rating Matches the satisfaction rating of a conversation.
 
 
 

 
Satisfaction comment Matches the contents of a comment left during a satisfaction rating.
 




Reopen count Matches the total number of times the conversation has been reopened (after having been set to 'Completed').
 
 
 


Agent reply count Matches the total number of posts made by agents in the conversation (excluding private notes).
 
 
 


Requester reply count Matches the total number of posts made by the requester in the conversation.
 
 
 


Reply count Matches the total number of replies in the conversation, from agents or the requester.
 
 
 


Assignee changes Matches the number of times this conversation has been moved between different assignees.
 
 
 


Team changes Matches the number of times this conversation has been moved between different teams.
 
 
 


Time since last update Matches the amount of time since the conversation was last updated, by anyone or anything.
 
 
 

 
Time since conversation created Matches the amount of time since the conversation was first created.
 
 
 

 
Time since latest update by requester Matches the amount of time since the requester's most recent update to the conversation.

 
 


Time since latest update by assignee Matches the amount of time since the agent assigned to the conversation made any kind of update (reply, note, or field update).

 
 


Time since requester last received a reply Matches 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.

 
 


Time since conversation was first assigned Matches the amount of time since the conversation was first assigned to an agent.

 
 


Time spent in current status Matches the amount of time the conversation has spent in its current status.

 
 


Time since completed Matches the amount of time since the conversation was set to the 'Completed' status.

 
 


Last active user Matches the user who last updated this conversation.
 
 
 


Last active user role type Matches the role type of the user who last updated the conversation.
 
 
 


Conversation created Date on which the conversation was created.




 
Conversation last updated Date on which the conversation was last updated.




 
Conversation completed Date on which the conversation was marked 'Complete'.




 
[Custom conversation fields] Matches the value of any custom conversation fields you've created. 
 
 
 
 
 
CONDITION
TRIGGER
MONITOR
VIEW
SLA
REPORT
SLA-BASED CONDITIONS
SLA Matches the SLA that currently applies to the conversation.
 
 
 

 
SLA breached Matches whether the conversation has breached any of its SLA deadlines.
 
 
 

 
Time to next breach Matches the time to the nearest SLA deadline.

 
 


Time since last breach Matches the time since the most recent breach of an SLA deadline.

 
 


First response time remaining Matches the time remaining until the SLA's first response deadline.

 
 


Reply time remaining Matches the time remaining until the SLA's next reply deadline.

 
 


Resolution time remaining Matches the time remaining until the SLA's resolution deadline.

 
 


CONDITIONS FOR CONVERSATION EVENT-BASED TRIGGERS
Conversation event type Matches the type of conversation event — update, creation, or either.
 




Conversation updated during Matches whether the event occurred during business hours, as determined by the team the conversation belongs to.
 




Current user's role type Matches the role for the user who created or updated the conversation.
 




Current user Matches the specific user who created or updated the conversation.
 




CONDITIONS FOR CONVERSATION POST-BASED TRIGGERS
New post Matches whether the conversation update included conversation post — either a reply or a private note.
 




Post contents Matches the contents of the new conversation post.
 




CONDITIONS FOR TWITTER-ONLY TRIGGERS
Received at Matches the Twitter account the incoming Tweet was received by.
 




From @handle Matches the @handle of the author of the incoming Tweet.
 




Likes Matches the number of likes that the incoming Tweet has.
 




Retweets Matches the number of retweets the incoming Tweet has.
 




CONDITION
TRIGGER
MONITOR
VIEW
SLA
REPORT
CONDITIONS FOR SYSTEM-ONLY TRIGGERS
SLA target breached Matches the specific SLA deadline that was breached, applicable to conversations updated by an SLA breach event.
 




CONDITIONS FOR EMAIL-ONLY TRIGGERS
Received at Matches the address (i.e. 'support@support.kayako.com') that the incoming email was received by.
 




Attachment names Matches the names of any attachments to the incoming email.
 




Attachment count Matches the number of attachments to the incoming email.
 




Subject Matches the subject of the incoming email.
 




Reply-to Matches the address and name of the 'reply-to' recipient of the incoming email, which is sometimes different from the sender.
 




Sender name Matches the name of the sender of the incoming email.
 




Sender address Matches the address of the sender of the incoming email.
 




CC recipients Matches the addresses and/or names of any recipients that were CC'd on the incoming email.
 




BCC recipients Matches the addresses and/or names of any recipients that were BCC'd on the incoming email.
 




Raw message headers Matches anything in the raw message headers. This field is useful if you want to search or match for any specific email headers and values.
 




CONDITIONS FOR MESSENGER-ONLY TRIGGERS
Page URL Matches the URL where the Messenger conversation began.
 




CONDITIONS FOR FACEBOOK-ONLY TRIGGERS
Received at Matches the Facebook page the incoming message was received by.
 




REQUESTER-BASED CONDITIONS
Role type Matches the role type of the requester.
 
 



Timezone Matches the requester's timezone.
 
 
 


Language Matches the locale of the requester, such as en-US.
 
 
 


Primary email Matches the requester's primary email address.
 
 



Twitter followers Matches the number of followers the requester has on their primary Twitter account (if they have connected their Twitter account to their Kayako account).
 
 



Twitter account verified Matches whether the requester has connected a Twitter account to Kayako.
 
 



Tags Matches the requester's tags.
 
 
 

 
[custom user fields] Matches the value of any custom user fields you've created.
 
 
 
 
 
ORGANIZATION-BASED CONDITIONS
Tags Matches the organization's tags.
 
 
 

 
[custom organization fields] Matches the value of any custom organization fields you've created. 
 
 
 
 
 


Actions you can choose from when building triggers and monitors

Once you've defined a subset of conversations that an 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 the conversation status.
Conversation: Priority
Increase, decrease, or a 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
Assign 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 automations.
[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.
Choose files or drag and drop files
  1. Kelly O'Brien

  2. Posted
  3. Updated
Was this article helpful?
Yes
No