
Azure Trigger
CertifiedTrigger flows from Azure Logic App workflow runs
Azure Trigger
Trigger flows from Azure Logic App workflow runs
Polls a Logic App workflow and starts an execution for newly observed completed or failed runs.
type: io.kestra.plugin.azure.logicapps.TriggerExamples
On run complete
id: azure_logic_apps_on_complete
namespace: company.team
tasks:
- id: handle
type: io.kestra.plugin.core.log.Log
message: "Run {{ trigger.run.name }} completed with status {{ trigger.run.status }}"
triggers:
- id: on_run_complete
type: io.kestra.plugin.azure.logicapps.Trigger
tenantId: "{{ secret('AZURE_TENANT_ID') }}"
clientId: "{{ secret('AZURE_CLIENT_ID') }}"
clientSecret: "{{ secret('AZURE_CLIENT_SECRET') }}"
subscriptionId: "{{ secret('AZURE_SUBSCRIPTION_ID') }}"
resourceGroupName: my-resource-group
workflowName: my-logic-app
interval: PT5M
Properties
clientId *Requiredstring
Azure client ID
Client ID of the Azure app registration.
clientSecret *Requiredstring
Azure client secret
Client secret of the Azure app registration.
resourceGroupName *Requiredstring
Resource group name
Azure resource group containing the Logic App workflow.
subscriptionId *Requiredstring
Subscription ID
Azure subscription GUID that owns the Logic App workflow.
tenantId *Requiredstring
Azure tenant ID
Azure Entra tenant ID used for service principal authentication.
workflowName *Requiredstring
Workflow name
Name of the Azure Logic App workflow.
allowConcurrent Non-dynamicboolean
falseSpecifies whether a trigger is allowed to start a new execution even if a previous run is still in progress.
interval Non-dynamicstring
PT1MdurationInterval between polling.
The interval between 2 different polls of schedule, this can avoid to overload the remote system with too many calls. For most of the triggers that depend on external systems, a minimal interval must be at least PT30S. See ISO_8601 Durations for more information of available interval values.
maxRuns integerstring
25Maximum runs
Maximum number of recent runs to inspect per polling interval. Defaults to 25.
on string
CREATECREATEUPDATECREATE_OR_UPDATEState change mode
Stateful trigger change mode used for observed workflow runs.
pemCertificate string
PEM certificate
PEM certificate content for certificate-based authentication.
stateKey string
State key
Custom key used to store observed workflow runs.
stateTtl string
State TTL
How long observed workflow run state is retained.
statuses array
["Succeeded","Failed"]Statuses
Workflow run statuses that should trigger executions. Defaults to Succeeded and Failed.
stopAfter Non-dynamicarray
CREATEDSUBMITTEDRUNNINGPAUSEDRESTARTEDKILLINGSUCCESSWARNINGFAILEDKILLEDCANCELLEDQUEUEDRETRYINGRETRIEDSKIPPEDBREAKPOINTRESUBMITTEDList of execution states after which a trigger should be stopped (a.k.a. disabled).
when string
trueA condition that determines whether the trigger should run.
A Pebble expression evaluated at trigger time. The trigger fires only when the expression evaluates to a truthy value (true, a non-empty string, a non-zero number). Use this to gate trigger execution on dynamic runtime values such as execution labels, flow variables, or environment conditions.
Outputs
run
First workflow run
First newly observed workflow run matching the configured statuses.
io.kestra.plugin.azure.logicapps.RunRecord
Code
Result code reported by Azure Logic Apps.
Correlation ID
Correlation ID associated with the workflow run.
date-timeEnd time
Workflow run end time.
Error
Error payload returned by Azure Logic Apps, when available.
Run ID
Azure resource ID of the workflow run.
Run name
Name of the workflow run.
Outputs
Workflow run outputs keyed by output name.
date-timeStart time
Workflow run start time.
Status
Current status of the workflow run.
runs array
Workflow runs
Newly observed workflow runs matching the configured statuses.
io.kestra.plugin.azure.logicapps.RunRecord
Code
Result code reported by Azure Logic Apps.
Correlation ID
Correlation ID associated with the workflow run.
date-timeEnd time
Workflow run end time.
Error
Error payload returned by Azure Logic Apps, when available.
Run ID
Azure resource ID of the workflow run.
Run name
Name of the workflow run.
Outputs
Workflow run outputs keyed by output name.
date-timeStart time
Workflow run start time.
Status
Current status of the workflow run.
total integer
Total runs
Number of newly observed workflow runs.