web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Send Outlook Email One...
Power Automate
Unanswered

Send Outlook Email One Hour prior to SharePoint Calendar Event

(0) ShareShare
ReportReport
Posted on by

Hi All,

 

I'm trying to set up a Microsoft Flow that basically grabs all the 'SharePoint Calendar List' events and emails the specified user when the event is set to 'Start Time' one hour before the event.

 

This is the error that I am currently stuck on when Testing

InvalidTemplate. Unable to process template language expressions for action 'Apply_to_each' at line '1' and column '2580': 'The template language function 'utcNow' expects its parameter to be of type string. The provided value is of type 'Integer'. Please see https://aka.ms/logicexpressions#utcnow for usage details.'.

Here is what my current setup currently looks like, please make any adjustments that you deem might be necessary.

 

Please let me know if this is not the correct formating.

Categories:
I have the same question (0)
  • PieterVeenstra Profile Picture
    13 on at

    I think that your condition should look like this:

     

    @equals(triggerBody()['key-button-date'], addHours(utcNow(), 1))

     

    where triggerBody()['key-button-date'] is the date that you are comparing against.

  • Community Power Platform Member Profile Picture
    on at

    I've tried this, but sadly it hasn't worked so far - Just tosses the 'This isn't a condition' error.

  • v-yuazh-msft Profile Picture
    on at

    Hi @Anonymous,

     

    Could you please share more details about the SharePoint Calendar List?

    Why are you use the trigger "when a file is created" instead of the "When an item is created"?

    Could you please share more details about the expression in the Input field of the Apply to each?

    Could you please share a screenshot of the run history when the flow run failed with error that you mentioned?

     

    Please share more details so we could try to provide a proper workaround for you.

     

    Best regards,

    Alice

  • Community Power Platform Member Profile Picture
    on at

    @v-yuazh-msft,

     

    Sorry! Here are the updated pictures where I'm still having the problems sadly. It's erroring out on the get event action.

     

    1.png2.png

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 503 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard