New260+ blocks and 240+ tools are now fully documented
DocumentationReferenceTool IntegrationsDeveloper Tools
Tool

Azure DevOps

Manage pipelines, work items, and repositories in Azure DevOps

Full Azure DevOps integration — list and trigger pipelines, inspect pipeline runs, query work items with WIQL, and create or update work items. Use it to build automated DevOps workflows, triage backlogs, and connect CI/CD pipelines to the rest of your toolchain.

Overview

PropertyValue
Typeazure_devops
CategoryTool — Developer
AuthPersonal Access Token (HTTP Basic, PAT encoded as Base64)

Operations

OperationTool IDDescription
List Pipelinesazure_devops_list_pipelinesList all pipelines in an Azure DevOps project
Run Pipelineazure_devops_run_pipelineTrigger a new pipeline run, optionally targeting a specific branch
Get Pipeline Runazure_devops_get_pipeline_runFetch details and current state for a specific pipeline run
Query Work Itemsazure_devops_query_work_itemsExecute a WIQL query and return full field details for matching work items
Create Work Itemazure_devops_create_work_itemCreate a new work item (Task, Bug, Epic, etc.) in a project
Update Work Itemazure_devops_update_work_itemUpdate one or more fields on an existing work item
Get Work Itemazure_devops_get_work_itemFetch full details of a single work item by ID

Configuration

SettingTypeRequiredDescription
accessTokenstring (secret)YesAzure DevOps Personal Access Token (PAT). Treated as a password — store as a secret and reference with {{AZURE_DEVOPS_TOKEN}}.
organizationstringYesAzure DevOps organization name (the slug that appears in dev.azure.com/<organization>).
projectstringYesAzure DevOps project name within the organization.
pipelineIdstringYes — for Run Pipeline and Get Pipeline RunNumeric ID of the pipeline to run or inspect. Use List Pipelines to discover IDs.
runIdstringYes — for Get Pipeline RunNumeric ID of the specific pipeline run to retrieve.
branchstringNo — for Run PipelineBranch ref to run the pipeline against (e.g., refs/heads/main). Omit to use the pipeline's default branch.
wiqlstringYes — for Query Work ItemsWIQL query string, e.g., SELECT [System.Id] FROM WorkItems WHERE [System.State] = 'Active'.
workItemIdstringYes — for Get Work Item and Update Work ItemNumeric ID of the work item to fetch or update.
workItemTypestringYes — for Create Work ItemWork item type to create, e.g., Task, Bug, Epic, Issue, User Story.
titlestringYes — for Create Work Item; No — for Update Work ItemTitle of the work item.
descriptionstringNoHTML description of the work item.
assignedTostringNoEmail address or display name of the user to assign the work item to.
statestringNo — for Update Work ItemNew state for the work item, e.g., To Do, Doing, Done.
areaPathstringNoArea path for categorizing the work item within the project hierarchy.
tagsstringNoSemicolon-separated tags to apply to the work item, e.g., backend;urgent.

Outputs

Work Item operations (Create, Update, Get, Query)

FieldTypeDescription
contentstringHuman-readable summary of the work item(s), including ID, title, type, state, assignee, and area path.
metadatajsonFull work item data. For single-item operations contains { workItem } with fields: id, title, state, workItemType, assignedTo, areaPath, url. For Query Work Items, contains { count, totalMatched, workItems[] }.

Pipeline operations (List Pipelines)

FieldTypeDescription
contentstringHuman-readable list of pipelines with names, IDs, folders, and URLs.
metadatajsonObject containing { count, pipelines[] } where each pipeline has id, name, folder, revision, url.

Pipeline operations (Run Pipeline, Get Pipeline Run)

FieldTypeDescription
contentstringHuman-readable summary of the run: name, pipeline, state, result, creation date, and web URL.
metadatajsonObject containing { run } with fields: id, name, state, result, createdDate, finishedDate (Get Pipeline Run only), url, webUrl, pipeline (id, name, folder, revision, url).

Example

[Starter] → [Azure DevOps: Query Work Items] → [Agent: Triage and prioritize] → [Azure DevOps: Update Work Item]

A triage workflow begins with the Starter block passing context. The Query Work Items block runs a WIQL query like SELECT [System.Id] FROM WorkItems WHERE [System.State] = 'Active' AND [System.AssignedTo] = '' using {{AZURE_DEVOPS_TOKEN}} for auth and {{starter.input.project}} as the project name. An Agent block analyzes the unassigned items and recommends owners. The Update Work Item block then applies the assignment using {{agent.content.assignedTo}} and sets the state to Doing.

Tips

  • Discover pipeline IDs before triggering runs. Use List Pipelines first — the metadata.pipelines array returns each pipeline's numeric id, which is required by Run Pipeline and Get Pipeline Run.
  • WIQL queries fetch IDs then batch-load details. The Query Work Items tool first runs your WIQL to get matching IDs, then fetches full field data in batches of up to 200. Narrow your WIQL filter to avoid large result sets.
  • PAT scope matters. Generate your PAT at dev.azure.com/<organization>/_usersSettings/tokens and grant at minimum: Work Items (Read & Write) for work item operations and Build (Read & Execute) for pipeline operations. Store the token as a workflow secret and reference it as {{AZURE_DEVOPS_TOKEN}}.
  • Update Work Item requires at least one field. The tool throws an error if you call it without providing any of title, description, assignedTo, state, areaPath, or tags. Have your upstream Agent or condition block confirm at least one value is populated before passing to the update step.