Member-only story
Hi there! π today we will explore how to transfer data from Blob Storage to Logic App using a Function App.
All Non members can visit here : Function App to send data from Blob to Logic App π
To begin, we need to create the function app in VSCode, as outlined in my previous post. Subsequently, in the Azure portal, create a Logic App (either Standard or Consumption) and a Storage Account, which are also detailed in my earlier blog post, βHow to Create a Storage Account in Azure from Scratchβ.
Regarding the function we have created, I am utilizing an HTTP trigger function app. The function app is designed to read the blob content in JSON format and send it to my Logic App. However, you can customize your function app code to suit your specific needs.
using System;
using System.IO;
using System.Net.Http;
using System.Threading.Tasks;
using Azure.Storage.Blobs;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Azure.Functions.Worker;
using Microsoft.Azure.Functions.Worker.Http;
using Microsoft.Extensions.Logging;
namespace Company.Function
{
public class HttpTrigger1
{
private readonly ILogger<HttpTrigger1> _logger;
private static readonly HttpClient httpClient = new HttpClient();
public HttpTrigger1(ILogger<HttpTrigger1> logger)
{β¦