Can I pass a ZIP-file through to the Logic App HTTP trigger

Thomas Vogt Poulsen 1 Reputation point
2020-07-03T08:02:20.83+00:00

Is it possible to configure the Http-trigger to receive like a file stream and with that take the file type and content of a ZIP-file and write it to a different location through the File System connector.

I know I can receive plain text files in different formats but what about binary contents like ZIP og PDF?
Also the backup plan would be to write the file to a Blob storage and trigger the Logic App, but the files might contain sensitive data that we would prefer not writing anywhere unnecessary.

Thanks

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

1 answer

Sort by: Most helpful
  1. Samara Soucy - MSFT 5,051 Reputation points
    2020-07-08T15:40:44.093+00:00

    You certainly can. You won't be able to make use of the schema tools for JSON content, but the Logic App can still receive it. If the files you are trying to transfer are large enough, you may need to enable chunking for the Logic App to accept it.

    The Create File action won't show the message body as an option by default, but by choosing "See More" in the dynamic content window you can access the body of the HTTP message.
    11606-2020-07-08-11-39-08-logic-apps-designer-microsoft.png

    If you are concerned about data security, be sure to set up secure access in your Logic App design. If you do not configure this the request content is available in places like the run history. You can read about how to do this here: https://learn.microsoft.com/en-us/azure/logic-apps/logic-apps-securing-a-logic-app#obfuscate

    0 comments No comments