Skip to content
OpenNodeFlow.DocsOpen beta ↗
Agent guide ↗
Docs/Library & integrations

Azure DevOps event triggers

Discover 35 native service-hook event contracts, wire typed outputs and keep receiver delivery separate from business execution.

23 Oct 2026 · 6 min read
Markdown ↗

The DevOps library includes 35 native Azure DevOps service-hook trigger contracts. They cover repository and pull-request events, work items, builds, pipeline state/checks, agents, service connections and releases. Availability of a trigger in the library does not create its Azure subscription, deploy a public receiver or enable a workflow.

Delivery architecture#

The documented integration uses a separate HTTPS service-hook receiver. It accepts and validates incoming events, retains durable delivery state, discovers matching enabled ONF trigger instances and submits targeted branch runs. ONF's administrative/MCP endpoint remains a trusted-host interface; publishing a service hook does not require exposing that endpoint directly to the internet.

A simplified path is:

text
Azure service hook
  → authenticated HTTPS receiver
  → validated durable event intake
  → matching enabled ONF trigger instances
  → targeted graph branch runs

The receiver and its ingress are separate components with their own credentials, retention and recovery. The ONF library alone is not a complete hosted webhook service. Configure a receiver deployment for the intended organization/project and verify its project guards explicitly before using another project's events. The documented installed integration is project scoped; changing a URL is not sufficient to generalize its authorization.

All 35 event contracts#

These are the event identifiers supported by the documented expansion. Provider publisher availability, project capabilities and permissions still determine which hooks can be subscribed.

EventAzure event ID
Pull request createdgit.pullrequest.created
Pull request updatedgit.pullrequest.updated
Pull request commentms.vss-code.git-pullrequest-comment-event
Pull request merge attemptedgit.pullrequest.merged
Work item createdworkitem.created
Work item updatedworkitem.updated
Work item commentedworkitem.commented
Work item deletedworkitem.deleted
Work item restoredworkitem.restored
Code pushedgit.push
Build completedbuild.complete
Project-level agent pool createdagentqueue.created
Project-level agent pool updatedagentqueue.updated
Elastic agent pool resizedelasticagentpool.resized
Run stage approval completedms.vss-pipelinechecks-events.approval-completed
Run stage waiting for approvalms.vss-pipelinechecks-events.approval-pending
Check updatedms.vss-pipelinechecks-events.check-updated-event
Run job state changedms.vss-pipelines.job-state-changed-event
Run state changedms.vss-pipelines.run-state-changed-event
Run stage state changedms.vss-pipelines.stage-state-changed-event
Code checked in (TFVC)tfvc.checkin
Repository createdgit.repo.created
Repository deletedgit.repo.deleted
Repository forkedgit.repo.forked
Repository renamedgit.repo.renamed
Repository status changedgit.repo.statuschanged
Service connection createdms.vss-endpoint.endpoint-created
Service connection updatedms.vss-endpoint.endpoint-updated
Release deployment approval completedms.vss-release.deployment-approval-completed-event
Release deployment approval pendingms.vss-release.deployment-approval-pending-event
Release deployment completedms.vss-release.deployment-completed-event
Manual intervention pendingms.vss-release.deployment-mi-pending-event
Release deployment startedms.vss-release.deployment-started-event
Release abandonedms.vss-release.release-abandoned-event
Release createdms.vss-release.release-created-event

The merge event's name requires care: git.pullrequest.merged reports a merge attempt, not an unconditional guarantee that the PR reached a completed state. Inspect the event's actual lifecycle fields before triggering a deployment or recording completion.

TFVC check-in support is a catalog capability. A Git-only project need not expose or enable a TFVC subscription. Advanced Security and third-party publisher events are not implied by this native list. Query the target Azure publisher inventory instead of inventing a subscription for an unexposed event.

Add a typed event branch#

  1. Select the workflow's workspace and add the DevOps pack if needed.
  2. Search for the specific event trigger and inspect its exact version and output socket IDs.
  3. Add that trigger instance to the workflow. Keep the entry and workflow automation disabled during authoring.
  4. Connect only the typed outputs required by this branch. Use a safe synthetic/manual fixture to inspect the payload contract without manufacturing a real business event.
  5. Validate the graph and review the provider account/project scope and receiver configuration.
  6. Deliberately enable the node entry and workflow automation master only when its downstream effects are ready.

