cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Oskarkuus
Post Prodigy
Post Prodigy

Collect data from Teams and resave to datasource - is this possible?

I have this idea i want to see if it is possible and what level of knowledge i need to build it (if it is even possible).

 

This is the scenario:

1. User open Powerapp and submit data to a form

2. Powerapps saves data to a datasource (Sharepoint list)

3. A Power Automate flow checks new entries in the sharepoint list and post a message in Teams with some of the data that the user submitted.

 

-So far i know how to build this

 

4. Now i want to collect answers from the posts in Teams that is posted with Power Automate. I want to collect all the comments etc that other uses are making on those posts. These data i want to save back to the sharepointlist and the row/record that triggered the specific post. Is this possible?

 

So what im looking to find is an answer on number 4. How to do this? Is it possible?

 

Im thinking of some kind of JSON code with buttons and comment section. But i have never done this. And i cant even think of how to save the data back to the sharepoint list and the correct record...

I dont even know what to google for here 🙂

 

1 REPLY 1
KrishnaV
Super User III
Super User III

Hi @Oskarkuus ,

 

You can do with the below operations:

Set the items property of dropdown1 to:

MicrosoftTeams.GetAllTeams().value

Set the items property of dropdown2 to :

MicrosoftTeams.GetChannelsForGroup(Dropdown1.Selected.id).value

Set the items property of gallery1 to:

MicrosoftTeams.GetMessagesFromChannel(Dropdown1.Selected.id,Dropdown2.Selected.id).value

See the complete thread with the below link:
https://powerusers.microsoft.com/t5/Building-Power-Apps/Getting-messages-from-Microsoft-Teams/m-p/18...


I hope this resolved your issue if you see any challenge/need further help please let me know I am always happy to do it for my community.

Regards,
Krishna
If this post helps you give a 👍 and if it solved your issue consider Accept it as the solution to help the other members find it more.


I hope this resolved your issue if you see any challenge/need further help please let me know I am always happy to do it for my community.

Regards,
KrishnaV
Business Applications MVP
Twitter | Linkedin | YouTube | GitHub
If this post helps you give a and if it solved your issue consider Accept it as the solution to help the other members / new members of the community.

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

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

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Did you miss the call? Check out the recording here!

Top Solution Authors
Top Kudoed Authors
Users online (60,752)