Perform System Actions inside Guided Workflow

Updated 

The various system actions that are supported in the guided workflow are as follows:

Note: AI-Based Script Generator

This feature leverages Sprinklr's AI+ capabilities to enhance the use of Groovy scripts within Guided Workflows. You can generate Groovy scripts, summarize existing ones, debug issues, and modify scripts to achieve complex use cases. This reduces the time and effort involved in writing Groovy scripts, making it easier for users, even those not proficient in Groovy, to accomplish complex tasks.

Enablement note:

To learn more about getting this capability enabled in your environment, please work with your Success Manager.

Add Transition Screen

Transition screen action is added to redirect the agent to the external website/care or profile record page or to communicate with the parent website in case of external guided workflow.

  1. Redirect to other website action - During the configuration, a link is mapped to the URL from where the website is opened in a new tab. 

  2. Message to the Parent Website Action - This is majorly used in case of external guided workflow. On reaching this node, the payload is sent to the parent website helping in interaction with the parent website. You can also switch the locale of an external guided workflow.

  3. Open Case Record Page - This is used to open the record page of a case that is mentioned in the node. 

  4. Open Profile Record Page - This is used to open the record page of the profile that is selected in the mode.

  5. Apply Macro - Macro can be directly applied to a case via GP using this action.

  6. Call IVR - Call an IVR from the guided workflow and also set a timeout for IVR to get auto-disconnected.

  7. Restart Execution - Restart the workflow.

  8. Transfer to Voice - Transfer to IVR, an agent in a desired workspace, an agent in a desired queue based on skills and proficiency score, an external contact or external SIP. In the case of Agent, Queue, External Contact and External SIP, choose Blind Transfer to send the call to a queue/workspace and the call will be assigned to any available agent or Warm Transfer where the agent talks to the other agent and hands over the call. For Queue transfer, you can also enable dynamic input type and utilize variable selection to dynamically determine the destination queue based on specific criteria like the nature of the inquiry or customer account details.

  9. Conference To Voice - This enables conferencing the call with a Queue, Agent, IVR, or External Contact. Inputs required include selecting the relevant Queue, Agent filter, IVR, or an External Number. Additionally, enter a timeout value and a message to display during the conference in progress.

  10. Manual Outbound Call - You can trigger manual calls within Guided Workflows. This feature allows you to choose the dialer, input the customer phone number, and display a message within the Guided Workflow, enhancing the flexibility and control of your call workflows.

  11. Show Notification

    Type: If nothing is filled then the success snackbar notification is triggered. If it contains ERROR then an error snackbar notification gets triggered.

    Message: The message to be displayed on the notification.

  12. Record Call: Enable the capability to start, pause, or delete call recordings. This feature enhances your ability to efficiently manage and document conversations, providing you with greater flexibility and control over the recording process.

  13. Create a Snippet: Record specific segments of the conversation, such as Permissions Recording, Sales Recording, and Customer Details. When configuring this action, select the appropriate "Action Type" from the options:

    - Start/Resume - Initiates or continues the recording process for the designated segment of the conversation.

    - Pause - Pauses the recording process for the specified section.

    - Delete - Remove the recorded information. This can be useful if there are errors or if you no longer need the recorded content for that specific segment.

    This functionality allows you to efficiently manage and document various aspects of the conversation, providing flexibility in controlling the recording process.

Records (Get/Update/Create)

A record can be a profile or a case-level entity that is stored in the customer database. You can get, update and create records using Guided Workflows.

1. Get Records

Get Records action allows you to fetch custom and standard fields from the database, filter using conditions or condition groups as per requirement, and store them in variables. You can then use these variables in other parts of the workflow.Guided Workflows

2. Update Records

Update Records action allows you to update a record when certain conditions or group of conditions are met.Guided Workflows

3. Create Records

Create Records action allows you to create a record wherein you set a resource value or a custom input equal to a field and store it in a variable.Guided Workflows