Both enable flags matter. Multiple instances of the same event trigger, including two on one canvas, can receive independent targeted branch runs. Adding another compatible enabled instance does not require hardcoding a new canvas into the receiver's definition-based routing map.

Newer contracts expose Azure Event Info, useful reusable typed blocks, direct event-specific primitive/record/list outputs and config_remainder for resource properties not expanded into direct outputs. The shared Event Info v2 contract includes all 35 event kinds. The expansion does not create another graph of event-specific codec types for each new event.

Do not copy a historical raw-event wiring recipe onto a newer trigger blindly. Earlier versions can expose raw event/config sockets while newer definitions expose direct typed fields. Saved graph instances retain their pins until an explicit upgrade; reading Latest help never upgrades execution. Some earlier versions also reject the newer broadcast identity, so discover a compatible contract rather than guessing a minimum version for every family.

Decode only what the workflow needs#

Azure Event Info codecs expose envelope identity, kind and timing. Reusable Pull Request, Work Item Context and Comment codecs expose their actual shared fields. New direct outputs often remove the need for an additional decoder chain. Use the selected node's socket preview to decide.

Optional absence and null remain distinct. A missing optional output can cause a connected dependent consumer to skip. Preserve a matching remainder/layout block when a lossless round trip requires it; reconstructing an event from only the few visible scalar fields can discard provider extension data.

Keep event IDs and provider object IDs as their declared types. Do not substitute a PR number for a global identity or infer the destination project from an unchecked display label.

Validation and project guards#

Triggers validate event kind, event UUID, resource shape, broadcast definition identity and the configured project boundary. A present project container is authoritative: malformed or conflicting containers fail closed. Event-specific reviewed fallbacks apply only when that container is absent; repository-fork origin uses the container-only rule.

A service hook should explicitly target the intended project even where a publisher API permits organization-wide scope. Receiving a syntactically valid JSON body is not proof that it belongs to the authorized project. A fixture decoder and an authenticated receiver perform different jobs.

Delivery, duplicates and recovery#

The receiver freezes the enabled recipient set on the first successful complete discovery for a new event. New instances do not join a previously captured event. A valid empty recipient snapshot completes without later backfill; enabling a workflow tomorrow does not automatically replay yesterday's event.

Durable recipient receipts record ONF acceptance. An uncertain acceptance can be reconciled by exact identity, while a later workflow failure does not automatically replay its external actions. Use the provider event/business identity and durable storage for application-level deduplication. Delivery bookkeeping alone is not an exactly-once guarantee for messages, ticket changes or deployment actions.

Retain captured routing/receipts during receiver upgrades. Do not redirect retained old events to newly added targets or automatically resend a historical event to test a change. Where the receiver also supports another platform, route each event only to handlers that actually implement it; adding ONF event kinds does not expand another destination's capabilities.

Agent procedure#

Discover the target workspace, installed pack, trigger definition and exact outputs. Read the workflow revision, propose a small branch patch, validate and inspect the saved readback. Treat enabling automation, changing Azure subscriptions, editing receiver routes and replaying an event as distinct actions with external consequences. Never include callback keys, signing credentials or customer payloads in a public example.

The agent authoring guide covers revisions and targeted edits. Runtime triggers covers per-entry controls, while DevOps operations covers the separate REST-management additions.

Source records include isolated worker/receiver tests and transport-only acceptance checks. Those checks establish their recorded scope; they do not demonstrate every user's Azure hook, provider grant or downstream business result.

Source provenance

Reviewed against maintained source and topic documentation on 23 October 2026. This is a source snapshot; installed versions and provider access may differ.

  • docs/DEVOPS-TRIGGER-EXPANSION-2026-10-22.md
  • docs/DEVOPS-TRIGGERS.md
  • docs/DEVOPS-INGRESS.md
  • docs/LIBRARY-PACKS.md
Type to search the documentation.
↑ ↓ to navigate · Enter to openAgent map ↗