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...
Unanswered

Parsing inbound phone number in an SMS Workstream with PVA bot

(0) ShareShare
ReportReport
Posted on by 5

I have an Omnichannel SMS Workstream configured with a PVA bot.  I am able to trigger the bot topics with a text message to a particular phone number, which is great.  I am trying to discern if the PVA bot can grab the incoming phone number and pass it to a Power Automate Flow to filter a table in our Dataverse.

When I review the session logs in the PVA analytics area for my bot, I can see my phone number is captured in the ChatTranscript column (I've blocked it out in red):2023_2D00_03_2D00_31_5F00_13h42_5F00_31.png

I think that payload is getting passed from Dynamics/Omnichannel though, so I'm not sure how to grab the "PrimaryDisplayValue" key.  Thanks in advance.

I have the same question (0)
  • Steve Zhao2 Profile Picture
    on at

    Hi rtraver,

    Is that payload valid JSON data? If yes, you could parse it to JSON Object and then get it. 

  • rtraver Profile Picture
    5 on at

    I believe it is valid JSON, and I'm comfortable parsing JSON.  I just don't know how to get to it, or if it's available from PVA or Dynamics.  Does that make sense?

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 45 Super User 2025 Season 2

#2
Daniyal Khaleel Profile Picture

Daniyal Khaleel 27 Most Valuable Professional

#3
Soundari Profile Picture

Soundari 15

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans