cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
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.

Proud to be a Super User!

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
New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

Top Solution Authors
Top Kudoed Authors
Users online (39,672)