DEV Community

Daniel Jonathan
Daniel Jonathan

Posted on • Originally published at biztalkdj.blogspot.com on

Logic App | Integrating with Azure Function

In this article, I will integrate Azure Generic Webhook function with Logic App.

Lets create a generic webhook function and generate a code from json request as shown and use it the function.

1

This function validates the JSON input and renders response based on the unit provided.

1

Lets create Logic App and choose a blank template,as shown below.

1

Bring in a HTTP Request,

1
Using Sample JSON, we can generate the JSON schema and the configure the HTTP verb as post and provide the relative path

1

Once HTTP request is configured, we can add a new step and then choose an action and configure the Azure Function. Then pass in the HTTP body to function as shown.

1

Now, we can validate the response using condition and control the flow for true and false path.

1

Save the logic app and push message using PostMan tool and validate the behavior

1

Top comments (0)