langchain_azure_ai.tools.
Azure Logic Apps is a cloud service that helps you automate workflows and business processes. You can use the AzureLogicAppTool to invoke pre-configured Logic App workflows from your LangChain agents, enabling automation, notifications, data synchronization, and orchestration of multi-step processes.
Overview
TheAzureLogicAppTool allows agents to trigger Azure Logic Apps workflows by sending JSON payloads to named triggers. This is useful for automating tasks like sending emails, processing data, calling APIs, or integrating with other Azure and third-party services.
Common use cases:
- Email notifications - Send alerts and notifications via Logic App
- Data synchronization - Sync data between systems
- Order processing - Trigger order fulfillment workflows
- API integrations - Call external APIs through Logic Apps
- Approval workflows - Start approval processes
- Data transformation - Process and transform data
- Multi-step automation - Orchestrate complex business processes
Setup
Install the integration package and configure your Azure credentials.Installation
Install the package with thetools extra:
azure-mgmt-logic dependency.
Prerequisites
Before using this tool, you need:- An Azure subscription
- An Azure Logic App with at least one HTTP request trigger
- The subscription ID, resource group name, Logic App name, and trigger name
Credentials
The tool usesDefaultAzureCredential() by default, which supports various authentication methods including environment variables, managed identity, and interactive login.
Initialize credential
Basic usage
Instantiate the tool
Initialize tool
Invoke the tool
Use with an agent
Pass the tool tocreate_agent.
Agent with Logic Apps
Configuration
Parameters
Configuration options
Configuration options
Your Azure subscription ID where the Logic Apps are hosted.
The Azure Resource Group name where the Logic App is deployed.
The name of the Logic App workflow to invoke.
The name of the trigger in the Logic App to invoke. Typically this is
manual_trigger or http_request for HTTP request-based triggers.Optional Azure credential for authentication. If
None, DefaultAzureCredential() is used. Can be any Azure SDK credential such as ManagedIdentityCredential, ClientSecretCredential, etc.The name of the tool. Customize this for different Logic Apps or use cases.
A description of the tool’s purpose. Customize this to help the agent understand when to use this specific Logic App.
Input format
The tool accepts input as either:- Plain text - Automatically converted to JSON with an
inputkey - JSON string - Parsed and sent as-is to the Logic App trigger
Examples
Response format
The tool returns a JSON response indicating success or failure:API reference
Connect these docs to Claude, VSCode, and more via MCP for real-time answers.

