Custom Actions

Custom actions, also known as invocable methods, provide a way of calling the functionality of an API using a user interface. Each Certinia custom action resides within an Apex class, which calls an API method. You can use these actions to call an API method to execute Apex code, for example in the Salesforce Flow Builder. For more information, see the Salesforce Help.

The process is run as the user who triggered it when the custom actions are executed. Therefore, the user performing the action needs the appropriate licenses and permissions.

CSC AI Agent Service includes the following custom actions.

Custom Actions in CSC AI Agent Service
Apex Action Apex Class Purpose
Generate AI Customer Communication from Summary ActionCreateAICommsFromSummary Creates an AI communication for the record provided.
AI Executive Briefing ActionCreateAIExecutiveBriefing Generates an AI Executive Briefing for the record provided.
Find Summary Section ActionFindAISummarySection Finds display value from the provided summary sections.
Create Playbook Tasks ActionCreatePlaybookTasks Creates playbook tasks based on task names, start date, end date, note, status and parent record the playbook tasks are related to.
Generate CS Activity AI Summary ActionCreateAISummary Creates a csc__Activity__c with the CS Summary activity type for the provided record.
Save Summary ActionSaveSummary Saves the CS activity AI Summary for the record provided.
Update Playbooks ActionUpdatePlaybooks Updates playbooks based on stage and parent record the playbooks are related to.
Update Playbook Tasks and Assignments ActionUpdatePlaybookTasks Updates playbook tasks and playbook task assignments based on salesforce user or CS resource, start date, end date, note, status and parent record the playbook tasks are related to.
View CS Activity AI Summary Sections ActionAISummarySections View all sections from the CS Activity AI Summary.
View Playbooks ActionViewPlaybooks Displays a list of playbooks based on the playbook start date, end date, and what records the playbook is related to.
View Playbook Tasks ActionViewPlaybookTasks Displays a list of playbook tasks based on the playbook task status, start date, end date, who the playbook task is assigned to and what records the playbook task is related to.