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 II
Super User II

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
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Users online (2,205)