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 / Subject = Input from t...
Power Automate
Answered

Subject = Input from trigger

(0) ShareShare
ReportReport
Posted on by 31

Hello to all.

 

I am very new to Power automate and only now have started exploring. Did a few tutorials, watched a session, and perused some documentation.

 

In my attempt to create a simple "Block my calendar for 1H" type of button (aim here is when I go to lunch or have an improntu meeting, i just tap the button on my phone and done), I am interested to make the "Subject" of the event to be the Text input of my trigger (the reason chosen when triggering the flow).

MFFranco_0-1642611387342.png

 

Is this possible?

 

In a side note: In a further advance on this button, would be interesting to know if it is possible to instead of adding a finite number of minutes/days/hours for the "End time" if it would be possible to have the flow prompt for a duration (given the chosen variable of minutes/hours/days).

 

Thank you for your time.

Categories:
I have the same question (0)
  • Verified answer
    Expiscornovus Profile Picture
    33,844 Most Valuable Professional on at

    Hi @MFFranco,

     

    It should be possible to find the Reason field in the Dynamic Content list and use it in the subject field.

     

    Below is an example.

     

    reason_dynamiccontent.png

     

    RE your second question. You could add a number field for Duration of the meeting and use the addMinutes function in your expression instead of addHours. And instead of adding a fixed amount of time (1 hour/60 minutes) you could use the Duration number field in that same expression.

     

    Below is another example of that.

     

     

    addMinutes(utcNow(),triggerBody()['number'])

     

     

    addedduration.png

  • MFFranco Profile Picture
    31 on at

    @Expiscornovus thank you very much. That is in fact much easier to set up for the subject. Thank you.

     

    On to the second part, there is no way to actually have it prompt for a request of how many minutes to set? As the expression would have to be hardcoded to the function and not be with a dynamic input. Example: I have an impromptu call that will predictably take me 20m to do. Would this be possible to do?

  • Expiscornovus Profile Picture
    33,844 Most Valuable Professional on at

    Hi @MFFranco,

     

    Yes, that prompt would be possible. The setup of the second screenshot actually included that.

     

    durationfield.png

     

    See a test run example below.

     

    20minutes.png

    The test end result with a duration of 20 minutes.

     

    testrun_20minutes.png

  • MFFranco Profile Picture
    31 on at

    @Expiscornovus oh my. that duration prompt slipped by me. Thank you again.

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 594

#2
Valantis Profile Picture

Valantis 469

#3
11manish Profile Picture

11manish 364

Last 30 days Overall leaderboard