Skip to main content

route to particular queue based on customer intent from agentforec agent.can anyone guide please.Thank YOU !  

1 answer
  1. May 20, 7:42 PM

    Hi @A Jagadeeswari - Use Agentforce Topic + Agent Action + Flow.

    1.  Create queues in Salesforce, for example: 

       Billing Queue 

       Technical Support Queue 

       Sales Queue 

    2.  Create an autolaunched Flow with input variable: 

       customerIntent

    3.  In the Flow, use a Decision: 

       If intent = Billing, update Case Owner to Billing Queue 

       If intent = Technical Support, update Case Owner to Support Queue 

       If intent = Sales, update Case Owner to Sales Queue 

    4.  Add this Flow as an Agent Action in Agentforce. 
    5.  In the Agentforce topic instructions, mention: 

       “Identify the customer intent and call the routing action with the correct intent value.” 

    Best practice: store intent-to-queue mapping in Custom Metadata, not hardcoded Queue Ids.

    For chat/messaging routing, use Omni-Channel. For Case/Lead routing, Flow updating OwnerId to Queue is enough.

0/9000