Update Conversation Field Based on Details Provided by Customer in Workflow
Workflow input blocks are designed to gather information from customers. The API Field Name within these blocks defines the field name where the input value is stored. This field can be one of two types:
- Conversation Field: A persistent field linked to the conversation that remains consistent across all workflows.
- Temporary Field: A field that exists only during the current workflow execution and is cleared upon completion.
The Set Conversation Field block in workflows allows updating conversation fields using provided values or values stored in temporary fields.
This article explains how priority field is updated based on issue type and severity provided by customer.
Set Up Chat Fields
-
Navigate to Admin > Chat > Chat Fields.
-
Edit the Category field and add the issue categories (e.g.,
Network Issue
,System Crash
,Software Access
,Hardware Failure
).
Creating a Workflow
-
Navigate to Admin > Chat > Workflow > Conversation Created and click Add Workflow.
-
Enter the required details and click Next.
-
In the Designer, select the Initial Block and click the Add icon to open the context menu.
-
From the context menu, select Actions > Toggle Customer Input.
-
Enable Disable user input to restrict customers and agents from posting messages in the conversation, then click Add.
Mapping Conversation Fields with Workflow Blocks
-
From the context menu, select User Input > Button Options > Get Choice via Buttons.
-
Enter a message and select Category from the API Field Name dropdown.
-
Configure the options for the mapped Category field:
- Click Add Option.
- Enter the Label (e.g., “Network Issue”) and set the Value as “Network Issue”.
- Confirm by clicking the Tick icon.
- Repeat for other options (e.g., “System Crash”, “Software Access”, “Hardware Failure”).
(or) - Click Load Options from API to preload options and modify if needed.
-
Click Add to save the field mapping.
Note: Enable Use API to dynamically fetch options during workflow execution instead of predefining them.
Mapping Temporary Fields with Workflow Blocks
-
From the context menu, select User Input > Button > Get Choice via Buttons.
-
Enable Use Temporary Fields, enter a field name (e.g.,
severity_level
), and define values as shown in the table below. -
Configure options using click Add Option, set Label, Value and click Tick. Use the table below.
Label Value Low - Minor inconvenience Low Medium - Affecting work Medium High - Work completely blocked High -
Add new block via Actions > Trigger Auto Assignment and assign to IT Team.
How to Use the Conversation and Temporary Fields in Workflow Blocks
-
From the context menu, select User Input > Branching > Branch via Conditions.
-
Click Add Condition and set the condition using below table.
Condition Name Category Severity Level IsCriticalCase Category IN (“System Crash”, “Hardware Failure”) High IsHighPriorityCase Category IN (“Network Issue”, “Software Access”) High isMediumPriorityCase Category IN (“Network Issue”, “System Crash”, “Hardware Failure”) Medium Else(default) - - These conditions determine how priority is set based on the issue type and severity.
-
Now click Add.
Setting Conversation Fields in Workflow Blocks
-
Under IsCriticalCase, click Add and select Actions > Send Conversation Field.
-
Select Priority as the API Field Name and set the Value as refer below table.
Condition Name Value IsCriticalCase Critical IsHighPriorityCase High isMediumPriorityCase Medium Else Low -
Conclude each path with an Exit block. and Activate the workflow.
How it Work in Widget?
- When a customer initiates a conversation through the widget, the system prompts them to select an issue type. Upon selection, the chosen value is recorded in the conversation field.
- The system then prompts the customer to specify the severity of the issue. Once the severity level is selected, it is stored as a temporary field (severity_level), and the auto-assignment processed for assign the agent.
- Based on the selected issue type and severity level, conditional branching is executed, and the priority level is subsequently updated in the conversation field.