Actions are the hidden superpower of your virtual agents. They enable your virtual agents to perform actions to personalize messages using user info, as well as add tags, and update user or ticket info just like a human agent would!

- 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
- Update user
- Get Conversation
- Update Conversation
- Overwrite Tags
- Add Tags
- Clear Cached User
- Add Priority
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 doc 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 Tags
The action was known as Update Sunshine Tag
. It overwrites the bot set tags. The tags added/created when a conversation is created are not affected.
Add 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.
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
Add Priority
This action will assign a priority level to the ticket.