Hello Everyone,
I've been trying to configure a Flow to post messages to Teams whenever a News post is created/update in Sharepoint. I've tried every possible combination and could not get it right. Does anyone have accomplished this? Any help would be great appreciated.
I understand that all site news are under;
So in theory, if I use;
I could get the job done. Wrong! I can't get this to work;
Thank you all in iadvance and stay safe 😉
Solved! Go to Solution.
Mission accomplished!
The following flow will send an Adaptive Card to a Teams channel of your choice whenever a News is created/updated in your Sharepoint Site.
Thank you @Expiscornovus for you help on this one.
I leave here a link to a video tutorial I've made on how to achieve this step-by-step.
Hi @heyvOOn,
I would use the Get file properties action instead of the Get Files (properties only) action.
Use the GUID of the site pages library as a custom value in the Library Name. And use the following expression to retrieve the id from the x-ms-file-etag field from the trigger action.
replace(split(triggerOutputs()?['headers/x-ms-file-etag'], ',')?[1], '"', '')
Thank you for your help. Your Function seem to helped me pass the error. But now I can't seem to get the GUID from the library below?
Hi @heyvOOn,
You should be able to find that GUID on the library settings page.
1. Go to the Site Page Library. Click on Library settings in the settings menu.
2. Spot the ID in the address bar after List= between the curly brackets.
I found the GUID and put there where you said but it doesn't work.
Seem like I got it to work with the library name instead of the GUID but I still have an issue.
The Adaptive Card it's sending to Teams is not the one that I've I changed. When I change a page. The flow detects the change in the folder but it sends an Adaptive Card to Teams with a random page, not the one I've updated.
Mission accomplished!
The following flow will send an Adaptive Card to a Teams channel of your choice whenever a News is created/updated in your Sharepoint Site.
Thank you @Expiscornovus for you help on this one.
I leave here a link to a video tutorial I've made on how to achieve this step-by-step.
Hi heyvOOn,
would it be possible to copy and paste here the json you used for the card? I would be very grateful if I could you the same design.
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Announcing a new way to share your feedback with the Power Automate Team.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
User | Count |
---|---|
72 | |
27 | |
22 | |
15 | |
13 |
User | Count |
---|---|
140 | |
42 | |
42 | |
35 | |
30 |