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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Newbie - pull date fro...
Power Automate
Answered

Newbie - pull date from Form, add days, then create calendar event

(0) ShareShare
ReportReport
Posted on by 176

New to Forms and trying to figure things out... appreciate your help!

 

Setup

I have a Form that triggers the Flow. Within the Form are fields for account name, start date, end date.

 

Goal

Create a series of Calendar events based on the start date submitted in a Form.

 

For example, let's say the Form returns value start date for tomorrow. I'd like to create a calendar event for 20 days from the submitted start date. Then another event that's 40 days from the start date, and so on.  Can I have the Calendar Event's start time be something like [start date]+20days ... ??? Thank you!

Screen Shot 2018-10-03 at 1.40.43 PM.png

Categories:
I have the same question (0)
  • ryan2k Profile Picture
    176 on at

    I've tested the below syntax, but it doesn't seem to like it!

     

    Screen Shot 2018-10-04 at 11.17.03 AM.pngScreen Shot 2018-10-04 at 11.16.40 AM.png

  • Verified answer
    v-yuazh-msft Profile Picture
    Microsoft Employee on at

    Hi @ryan2k,

     

    I have made a test on my side,please refer to screenshot below to create the flow:

    Capture.PNG

     

    The expression in the Start time field in the Create event action as below:

    addDays(body('Get_response_details')?['r32910d80a68544ac83c413df00c48e1e'],20)

    The flow would run successfully as below:

    Capture.PNG

     

     

    Best regards,

    Alice

  • ryan2k Profile Picture
    176 on at

    Thanks so much! I look forward to trying this out, but how did you obtain the id string

    'r32910d80a68544ac83c413df00c48e1e'
  • v-yuazh-msft Profile Picture
    Microsoft Employee on at

    Hi @ryan2k,

     

    The expression below is the "Start Date"dynamic content of the "Get response details" action.

    body('Get_response_details')?['r32910d80a68544ac83c413df00c48e1e']

     

    You could add the "Start Date"dynamic content of the "Get response details" action,then copy the expression of the "Start Date"dynamic content.

     

    Best regards,

    Alice

  • ryan2k Profile Picture
    176 on at

    Hi @v-yuazh-msft - Thanks for the reply but I don't see a way to copy the Expression of the Dynamic Content "Start Date." It doesn't auto fill the Expression, field, and there's no other field I can find that reveals the expression ID.

     

     Screen Shot 2018-10-09 at 10.48.16 AM.png

     

     

  • ryan2k Profile Picture
    176 on at

    I found the ID by hovering my mouse over the Start Time entry. Thanks!

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 552

#2
Valantis Profile Picture

Valantis 388

#3
11manish Profile Picture

11manish 375

Last 30 days Overall leaderboard