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 / Power Automate - Snowf...
Power Automate
Answered

Power Automate - Snowflake - Submit SQL Statement for Execution Help

(0) ShareShare
ReportReport
Posted on by 6

I am relatively new to Power Automate. I am creating a flow to execute a query against Snowflake and then save the results to a file in OneDrive.

 

The issue: My Snowflake Submit SQL Statement for Execution action works great. I can test it and in the test flow, I can see the rowType and data results. However, back in my flow, my next step to save the data, rowType and data are not options. Pretty much every other item under the Returns section here is available.

 

What am I doing wrong???

 

Results in my test run:

ashleypaceRSF_0-1701904981560.png

According to the documentation, rowType should be right after format and before name. Even if I search for it by typing it in, nothing returns. The same with data.

ashleypaceRSF_1-1701905077721.png

 

Categories:
I have the same question (0)
  • lbendlin Profile Picture
    8,617 Super User 2026 Season 1 on at

    What type of file do you want to write to? CSV?  In that case the Rowtype won't be important, and you can directly iterate over the data.

  • ashleypaceRSF Profile Picture
    6 on at

    Thanks for the response. The issue is not the file type. The issue really is that I don't have the "data" return value available to do anything with. It does not show up as an output value from my Snowflake query execution.

  • Verified answer
    Rocco Profile Picture
    13 on at

    @ashleypaceRSF I struggled with the exact same thing. The dynamic fields can be found by clicking the expression (fx) button instead of the Dynamic content (lightning) button. A window should open with the tab Function open by default. What you want to do now is click Dynamic content. This is where you'll find the fields:
    - body/resultSetMetaData/rowType

    - body/data

    Or you can use the following code if you want to input them manually:
    @outputs('Submit_SQL_Statement_for_Execution')?['body/resultSetMetaData/rowType']
    @outputs('Submit_SQL_Statement_for_Execution')?['body/data']

    Hope it works for you,

     

    Rocco

  • ashleypaceRSF Profile Picture
    6 on at

    @Roccoyou are my hero! Thank you so much! Not very intuitive but I'm glad it's there. Thanks for reaching out and letting me know.

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 262 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 227

#3
Expiscornovus Profile Picture

Expiscornovus 225 Most Valuable Professional

Last 30 days Overall leaderboard