Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Answered

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

(0) ShareShare
ReportReport
Posted on by 174

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

  • ryan2k Profile Picture
    174 on at
    Re: Newbie - pull date from Form, add days, then create calendar event

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

  • ryan2k Profile Picture
    174 on at
    Re: Newbie - pull date from Form, add days, then create calendar event

    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

     

     

  • v-yuazh-msft Profile Picture
    on at
    Re: Newbie - pull date from Form, add days, then create calendar event

    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
    174 on at
    Re: Newbie - pull date from Form, add days, then create calendar event

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

    'r32910d80a68544ac83c413df00c48e1e'
  • Verified answer
    v-yuazh-msft Profile Picture
    on at
    Re: Newbie - pull date from Form, add days, then create calendar event

    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
    174 on at
    Re: Newbie - pull date from Form, add days, then create calendar event

    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

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,651 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,999 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow