How to extract URL output into a csv file (on next step)?

King Java 790 Reputation points
2024-11-08T23:12:20.2266667+00:00

I am trying to extract an output (URL) from previous step to the next step.

If one puts the output from "Execute JavaScript Code" into a browser, it generates a csv file automatically, and that is the final output.

User's image

I am trying to move to the next step which takes the output of "Execute JavaScript Code" and store into either Azure File Storage (preferred) or Azure Blob Storage, it does not matter.

How do I go about doing it?

(These steps were created based on what I saw on other threads.)

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
3,542 questions
0 comments No comments
{count} votes

Accepted answer
  1. LeelaRajeshSayana-MSFT 17,766 Reputation points Moderator
    2024-11-09T01:34:21.9966667+00:00

    Hi @King Java Greetings! Thank you for posting this question here.

    You can hit the URL end point extracted from the Execute JavaScript Code step through a HTTP action. You can then reference the body of this action response, which contains your CSV data, in the action Create blob (V2). Please refer the following screenshots for reference configuration.

    1. Here I am hitting a URL end point which returns a CSV file. User's image
    2. You can then reference the Body of this HTTP action response in the Create Blob (V2) action as below

    User's image

    1. Once your workflow is run, the file will be saved in the container set to the Folder path with the specified blob name.

    Hope this helps! Please let us know if you have any additional questions or need further assistance.


    If the response helped, please do click Accept Answer and Yes for the answer provided. Doing so would help other community members with similar issue identify the solution. I highly appreciate your contribution to the community.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.