cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
aurlho
Helper I
Helper I

Adaptive cards in Teams

Hello guys,

 

Actually my problem is how to retrieve information from user chatting with my bot (if the dynamic variable cannot be retrieved via the previous action).

 

For example, my use case is as follows: when a ticket is created on Freshdesk with the status "Urgent", an adaptive card is sent to a Teams channel.
I would like to display the Office 365 name (in Freshdesk you juste have an ID, and not the name, surname....) of the user who created the ticket on this card.

What can I do to retrieve office user information ? "Get user profile" ? 

 

Regards

1 ACCEPTED SOLUTION

Accepted Solutions
renatoromao
Super User
Super User

Hi @aurlho ,

 

You can see this post: Getting User Details To Use In Power Virtual Agents In Teams (microsoft.com)

And send this information to your workflow to create a Freshdesk ticket and send an adaptive card to the Teams channel.


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

Renato Romão,

Connect with me here 😉

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

View solution in original post

5 REPLIES 5
renatoromao
Super User
Super User

Hi @aurlho ,

 

You can see this post: Getting User Details To Use In Power Virtual Agents In Teams (microsoft.com)

And send this information to your workflow to create a Freshdesk ticket and send an adaptive card to the Teams channel.


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

Renato Romão,

Connect with me here 😉

Power Virtual Agents course (+2.760 students) : English | Português
aurlho
Helper I
Helper I

Hi @Renato , 

Thank you, I followed the link and all the variables (name, first name, mail ...) seem to be recovered.
But for the moment I can not use the variables in my freshdesk flow 😞 

 

renatoromao
Super User
Super User

Hi @aurlho ,

 

Follow the link below at the topic called "Customize Greeting Scenario 2 (Office365)".

After the action called "Get user profile" you can use the User Email to use inside the Freshdesk action.


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

Renato Romão,

Connect with me here 😉

Power Virtual Agents course (+2.760 students) : English | Português
aurlho
Helper I
Helper I

aurlho_2-1606225135746.png

 

User Email to use inside the Freshdesk action must to be in dynamic variable (with Office), isn't it ?

What's the UPN ?

 

 

renatoromao
Super User
Super User

@aurlho ,

 

If you follow this way, you need to create another workflow that gets the user properties (like Email) and stores inside the variable in your chatbot, and after sending to this workflow to create a ticket inside the Freshdesk.

 

If you want to create only one workflow, you need to create actions to get the Office 365 properties following our conversation above.


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

Renato Romão,

Connect with me here 😉

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

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Carousel_PP_768x460_Wave2 (1).png

2022 Release Wave 2 Plan

Power Platform release plan for the 2022 release wave 2 describes all new features releasing from October 2022 through March 2023.

Canadian Cloud 2022 768x460.png

Register for a free PVA chatbot creation workshop.

Learn how to respond rapidly to your customers and employees at scale, using intelligent conversational chatbots.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Top Solution Authors
Users online (4,731)