cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
Highlighted
Super User III
Super User III

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
Highlighted

exactly. Not a personal or a group calender

Highlighted

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
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Top Solution Authors
Top Kudoed Authors
Users online (7,628)