Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Answered

Flow unable to handle null response from Forms into Power BI

(0) ShareShare
ReportReport
Posted on 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 at
    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 at
    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 at
    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,118 Super User 2025 Season 1 on at
    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

🌸 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,605 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,946 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow