Creating a workflow rule that routes new cases


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 enabled for your Salesforce org, when Salesforce receives a message through a configured channel, Salesforce creates a new case. When Salesforce creates a new case, Vonage Contact Center can then use a workflow rule that routes the case to a route plan defined in Interaction Architect.

To create a workflow rule that routes cases to a route plan, 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 Case. Click Next. Step 2: Configure Workflow Rule appears.
  6. Provide the following information:

    FieldDescription
    Rule NameThe name of the rule. For example, New case created.
    DescriptionA description of the rule. For example, This rule runs on newly created cases with a Case Origin of Email.
    Evaluation Criteria

    When the rule evaluates its criteria. For information about the different options, see Salesforce help. In this example, the rule must only evaluate the criteria against a case when the case is first 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 only run on cases whose Case Origin field is set to Email. In the Run this rule if the following list, click criteria are met. Provide the following values:

    FieldValue
    FieldCase: Case Origin
    Operatorequals
    ValueEmail

    Click Save & NextStep 3: Specify Workflow Actions appears.

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

  8. To make the case routable, provide the following information:

    FieldDescription
    NameThe name for the field update. For example, SetRoutable.
    DescriptionA description for the field update. For example, Set VCCRoutable field to true to indicate that the case is routable.
    Field to UpdateThe field to update. In the list, click VCCRoutable.
    Specify New Field ValueThe value to set the field to. Click true.

    Click Save & New. Your new workflow action is saved and New Field Update appears.

  9. To define the route plan that Salesforce must route the case to, provide the following information:

    FieldDescription
    NameThe name for the field update. For example, Assign Route Plan Identifier.
    DescriptionA description for the field update. For example, Set RoutePlanIdentifier to the name of the route plan in Interaction Architect.
    Field to UpdateThe field to update. In the list, click RoutePlanIdentifier.
    Specify New Field ValueThe value to set the field to. Click Use a formula to set the new value. Type the name of the route plan in Interaction Architect in the field that appears. For example "EmailRoutePlan".

    Click Save, click Done. New case created appears. To activate the workflow rule, click Activate. Now, when Salesforce creates a new case corresponding to an incoming email, Vonage Contact Center routes the case to the specified route plan in Interaction Architect.

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.