cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Super User
Super User

XML HTTP Response to Azure SQL using Flow?

Hello,

A colleague and myself are trying to figure out how to get XML from an HTTP response into an Azure SQL table. We can get the response to write to file on a shared drive, but can't seem to find info on how to parse out the XML and write it to a Azure SQL table.

Any leads?

Thank you!

1 REPLY 1
Community Support Team
Community Support Team

Re: XML HTTP Response to Azure SQL using Flow?

Hi @ericonline ,

 

Do you want to parse XML data then store it to Azure SQL table?

Please consider using function xpath:

https://docs.microsoft.com/en-us/azure/logic-apps/workflow-definition-language-functions-reference#x...

I have made the following test to parse XML data, please check the following configuration.

Add a compose action with the following XML data:

 

<?xml version="1.0"?>

<Users>

           <User1 type="System.String">mabel</User1>

</Users>

 

Add Compose 2 with the following code:

xpath(xml(outputs('Compose')),'string(/Users/User1)')

Then you could store the returned data to SQL Azure table.

Please take it for a reference.

1.PNG2.PNG

 

Best regards,

Mabel

 

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

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020.

thirdimage

Flow Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Flow Community Video Gallery!

Users Online
Currently online: 110 members 2,972 guests
Please welcome our newest community members: