cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
smehro
Frequent Visitor

AI Psychology agent using Power Virtual Agent

Hi,

I am a newbie to PVA. Basically, no experience with coding but i am happy to learn.

Scenario:
I wish to design an agent that is asking 5 questions to the user and get ratings for each of them. For example:

How is your mood today?

Options: Very Good, Good, Average, Bad

Now, I wish to analyze the answers of those 5 questions and give user an option to do an activity for psychological counselling. For example:

If the result of the 5 questions are 4 for - bad &1 for - average, I wish to provide the user an activity to do in form of a text with an accompanied video.

What's important for me?
1. To save user responses for each question asked and utilize those answers in real time to give options -
2. Let PVA takes some time to think before giving the user the activity, like wait function or splash screen like "Processing"....
3. the options that user gets must be horizontal in the chat window not vertical.
4. To have a full screen for the window so that seeing the video experience is better
5. Ensure the the whole video is finished before the agent provides next activity
6. Export all results in the excel
7. For my users to make it available across globe

 

Can some one please provide answers to above 7 points considering the scenario? A support video link/documentation on PVA would be great.

Thanks
S

1 ACCEPTED SOLUTION

Accepted Solutions
renatoromao
Super User
Super User

Hi @smehro ,

 

Follow below the answers:

1. To save user responses for each question asked and utilize those answers in real time to give options -

You can use Power Automate to save each answer that the user sends for each question.


2. Let PVA takes some time to think before giving the user the activity, like wait function or splash screen like "Processing"....

It's not available yet. You can vote in this idea: https://powerusers.microsoft.com/t5/Power-Virtual-Agents-Ideas/Bot-show-typing-message-to-user-wait-...


3. the options that user gets must be horizontal in the chat window not vertical.

It's the default usability, you cannot use the vertical options.


4. To have a full screen for the window so that seeing the video experience is better

You can customize using the CSS file to see the chatbot on a full screen, but you cannot play a video inside the PVA yet.

https://docs.microsoft.com/en-us/power-virtual-agents/customize-default-canvas


5. Ensure the the whole video is finished before the agent provides next activity

It's not available yet. You can create an idea here: https://aka.ms/pva/community/ideas


6. Export all results in the excel

If you use the Power Automate to save the answers, you can export after all answers finished.


7. For my users to make it available across globe

If you are using your chatbot inside the Custom Website, Demo Website, Power Apps Portals, Teams or something like that, you can use around the World normally.


Did I answer your question? Mark my post as a solution!
Thanks!

Renato Romão,

Connect with me here 😉

Power Virtual Agents course (+2.300 students | PROMOTIONS) : English | Português

View solution in original post

4 REPLIES 4
renatoromao
Super User
Super User

Hi @smehro ,

 

Follow below the answers:

1. To save user responses for each question asked and utilize those answers in real time to give options -

You can use Power Automate to save each answer that the user sends for each question.


2. Let PVA takes some time to think before giving the user the activity, like wait function or splash screen like "Processing"....

It's not available yet. You can vote in this idea: https://powerusers.microsoft.com/t5/Power-Virtual-Agents-Ideas/Bot-show-typing-message-to-user-wait-...


3. the options that user gets must be horizontal in the chat window not vertical.

It's the default usability, you cannot use the vertical options.


4. To have a full screen for the window so that seeing the video experience is better

You can customize using the CSS file to see the chatbot on a full screen, but you cannot play a video inside the PVA yet.

https://docs.microsoft.com/en-us/power-virtual-agents/customize-default-canvas


5. Ensure the the whole video is finished before the agent provides next activity

It's not available yet. You can create an idea here: https://aka.ms/pva/community/ideas


6. Export all results in the excel

If you use the Power Automate to save the answers, you can export after all answers finished.


7. For my users to make it available across globe

If you are using your chatbot inside the Custom Website, Demo Website, Power Apps Portals, Teams or something like that, you can use around the World normally.


Did I answer your question? Mark my post as a solution!
Thanks!

Renato Romão,

Connect with me here 😉

Power Virtual Agents course (+2.300 students | PROMOTIONS) : English | Português

View solution in original post

Hi @renatoromao 

I tried exploring the Power Automate. However, I couldn't find an optimal way out just to save user responses and use them later during the bot chat.

Can you kindly help me with that ?

Thanks,

S

Hi @smehro ,

 

You can create an action below for each question that you send to the user, that call to Power Automate passing the Variable (user response) as a parameter to the workflow.

Inside the workflow, you can save this inside the Excel file or something like that.

 

Or you can see this topic that I explain better about the Conversation Transcripts.

https://powerusers.microsoft.com/t5/Publish-Channel-Management/Is-it-possible-to-reconnect-the-user-...


Did I answer your question? Mark my post as a solution!
Thanks!

Renato Romão,

Connect with me here 😉

Power Virtual Agents course (+2.300 students | PROMOTIONS) : English | Português

Hi @renatoromao ,

 

Correct me if I am doing wrong.

Annotation 2020-08-19 143515.pngAnnotation 2020-08-19 143544.png

Helpful resources

Announcements
MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

March Update

Welcome to the User Group Private Preview

Check out new user group experience and if you are a leader please create your group

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

Top Solution Authors
Users online (68,991)