Sofi server actions
Sofi server actions are kept as data in 2027.1, but nothing runs them. Their fields, types and the shipped records.
Sofi server actions are scripts that the Sofi conversation stack called during a conversation, for example to look up a user or log a ticket. In 2027.1 nothing in the product runs them. This page lists their fields and shipped records, for administrators who find them on an upgraded instance.
Server actions are in the Administration workspace under Predictions & routing → Virtual agent → Server actions. You need the administrator role.
Move a server action to an AI tool
An AI tool does the same kind of work, called by an AI assistant instead of a conversation script.
- Copy the logic of the server action’s Script into the Execution Script of a new AI tool.
- Declare each input as an AI tool parameter. The script reads them from
parameters, not fromactionorcontext. - Assign the result to
answer, as before. - Add the tool to the assistants that need it.
Fields
| Field | Type | Required | Behaviour | Purpose |
|---|---|---|---|---|
| Name | String | No | The name the 1.11 conversation called. | Identifies the server action. |
| Type | Choice | No | Choice list, Lookup, Log ticket or Custom. | How the 1.11 conversation used the result. |
| Description | String | No | None. | Says what the action does. |
| Script | Code | No | Receives action and context and assigns the result to answer. |
The work the action does. |
| Active | Boolean | No | Defaults to true. | Turns the action on or off. |
Client actions, under Predictions & routing → Virtual agent → Client actions, have a Name, a Script and Active. None are shipped.
Types
| Type | What the 1.11 conversation used it for |
|---|---|
| Choice list | Showing a list of records for the user to choose from. |
| Lookup | Returning a value that picked the branch the conversation followed. |
| Log ticket | Creating a ticket and showing its details to the user. |
| Custom | Whatever the conversation step expected. |
Shipped server actions
Servicely 2027.1 still ships these records with SOFI Core. They have no effect.
| Name | Type | Description |
|---|---|---|
| dialogManager.logTicket | Log ticket | Logs a ticket from the conversation. |
| dialogManager.zeroContactResolution | Log ticket | Logs a ticket with the requester’s mobile, location and email from their user record. |
| dialogManager.userLookup | Choice list | The default user lookup. |
| dialogManager.setVariable | Lookup | Sets a variable from the user’s last input. |
| servicely.getValidDate | Lookup | No description. |
| demo.checkAutomatedAction | Lookup | Demonstration. Checks the result of an automated action. |
| demo.actionHelpedResult | Lookup | Demonstration. Updates closure notes when an action helped. |
| demo.actionDidNotHelp | Lookup | Demonstration. Runs when an action did not help. |
| demo.getTargetRecord | Lookup | Demonstration. Gets the target record of an interaction. |
| demo.getRelatedArticle | Lookup | Demonstration. Gets an article related to a business service. |
| demo.fallbackAutoResolution | Lookup | Demonstration. Looks for a resolution item for the user’s text. |
| demo.whoIsItFor | Lookup | Demonstration. No description. |
| demo.getRequestedForDetails | Lookup | Demonstration. No description. |
| demo.moreDetails | Lookup | Demonstration. No description. |
| demo.getBusinessService | Choice list | Demonstration. No description. |
| demo.userLookup | Choice list | Demonstration. A user lookup. |
| demo.SSO_Account_Check | Custom | Demonstration. No description. |
| demo.SSO_Unlock_Account | Custom | Demonstration. No description. |
| demo.SSO_answer_security_question | Custom | Demonstration. No description. |
| demo.SSO_security_question_process | Custom | Demonstration. No description. |
| test_action | Lookup | Test. No description. |