0
votes

I wanted to connect to azure blob, get the file, read the contents of the file and send the content of the file through through an email.

Here is a picture description below.

enter image description here

NOTE : in the picture i want the content to be sent via the "Body" in the email.

Thanks for the help.

2
Please provide the work you have already tried and are having trouble with.Any Moose
When you focus on "Body" parameter of the "Send an email" action, you should see the content of the blob showing up on the right hand side in the pop up for you to select.Derek Li

2 Answers

1
votes

As you would get the blob content to send to email, you could add a "Get blob Content" action before "Send an Email" action.

enter image description here

For more details, you could refer to this article.

0
votes

I dabbled with Azure logic apps to solve the last problem i posted ( i.e. How to dynamically get the file content from azure blob storage without specifically giving it the file name ). The answer was, just to pass the "Get blob content using path" connector instead of using "Get blob content " connector.

As an example, i've attached a picture below. In the picture - i'm trying to solve a problem : How to get and Parse(in to JSON) a csv file content loaded from azure blob storage and send the parsed file content into to my email.

NOTE: the parsing from csv to JSON is a custom azure function

If anybody wants the parsing azure function code, i can post it underneath later.

Hope this could help for anyone looking to solve the same kind of problem.

enter image description here