Creating a workflow rule that changes the status of a case when an agent replies to an email


Unite (omni-channel routing) is deprecated

Unite (omni-channel routing) is now deprecated. To route cases, use Salesforce external routing.

For  information, see Integration with Salesforce external routing in Vonage Contact Center omni-channel solution.

If you have Unite and Email-to-Case enabled for your Salesforce org, when Salesforce receives a message through a configured channel, Salesforce creates a new case. Vonage Contact Center then routes that case to an agent. The agent can perform various actions, including replying to the original email from within the case. You can create a workflow rule that updates the status of the case when an agent sends an email reply.

To create a workflow rule that changes the status of a case when an agent replies to the original email from within the case, perform the following steps:

  1. Go to the Administration Setup Page in Salesforce.
  2. On the left-hand side of the Salesforce window, in the App Setup or Build section, expand Create and then Workflow and Approvals.
  3. In the expanded list of items, click Workflow RulesAll Workflow Rules appears.
  4. Click New RuleNew Workflow Rule appears in edit mode.
  5. In Object, select Email Message. Click NextStep 2: Configure Workflow Rule appears.
  6. Provide the following information:

    Field
    Description
    Rule NameThe name of the rule. For example, Outbound email reply changes status.
    DescriptionA description of the rule. For example, This rule changes the status of a case when an agent sends an email reply.
    Evaluation Criteria

    When the rule evaluates its criteria. For information about the different options, see Salesforce help. In this example, the rule must evaluate the criteria against a case when the case is created—click created.

    The rule action only runs if the record meets the rule criteria.
    Rule Criteria

    In the Rule Criteria area, define which objects the rule must run on. In this example, the rule must run on email messages whose Is Incoming field is false—the rule only runs on outgoing emails. In the Run this rule if the following list, click criteria are met. Provide the following values:

    Field
    Value
    FieldEmail Message: Is Incoming
    Operatorequals
    Valuefalse

    Click Save & NextStep 3: Specify Workflow Actions appears.

  7. Click Add Workflow Action and then New Field UpdateNew Field Update appears.

  8. To change the status, provide the following information:

    Field
    Description
    NameThe name for the field update. For example, Update case status (outbound email).
    DescriptionA description for the field update. For example, Update the status of the case to which this email belongs.
    Field to UpdateThe field to update. In the list, click Case and then Status.
    Specify New Field Value

    The value to set the field to. Click A specific value and select the value you want to set the Status field to. For example, Awaiting Reply.

    Click Save, click DoneEmail reply changes status appears. To activate the workflow rule, click Activate. Now, when an agent sends an email in response to a case, Vonage Contact Center changes the status of the case to Awaiting Reply.

    Changing the status of the case can subsequently trigger the action mapped to that status. For information on mapping statuses and actions, see Mapping actions to and from case statuses.

Support and documentation feedback

For general assistance, please contact Customer Support.

For help using this documentation, please send an email to docs_feedback@vonage.com. We're happy to hear from you. Your contribution helps everyone at Vonage! Please include the name of the page in your email.