cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
skiebist
New Member

creating a Teams-post when an event is due

Hi all, my plan is to automatically create a post in a Teams-Channel when an appointment of an additional calender (created in the Teams´ Sharepoint) is due.

Created this calendar only for showing upcoming (FYI-) events for my team

Any idea? THX a lot in advance

3 REPLIES 3
ChristianAbata
Super User
Super User

the appointments are in sharepoint calendar right @skiebist ?



Did I answer your question? Please consider to Mark
my post as a solution! to guide others :winking_face:

Proud to be a Flownaut!


If you want you can follow me at www.christianabata.com Quieres contenido en español? Síguenos en Power Automate LA

exactly. Not a personal or a group calender

Hello @skiebist 

Those events are created in the "Events" list in the SharePoint site. Therefore, you could do something like this:

reminder.png

 

1) Each day

2) Get the events where the StartTime value is less or equal than a day before the current date. Be careful with the single quote before the addDays expression.

3) If there is any item (length(body('Get_items')?['value'])>0)

4) Post a message in teams.

You should take into account your time zone and do a previous conversion of the current time (utcNow) if necessary (use the conver time zone action, for example).

Hope it helps!

Ferran

Did I answer your question? Please consider to mark my post as a solution to help others.
Proud to be a Flownaut!

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Users online (2,561)