Send SMS/Email/WhatsApp

This node is used to send communication through guided workflows using SMS, email, or WhatsApp.

To use this feature, you must add a social account to Sprinklr. To send a message, enter the message content or select an asset to send, and for WhatsApp messages, ensure the HSM template has been approved.

Messages can also be scheduled for a later time by entering the date and time in epoch date time format. For email messages, attachments can be included.

When a message is sent through this node, an outbound post is created. In Guided Workflows, you can set properties for messages sent using this node, and these custom properties will be tagged to the post. This allows you to track and manage outbound communications effectively, ensuring that each message is properly categorized and associated with relevant properties for better organization and analysis.

​​

Confirmed Appointment

This node can be used to send the confirmed appointment details to the user. The users will have the option to Join, Reschedule, and Cancel the appointment.

Email/SMS/WhatsApp Notification Account: Select the account to be used to send the email/SMS/WhatsApp message about the confirmed appointment details.

Email/SMS/WhatsApp Notification Confirmation Asset: Select the template to be sent via email/SMS/WhatsApp message. You can create an RTFD template in Digital Asset Manager.

Email/SMS/WhatsApp Notification Reminder Asset: Select the template to be sent via email/SMS/WhatsApp message to remind the customer about the appointment. You can create an RTFD template in Digital Asset Manager.

Customer Reminder Schedule: Choose an amount of time, in hours, minutes, etc., for the reminder to be sent to the customer. The hour or hours you choose represents the amount of time before a scheduled appointment that you want to send a reminder, for example, 2 hours before a scheduled appointment. You can add multiple reminders.

Agent Reminder Schedule: Choose an amount of time, in hours, minutes, etc., for the reminder to be sent to the agent. The hour or hours you choose represents the amount of time before a scheduled appointment that you want to send a reminder, for example, 2 hours before a scheduled appointment. You can add multiple reminders.

Appointment Mode: Select the mode of appointment, either Video Chat or Voice Callback.

Voice Callback

Priority: Enter the priority rank for the callback.

Callback Number: Enter the phone number for the callback.

Last Outbound Campaign Skill: This option allows the system to utilize the skill set from the most recent outbound campaign that the agent was involved in. It ensures that the callback is handled by agents with relevant experience and expertise.

Use Callback Campaign from Voice Campaign: This setting enables the callback to be associated with the same campaign as the voice campaign.

Callback Campaign: Select the specific callback campaign from the list.

Profile ID: If left blank, the callback will be created with the current profile. Alternatively, you can enter or select a specific profile ID to associate with the callback.

Case Number: If left blank, the current case will be chosen by default. You can enter a specific case number if needed.

Note: Enter a note or select a resource to be associated with the callback.

Expire Timeout: Set the time in minutes before the callback expires.

Reassign Timeout: Set the time in minutes before the callback is reassigned.

Preview Time: Enter the preview time in seconds.

Re-Assign to: Select either "Work Queue" or "Agent".

Work Queue/Agent: Choose the appropriate work queue/agen for re-assignment.

Re-assign Preview time: Enter the preview time for re-assignment.

Guided Workflow for Appointment Modification: Choose the appropriate guided workflow for handling appointment modifications.

URL Shortener: Select the URL shortener to shorten the URL.

Video Chat

Auto Initiate Call: This setting, when enabled, automatically starts a call to the customer without requiring manual intervention from the agent.

Select template to be published at start of appointment: Select the template to be sent at the start of the appointment asking the users to join the appointment.

So, clicking the Join link on the template (confirmed appointment/reminder) will redirect the users to the Live Chat widget where this template will appear and the conversation will be reopened. You can create a card template in Digital Asset Manager.

Live Chat Application: Select the Live Chat Application to redirect the users to when they click Join/Reschedule etc.

Live Chat URL: Select the URL, where the Live Chat is configured, to redirect the users.

URL Shortener: Select the URL shortener to shorten the URL.

Cancel Appointment

In case of cancellation or modification of any appointment, the initial appointment needs to be canceled using the ‘Cancel Appointment’ node.

Email/SMS/WhatsApp Notification Account: Select the account to be used to send the email/SMS/WhatsApp message informing the customer about the cancellation.

Email/SMS/WhatsApp Notification Confirmation Asset: Select the template to be sent via email/SMS/WhatsApp message. You can create an RTFD template in Digital Asset Manager.

URL Shortener: Select the URL shortener to shorten the URL.

Close Live Chat Conversation: Slide the toggle to the right to close the Live Chat conversation.

​This cancels the reserved appointments as well as confirmed appointments. In case of rescheduling also, the old appointment needs to be canceled first.

Add Notes

Notes are snippets of information that are linked to a particular entity inside sprinklr. It can be a case/ profile/ task/ etc. It is added by a particular agent for helping give context or transferring some important information to other agents. This is usually shown in the care/agent console as well. This is also used commonly for debugging purposes, for understanding where error is coming inside a guided workflow. You can also add image, video and file assets via resource selector.

Update Properties Node

Update Properties node helps to set the value of a particular variable inside a guided workflow with a static value or dynamic value that is returned after execution of a script. Script can be written inside a custom code block. Script mentioned here are written in groovy and are used for complex configuration.

Loop Node (Add/Break)

Loop node helps in iterating over a collective variable or an array. For adding a loop inside a workflow, you need a collective variable and then add a loop node inside workflow. The option of defining the collective variable, direction of loop (first to last or last to first) as well as iterating variable that can be used inside the loop should be defined. In case a particular scenario is achieved and if logic needs to break the loop in between, break loop mode is used. If a loop needs to be runned on all items, then auto branching happens and what needs to be runned on each item and what needs to be runned after the loop are defined. You can continue with normal workflow after each item  is iterated over. Please refer to this document for more information on loop.

Add or Remove Case Queue

There are options of adding or removing cases from case queues via guided workflow. This helps in executing rules on cases. You can add cases to the case queue, to trigger rules. 

It is important to note that this node will start giving errors in case there is no case context while guided workflow execution.

Profile List Change

This is used for modifying outbound campaign profile lists. There is an option of adding or removing a profile from various profile list changes. The current profile on which guided workflow is being executed on, that profile is added or removed. It is important to note that this node will start giving errors in case there is no profile context while guided workflow execution.

Schedule Callback

Components of the Schedule Callback node.

  1. Name: The name of the node.

  2. Priority: The priority/weight assigned to the callback.

  3. Callback Number: The number to which callback is to be routed. There is a resource selector corresponding to this field to ensure that number to which a callback is to be routed can be fetched from an array of sources.

  4. Use Callback Campaign from Voice Campaign: The enablement of this checkbox ensures that callback related configuration is fetched from the parent campaign in the case of voice campaigns.

  5. Callback Campaign: This field is used to explicitly define the callback campaign from where callback related configuration is to be picked.

  6. Time for Callback: In this field, you can either specify the time in epoch format or dynamically fetch it from the available entities via resource selector.

  7. Case Number: The case number to which the particular callback is to be linked.

  8. Note: This field is used in cases where a note has to be shown to an agent when he/she is receiving callbacks. The note can either be static or we can fetch the value for it dynamically via resource selector.

  9. Assign To: The callback task can be allotted to either of the following:

    1. Journey

    2. Work Queue 

    3. Agent

Reschedule Callback

The details of a callback task can not be altered once it is scheduled. With the reschedule callback node in Guided Workflow, agents can reschedule callbacks with changes. Key elements include:

