Search icon CANCEL
Subscription
0
Cart icon
Cart
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Enterprise Integration with Azure Logic Apps

You're reading from  Enterprise Integration with Azure Logic Apps

Product type Book
Published in Dec 2021
Publisher Packt
ISBN-13 9781801074728
Pages 294 pages
Edition 1st Edition
Languages
Author (1):
Matthew Bennett Matthew Bennett
Profile icon Matthew Bennett
Toc

Table of Contents (17) Chapters close

Preface 1. Section 1: Logic App Fundamentals
2. Chapter 1: Getting Started with Azure Logic Apps 3. Chapter 2: Environments and Resource Groups 4. Chapter 3: Referencing Data within Actions 5. Chapter 4: Reading Complex Data 6. Chapter 5: Manipulating Data 7. Section 2: Logic App Design
8. Chapter 6: Working with the Common Data Service 9. Chapter 7: Working with Azure Functions 10. Chapter 8: Scoping with Try/Catch Error Handling 11. Chapter 9: Sharing Data with Other Logic Apps and APIs 12. Chapter 10: Monitoring Logic Apps for Management Reporting 13. Section 3: Logic App Maintenance and Management
14. Chapter 11: Fine-Tuning Logic App Runs with Run After 15. Chapter 12: Solving Connection Issues and Bad Gateways by Rerunning Logic Apps 16. Other Books You May Enjoy

Sending data to an Azure Function from a logic app

Connecting an Azure function to the outside world is very easy. In this section, we will handle data input to the Azure function via an HTTP request trigger. The reason for this is that you might want to amend the data or perform calculations before sending the data into the function for processing.

Follow these steps to learn how to send data to an Azure function:

  1. First, create a logic app, as detailed in the previous chapters. I have called mine InputParamsLA.
  2. Set your trigger to be an HTTP request, either by using the template or creating a blank logic app first and then selecting the Request trigger, as detailed in previous exercises.
  3. Copy the JSON message we are going to use as input to your clipboard:
    { "name": "Matthew" }
  4. Open your trigger, select the Use sample payload to generate schema link, and paste the JSON message into the generator. A schema will be created for you:
    {
     &...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime