power-automate

Can we get / read triggers input (parameters) - for example booking page email?


We use MS Booking and MS PowerAutomate in our flow to let students to register for courses.

  1. Student register via MS Booking page
  2. PA Flow is triggered and call our internal system to
  3. Validate and Save student data, assign course in LMS, send a confirmation email etc.

Part of the flow is to be cancellation of MS Bookings that come from "not approved" sources. The validation and cancellation is done in the 3rd step. We are using multiple Booking pages and the cancellation is done via MS Graph call. It needs booking space id. It is the booking page email. Such info is NOT in the output of PA trigger. But the trigger needs to be set up. And in fact the booking page email that is the trigger's parameter is something I want to use further in the PA flow.

enter image description here

If I check the history of the flow. The info I want to get is the "SMTP Address". Is there any way I can get this?

enter image description here


Solution

  • Use the following

    trigger()?['inputs/parameters/SMTPAddress']