Key Elements:

  1. Task ID Integration:

    • Mandatory Task ID Column: The reschedule node includes a mandatory Task ID field, ensuring precise identification of each callback task. This allows the system to accurately match and update the correct task during the rescheduling process.

  2. Value Retention:

    • Preserve Existing Details: If certain fields are left blank during rescheduling, the system will retain the existing callback details. This helps maintain consistency and prevents data loss by ensuring that only the intended changes are applied.

  3. Comprehensive Resource Selection:

    • Advanced Control: Agents can select the task ID, callback number, and callback time from a resource selector. This advanced control ensures precise and accurate scheduling by allowing agents to easily modify the necessary elements while keeping other details intact.

This node streamlines the rescheduling process and enhances system reliability by providing more flexibility and control to agents.

Embed Guided Workflow 

This embeds another workflow inside the current workflow. All the variables that are being used in the embedded workflow, are available for use in the current workflow as well all the variables in the current workflow are available for use in the embedded workflow. This is majorly used in case you want a certain part workflow to be called in multiple workflows, Example - Making an authentication guided workflow and calling it at the start of every workflow. For effectively using this feature, it is recommended that declaring the same variable for the same variable across workflows in a partner. This helps because you can use the variable directly without setting any values as the value is pre-set from the previous workflow. 

​Custom Field Actions

There is an option of modifying case/profile custom fields with variables or static data. We use set custom field option when you want to set custom field with static value and copy field option when you want the custom field to be set with a dynamic value. It is important to note that this node will start giving errors in case there is no profile or case context while guided workflow execution. This is majorly used when a use case requires modification of custom fields for further processing of the case.

​Create Support Case

This node is majorly used in case of guided workflow being integrated with sprinklr communities. This helps in creating support cases that are raised inside Sprinklr communities which in turn creates an Email case in the sprinklr platform. There is an option of tagging variables as well as selecting via which account you want to create the email case. For tagging custom fields, you need to add the custom field name in the variable name. This node will be deprecated soon. Users can now create support cases via the Create Support Ticket action available in the Execute Action node.

 

​Add Auth Profile to Case

This node helps in merging a particular auth profile with any case. Channel ID is the identifier that is used for an auth profile. Using this node, you can mention the channel id of the auth profile and the case id of the case to which you want the auth profile to be merged. There is also the option of adding contact details like email and phone number with tag to the auth profile which is being added to the case that is mentioned. 

Merge Profile

In case it has been identified by the guided workflow that there are 2 profiles of a single customer, there is an option of configuring merging of profiles via this node. This will help merge 2 different profiles of different channels into one. There is an option of selecting the channel as well as mentioning the variable where the asset ID of the new profile is mentioned. 

Count Records

By employing the Count Records node, you can fetch the number of records linked to a specific entity. You'll need to specify the Entity Type, apply Filters, and designate an Output Variable.

Upon executing the node, the output variable will contain the count of records associated with the specified entity and its corresponding filters.

Execute Action

You can utilize this node to apply a macro, fetch all attachments linked to a case in Care Console and display them within the "Attach File" component of the Screen node, or add the pending cases/calls to the holding queue.

You can also create an email case with an inbound message and mandatory fields populated upfront. Additionally, case-level custom fields can be easily tagged by selecting the desired custom fields.

Below this node, you'll find two branches: one for "Success" and the other for "Failure."

Create External Workflow URL

Create external workflow URL nodes helps in creating workflow URLs that can be shared with customers. There is an option of selecting the guided workflow for which URL needs to be generated. There is an option of sending values of some variables to the URL. There are options for deciding link validity time period. Selecting the type of URL shortener. Finally the URL that is saved in a variable that is defined in the node. There is also the option of sending case context/ profile context, etc to the guided workflow URL.


Generate Document

This node enables the generation of Word documents to capture specific details filled out in the screen input components of a guided workflow. To add this node, you are required to upload a template Word file containing predefined placeholders. Subsequently, you can define Placeholder Value Mapping, specifying which data from the guided workflow should be extracted and seamlessly inserted into the Word document.

Upon execution of this node, a Word document is generated. The placeholders defined earlier are automatically populated with corresponding data retrieved from the guided workflow, ensuring accurate and customized documentation based on the information provided in the workflow.