web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Service | Customer Service, Contact Center, Fie...
Suggested Answer

OmniChannel - Using Pre-Chat Survey questions as filters in Routing Rules

(0) ShareShare
ReportReport
Posted on by 435

OmniChannel Customer Service:

I selected the "Chat Channel" and created pre-chat survey questions.

I selected the associated "Chat Workstream", then selected routing rules, but am unable to figure out how to use the pre-chat surveys questions as conditions in the routing rules.

The conditions for the routing rules are as below - none of these offer the pre-chat survey questions.

 pastedimage1583504430074v1.png

I have the same question (0)
  • Suggested answer
    eykalman Profile Picture
    1,106 Most Valuable Professional on at

    Hey Bill

    At this point in time, the pre-survey questions within Omnichannel aren't able to be used to route customers through to a specific queue. Instead, they're meant to be used to provide specific information to the agent who's handling the query (as it displays in the agent interface).

    However, what you can do is use either a Power Virtual Agent or Azure Bot, and these can flow customers through to a specific queue within Omnichannel depending on value/s that they select.

    Azure Bot - docs.microsoft.com/.../configure-bot

    Pover Virtual Agent - docs.microsoft.com/.../configure-bot-virtual-agent

    I hope that this helps you

  • Bill Thompson. Profile Picture
    435 on at

    Thanks for replying and I appreciate the response.

    However, am I missing something obvious?

    How do we assign Chat to Queues and assign Chat to the correct agents using Skill based routing if we cannot access the pre-chat survey questions?

    I have checked the microsoft documentation as stated below:

    "Routing rule conditions could be based on channel context, pre-chat context, and contact, account, or case context. For example, you can define a routing rule so that chats from high priority customers who have specific queries about investments can be routed to a specific queue"

    Further reading suggest that we use context variables:

    "View and create context variables in the Context variables tab. Context variables enrich conversations with pre-chat data , channel data, and custom context data. These attributes can then be used to define routing rules to route conversations into different queues.

    I guess the next question is "How do we get the pre-chat survey questions to populate the Workstream context variables?"

    Thanks

    Bill

  • eykalman Profile Picture
    1,106 Most Valuable Professional on at

    Hi Bill

    Context variables can indeed be used, though there's not much out there about them at the moment. This would need to be done through code though, as specified at docs.microsoft.com/.../send-context-starting-chat.

    You can also use fields from the contact record etc. For example, if you had a field on the contact form to set if the customer was high-priority, you can then use this in the routing rules to push it through to a specific queue.

  • Bill Thompson. Profile Picture
    435 on at

    Thanks,

    I'll investigate further.

    Our key requirements is to route Chats based on real-time pre-chat questions.

    We need the customer to log the "Query Type" from a picklist and then be routed to an agent who is a subject matter expert in that type of Query.

    Cheers

  • eykalman Profile Picture
    1,106 Most Valuable Professional on at

    If you're needing to do that, look at the PVA or Azure bot functionality - that way you could even give self-serve options (coming from KB articles, flagging on keywords).

    It'll be much easier that way, at this point in time.

  • Suggested answer
    eykalman Profile Picture
    1,106 Most Valuable Professional on at

    Hi Bill

    I was actually wrong around this - it is indeed possible to route based on pre-chat survey questions! Sorry for the confusion.

    Take a look at thecrm.ninja/.../ where I go into how exactly it works, and how to set it up.

    Hope that this helps!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Service | Customer Service, Contact Center, Field Service, Guides

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 73 Super User 2025 Season 2

#2
Daniyal Khaleel Profile Picture

Daniyal Khaleel 42 Most Valuable Professional

#3
Scott Jackson UK Profile Picture

Scott Jackson UK 22

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans