Data Action: Get PureCloud User Presence - Call Flow Routing

We are creating a new call flow where the customer can enter their account number. Based on that account number, we are looking up the account owner in Salesforce and routing the call to that account owner in PureCloud via a skill. We added the "Get PureCloud User Presence" Action. In that Test section, I added my USER_ID in the Input section and in the Output section we got a successful response. For instance, if my actual PureCloud presence is On Queue then the output response is On Queue. If my actual PureCloud presence is Available, then the output response is Available, etc.

Now, what we would like to do in the call flow is lookup the presence before the call goes to that agent, because we would like to give the caller an option to either leave a voicemail for the agent, or speak to a live agent now which would route to another queue.

So, in architect, what would be the expression to lookup a user preference, so we can route calls based on the user preference?

"Data -> Collect Input" can be used to ask the question and collect a DTMF response followed by a "Logical -> Decision" to act on the decision.

--Jason

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.