Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Copilot Studio - General
Unanswered

Twilio SMS integration with Power Virtual Agent

(0) ShareShare
ReportReport
Posted on by

I'm creating a bot in PVA which the use case is strictly communication via Twilio SMS.  This bot is mostly a QnA bot that does have some nested questions that could take the user 5-6 levels deep.  Mostly Yes/No answers.  I've created something in python that acts as a bridge between Twilio and PVA and I have this instance currently running in CloudRun (using the DirectLine URL).  At the moment, I'm doing this w/o a database to store a session so basically a user texts and the code will store the session in a dictionary and continue using the conversationId until the expiration expires.  I'm coming across some difficulty though with that the bot can easily recognize affirm/deny on the testing web chat but not in the SMS.  So, I'm assuming some data via SMS may not be passing through Twilio properly.  

Questions:

 

1.  I'm unable to find complete working code out there to compare mine to for the DirectLine URL, because I guess this is the only way to integrate Twilio SMS with PVA? 

 

2.  Is the best ways to incorporate affirm/deny responses is a closed list Entity with Yes (and its respected synonyms) and No (with its respected synonyms)?

If there are easier ways out there to implement Twilio SMS with PVA. I'm all ears. 


Also, if need be, I can share my code in a comment below if it will help.  Thanks. 

Categories:

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Copilot Studio - General

#1
stampcoin Profile Picture

stampcoin 8

#2
Artur Stepniak Profile Picture

Artur Stepniak 5 Super User 2025 Season 1

#3
Ekta Gupta Profile Picture

Ekta Gupta 4

Overall leaderboard