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

Community site session details

Session Id : HlJC4VfctfHRYa7yVx08G6
Power Automate - Using Flows
Answered

Flow unable to handle null response from Forms into Power BI

Like (0) ShareShare
ReportReport
Posted on 28 Jan 2020 04:31:49 by

I have been using Flow to populate data from Forms into Power BI.  It works great for my standard Form templates, but I have a new Form template that uses branching.  This branching has caused Flow to fail because it registers a null response from Forms.

 

I'm using the following Flow expression to get the response details from Forms: 

first(triggerBody()?['value'])?['resourceData']?['responseId']

 

I have no idea what this expression means as I copied it from a tutorial I watched to get Flow working.  The error message I'm getting says the following:

Unable to process template language expressions in action 'Get_response_details' inputs at line '1' and column '2005': 'The template language function 'first' expects its parameter be an array or a string. The provided value is of type 'Null'.

 

Any help would be appreciated.

  • Community Power Platform Member Profile Picture
    on 28 Jan 2020 at 17:27:04
    Re: Flow unable to handle null response from Forms into Power BI

    Perfect, Alice!  Flow is working for me now.  Thanks!!

  • Community Power Platform Member Profile Picture
    on 28 Jan 2020 at 17:26:03
    Re: Flow unable to handle null response from Forms into Power BI

    Thanks for the advice, but I am using the Get response details action.  The issue is that the expression I'm using in this action can't manage instances of null response that is attributed to branching in Forms.

  • Verified answer
    v-alzhan-msft Profile Picture
    on 28 Jan 2020 at 08:04:57
    Re: Flow unable to handle null response from Forms into Power BI

    Hi @Anonymous ,

     

    Please refer to screenshot below to create the flow:

    1.png

     

    And the expression should as below:

    triggerBody()?['resourceData']?['responseId']

     

    Best regards,

    Alice       

     

    Community Support Team _ Alice Zhang
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • RobElliott Profile Picture
    10,166 Super User 2025 Season 2 on 28 Jan 2020 at 07:34:09
    Re: Flow unable to handle null response from Forms into Power BI

    @Anonymous why don't you just use the Get response details action instead? That should always be the first action after the When a new response is submitted trigger.

    getResponseDetails2.png

     Rob
    Los Gallardos
    If I've answered your question or solved your problem, please mark this question as answered. This helps others who have the same question find a solution quickly via the forum search. If you liked my response, please consider giving it a thumbs up. 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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 2

Featured topics

Restore a deleted flow
Loading complete