Define a custom flow to create or update email interactions
Define email-related business processes using Workflow Studio. This tool enables you to manage emails along with your customer service processes through a visual interface without having to design or request complex scripts.
Create an interaction
Create an interaction record to capture customer details.
Before you begin
Role required: workspace_admin, awa_agent, sn_customerservice_consumer_agent, or sn_customerservice_agent
Procedure
- Navigate to All > Process Automation > Workflow Studio.
-
Create a flow.
- Select Flows.
- Select New.
- Select Flow.
- In the Flow name field, enter the flow name.
- Select the application scope from the Application list.
- In the Description field, enter the description.
-
Select Show additional properties.
To know more about additional properties, see Create a flow in Workflow Studio.
- Select Build flow.
-
Create a trigger.
- Select Add a Trigger.
- Search and select Application.
- Select Inbound Email.
-
Select Email conditions with AND operator.
- Select Type is received.
- Select Receive type is New.
- Select To contains customerservice@example.com.
Note:customerservice@example.com is a sample email address. Specify the actual email address that should be configured as the default for creating email interactions. - Leave the Reply Record Type as empty.
- Select Done.
-
Select Add an Action, Flow Logic, or Subflow and select any of the following.
- Action
- Flow Logic
- Subflow
Note:After you have created action entries, you can select multiple actions using Select multiple. - Optional:
Add error handler.
- To enable the error handling, slide the ERROR HANDLER toggle switch.
- Select Add an Action, Flow Logic, or Subflow and select any of the following.
- Action
- Flow Logic
- Subflow
- Verify the email flow and modify it if necessary.
- Select Save.
- Select Activate.
- From the confirmation dialog box, select Activate.
Update an interaction
Modify existing interaction records, verifying that all email communication details are updated.
Before you begin
Role required: admin, workspace_admin, awa_agent, sn_customerservice_consumer_agent, or sn_customerservice_agent
Procedure
- Navigate to All > Process Automation > Workflow Studio.
-
Create a flow.
- Select Flows.
- Select New.
- Select Flow.
- In the Flow name field, enter the flow name.
- Select the application scope from the Application list.
- In the Description field, enter the description.
-
Select Show additional properties.
To know more about additional properties, see Create a flow in Workflow Studio.
- Select Build flow.
-
Create a trigger.
- Select Add a Trigger.
- Search and select Application.
- Select Inbound Email.
-
Select Email conditions with AND operator.
- Select Type is received.
- Select Receive type is Reply.
- Leave the Reply Record Type as empty.
- Select Done.
-
Select Add an Action, Flow Logic, or Subflow and select any of the following.
- Action
- Flow Logic
- Subflow
Note:After you have created action entries, you can select multiple actions using Select multiple. - Optional:
Add error handler.
- To enable the error handling, slide the ERROR HANDLER toggle switch.
- Select Add an Action, Flow Logic, or Subflow and select any of the following.
- Action
- Flow Logic
- Subflow
- Verify the email flow and modify it if necessary.
- Select Save.
- Select Activate.
- From the confirmation dialog box, select Activate.