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 / Microsoft Forms Pro / ...
Power Automate
Unanswered

Microsoft Forms Pro / Pre-set variables by Power Automate, when survey id is not static

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello,

I had a following problem using Forms Pro survey distribution with Power Automate.
Imagine there are several surveys created with a same set of custom variables. (For example, job name, phone-number)
We'd like to distribute different surveys based on some pre-conditions and set these vairables at a flow run-time.

In 'Create Invitation link' flow action for FormsPro, we set survey id to be inherited from a previous flow action/step. (The ID is taken from some table, where it's added manually, upfront). So flow should pick-up correct survey at run-time.

But If we don't specify the exact survey ID within flow configuration, it doesn't allow to set custom variables, even so they might be simillar for every survey in our scenario.

Even if a variable is not available in particular survey, it could be ignored - it's still a relevant business case.

I've tried to adjust JSON input manually, (using flow export/import) but in this case an error is shown (like: action doesn't follow the JSON schema).

Does anyone now, if there a way to achieve that? 
I think such issue could be raised not only for FormsPro connectors...
Any help appreciated!
Thanks!


Categories:
I have the same question (0)
  • v-bacao-msft Profile Picture
    Microsoft Employee on at

     

    Hi @NormanYuits1 ,

     

    Could you provide screenshots of the current Flow configuration so that we can better analyze your problems and provide you with the appropriate workaround?

     

    Best Regards,

  • GYAR Profile Picture
    2 on at

    I've made a brief example. Just to understand an issue.

    1) The Form Id (survey) is taken from previous step. In this case neither of variables are shown (except default ones)

    2) The Form Id is specified manually at design time. Variables are shown according to specified Form.

     

    In our case, all surveys used in a flow will have the same set of variables. Otherwise, if the variable is specified, and doesn't exist on the form (selected at run-time), it could be ignored.

    ----Dynamic content

    Dynamics contentDynamics content

    -----------------Static content - variables are shown

    Static contentStatic content

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    What @GY is mentioned is exaclty an issue we've faced with.

    It's makes flow design and maintanence extremely cumbersome, as we need to use as much "case" branches as different survey we have.
    We'd like to have only one step to 'Generate survey invitation'.
    @v-bacao-msft  is it clear now?


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!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 124 Super User 2026 Season 1

#2
Ellis Karim Profile Picture

Ellis Karim 52 Super User 2026 Season 1

#3
Haque Profile Picture

Haque 50

Last 30 days Overall leaderboard