cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
yoshihirok
Level 10

Post max id of SharePoint list items to Microsoft Teams

This flow post max id of SharePoint list items to Microsoft Teams every day.

1.png

 

 

 

Tips: To get max id of SharePoint list items by using a expression without Apply-to-each

 

This Flow:

1. Trigger - Schedule.

2. Action - SharePoint - Get items.

  Name: items

  Site address: <your sharepoint address>

  List Name: <your list name>

  Filter Query: <blank>

  Order by: ID desc

  Top count: 1

3. Action - Microsoft Teams - Post message

  Team id: <your team id>

  Channel id: <your channel id>

  Message: Max ID is [outputs('items').body?.value[0].ID]1.png

 

 

 

Comment 1. <your ..> is your real one.

Comment 2. [...] in step 3 is Expression.

1.png

 

 

 

For using min ID, instead of max ID,

Set  'Order by' of step 2 - Get items to 'ID asc'.

 

Regards,

Yoshihiro Kawabata

 

 

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Users Online
Currently online: 164 members 5,418 guests
Please welcome our newest community members: