Logic Apps Documentation

Logic Apps is Azure’s serverless integration service that lets you design, automate, and orchestrate business processes without writing code. This guide covers key concepts, how‑to steps, and best practices.

Contents

Overview

Logic Apps provides a visual designer for building integration workflows that connect SaaS services, on‑premises systems, and cloud resources. Workflows are composed of triggers, actions, and control statements.

Key features:

Getting Started

Follow these steps to create your first Logic App.

  1. Open the Azure portal and click Create a resource.
  2. Search for Logic App and select Logic App (Consumption).
  3. Fill in the required fields (Subscription, Resource Group, Name, Region) and click Create.
  4. Once deployed, open the Logic App Designer and choose a trigger (e.g., When an HTTP request is received).
  5. Add actions by searching the connector gallery.
  6. Save and run the workflow.

For a video walkthrough, see the Quickstart tutorial.

Triggers

Triggers start a Logic App run. They are either Polling (e.g., checking a mailbox) or Webhook (e.g., HTTP request).

Common Triggers

Example of a HTTP trigger definition:

{
  "type": "Request",
  "kind": "http",
  "inputs": {
    "schema": {
      "type": "object",
      "properties": {
        "name": { "type": "string" }
      }
    }
  }
}

Actions

Actions perform tasks after a trigger fires. They can be data transforms, conditionals, loops, or external service calls.

Control Actions

Built‑in Connectors

Use the search bar in the designer to discover connectors such as:

Pricing

Logic Apps offers a consumption‑based pricing model where you pay per action execution and per trigger use.

ComponentCost (USD)
Standard connector action$0.000025 per action
Enterprise connector action$0.001 per action
Trigger (standard)$0.000025 per trigger
Integration Service Environment (ISE)Dedicated pricing (see Azure calculator)

Use the Azure Pricing Calculator to estimate monthly costs.

Monitoring & Debugging

Logic Apps integrates with Azure Monitor, providing run history, metrics, and alerts.

Enable Application Insights for deeper telemetry:

az logicapp update \
  --resource-group MyResourceGroup \
  --name MyLogicApp \
  --set properties.integrationServiceEnvironmentId=/subscriptions/.../resourceGroups/.../providers/Microsoft.Logic/integrationServiceEnvironments/... \
  --set properties.diagnosticSettings=[{name:'MyInsights',properties:{workspaceId:'/subscriptions/.../resourceGroups/.../providers/Microsoft.OperationalInsights/workspaces/MyWorkspace'}}]

Sample Workflows

Below are ready‑to‑import JSON definitions for common scenarios.

1. Email-to-Teams Notification

2. Daily Data Sync to Azure SQL