CRM actions enable communication between AI agents and your CRM platform. These actions are platform-specific, meaning different actions are available for each CRM platform.
This article contains the following topics:
Related articles:
- About actions for AI agents (Ultimate)
- Creating and adding actions for AI agents (Ultimate)
- Reviewing and managing actions for AI agents (Ultimate)
Available CRM actions for Sunshine Conversations
The term metadata is used a lot in these actions, and it can be any information you would like Sunshine Conversations to collect, store, and send to Ultimate or your system.
There are a couple of things to bear in mind with this:
- You will need to customize the Sunshine Conversations widget snippet to capture that.
- Ultimate can only advise in this regard, this widget customization must be done by your engineering team or a technical partner which we are happy to recommend.
Learn more in Using metadata.
Get user
This action is a combination of two actions, Get User Info
and Get User Metadata
, and is used to retrieve information such as first name, last name, email, or metadata by selecting from the drop-down list.
You can add more fields to update by clicking on the button: Get Another Field
For more technical information check out the Sunshine Conversation documentation here.
Update user
This action is a combination of two actions, Update User Info
and Update User Metadata
, and is used to update user fields. You can update as many ticket fields as needed.
You can add more fields to update by clicking on the button: Update Another Field
An example use case for this would be setting the action Update User > Email for anonymous chats, this ensures that when escalated to an agent, the ticket is linked to the contact in Zendesk
Get conversation
This action is a combination of two actions, Get Conversation Data
and Get Sunshine Converstaion Metadata
, and is used to retrieve conversation data from the fields available in the drop-down menu or defined with the <Metadata> option.
You can add more fields to update by clicking on the button: Get Another Field
This is great to use in the case that you use a form to collect data from the user, such as name and email data. By using the action this data is saved and can be sanitized in Ultimate to be made available to the agent or ticket upon escalation.
Update conversation
This action is a combination of two actions, Update sunshine conversation
and updateSushineConversationMetadata
, and supports updating conversation fields and metadata.
Multiple fields can be updated by clicking the button: Update Another Field
You can use Update Conversation > Display Name to change the name of a conversation shown in the multiple conversations view for the web messenger or mobile SDKs
Overwrite user tags
The action was known as Update Sunshine Tag
. Previously the tags would be overwritten on both, the user and conversation level, now we offer the option of choosing which tags you want to update. The tags added/created when a conversation is created are not affected.
Overwrite conversation tags
The action was known as Update Sunshine Tag
. Previously the tags would be overwritten on both, the user and conversation level, now we offer the option of choosing which tags you want to update. The tags added/created when a conversation is created are not affected.
Add user tags
This action was known as Append Sunshine Tag
. Adding a tag adds the tag to the Zendesk ticket when a conversation, for example when escalated to an agent — and you can use tags to select the related value in a Zendesk drop-down field. All tags will be added to the list of existing tags. This is a free text field, so you can type the name of the tag you would like to be applied. Multiple tags can be added using the plus button.
Previously, any tags added would apply to both, the user and conversation. We now allow the ability to select which of these you want to update.
Note: These do not work dynamically.
Add conversation tags
This action was known as Append Sunshine Tag
. Adding a tag adds the tag to the Zendesk ticket when a conversation, for example when escalated to an agent — and you can use tags to select the related value in a Zendesk drop-down field. All tags will be added to the list of existing tags. This is a free text field, so you can type the name of the tag you would like to be applied. Multiple tags can be added using the plus button.
Previously, any tags added would apply to both, the user and conversation. We now allow the ability to select which of these you want to update.
Note: These do not work dynamically.
Clear cached user
This action was known as invalidateUserCach
. It clears the user data saved in the session. Why would you do this? We retrieve all user fields at the beginning of the conversation and cache them within Ultimate to reduce the number of individual API calls to SunCo. So if we need to retrieve fields that have been updated since the conversation began, we have to first clear the cached user
Clear cached conversation
This action clears the conversation data saved in the session. All conversation fields are retrieved at the beginning of the conversation and cached within Ultimate to reduce the number of individual API calls to SunCo. If a conversation field is updated after the conversation begins, you must clear the cache so the conversation fields can be retrieved again.
Add priority
This action will assign a priority level to the ticket.
Add case tag
This action was known as Clarabridge: Add Tags
. This allows you to add tags to Clarabridge. From here, you can add multiple tags by entering the text of the tag and pressing enter. You could use this, for example, adding priority, language, or escalation.
Create ticket
This action creates a Zendesk Support ticket for deflected chats when the chat ends. You will be asked to add the Virtual Agent Group ID which you will find within Zendesk Support. So when the control is passed via the switchboard they can map it to the correct department.
Add a webview
This action is only available from block-level, and allows you to create a webview directly within the dialogue builder. You would use this to create a dynamic webview based on custom parameters collected during the chat.
This would be different than sending a standard webview of store locations like with Sunshine Templates. An example would be using the customers' location to send them directions rather than just showing them a map with stores pinned.