cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

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

the appointments are in sharepoint calendar right @Anonymous ?



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
Anonymous
Not applicable

exactly. Not a personal or a group calender

Hello @Anonymous 

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
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (2,068)