Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

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

  1. Navigate to All > Process Automation > Workflow Studio.

  2. Create a flow.

    1. Select Flows.

    2. Select New.

    3. Select Flow.

    4. In the Flow name field, enter the flow name.

    5. Select the application scope from the Application list.

    6. In the Description field, enter the description.

    7. Select Show additional properties.

      To know more about additional properties, see Create a flow in Workflow Studio.

    8. Select Build flow.

  3. Create a trigger.

    1. Select Add a Trigger.

    2. Search and select Application.

    3. Select Inbound Email.

    4. 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.
    5. Leave the Reply Record Type as empty.

    6. Select Done.

  4. 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.
  5. Add error handler.

    1. To enable the error handling, slide the ERROR HANDLER toggle switch.

    2. Select Add an Action, Flow Logic, or Subflow and select any of the following.

    3. Action

    4. Flow Logic
    5. Subflow
    6. Verify the email flow and modify it if necessary.
  6. Select Save.

  7. Select Activate.

  8. From the confirmation dialog box, select Activate.

Related topics

Create a flow in Workflow Studio

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

  1. Navigate to All > Process Automation > Workflow Studio.

  2. Create a flow.

    1. Select Flows.

    2. Select New.

    3. Select Flow.

    4. In the Flow name field, enter the flow name.

    5. Select the application scope from the Application list.

    6. In the Description field, enter the description.

    7. Select Show additional properties.

      To know more about additional properties, see Create a flow in Workflow Studio.

    8. Select Build flow.

  3. Create a trigger.

    1. Select Add a Trigger.

    2. Search and select Application.

    3. Select Inbound Email.

    4. Select Email conditions with AND operator.

      • Select Type is received.
      • Select Receive type is Reply.
        1. Leave the Reply Record Type as empty.
    5. Select Done.

  4. 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.
  5. Add error handler.

    1. To enable the error handling, slide the ERROR HANDLER toggle switch.

    2. Select Add an Action, Flow Logic, or Subflow and select any of the following.

    3. Action

    4. Flow Logic
    5. Subflow
    6. Verify the email flow and modify it if necessary.
  6. Select Save.

  7. Select Activate.

  8. From the confirmation dialog box, select Activate.

Related topics

Create a flow in Workflow Studio