/
/
Find failed pipelines ServiceNow does not know about
For operations teams who want failed Azure DevOps pipeline runs checked against ServiceNow incidents, by asking their AI assistant.
On this page
Connector
Connect Azure DevOps, pick your AI tool and paste the prompt.
The problem
Failed pipelines raise duplicate incidents or none at all
Failed pipeline runs go unreported when nobody checks whether ServiceNow already has an incident for them. Operations either raise duplicates or miss failures altogether, because the two systems are checked separately.
Without PopdockAI
- List failed runs in Azure DevOps
- Search ServiceNow for a matching incident or alert
- Decide by hand which failures are known
- Raise a duplicate or miss a failure
With PopdockAI
- Failed pipeline runs in the window are listed
- ServiceNow is searched for an incident or alert for each
- Each failure is marked known or with no incident
- It suggests where an incident is needed but never raises one
The prompt
Use this prompt
Copy it into any AI tool connected to PopdockAI. Swap the values in braces for your own.
**Objective:** Find failed pipeline runs in Azure DevOps project `{project}` from the last `{lookback-days}` days (default 7) and show which ones already have a ServiceNow incident or alert and which do not.
**Step 1: Failed runs (azure-devops server)**
Call `azure-devops-get-pipeline-run` with `project` = {project} and `result` = failed. If `{pipeline-name}` is given, pass it as `pipeline-name`. Keep runs whose `created-date` is within the lookback. Group by `pipeline-name`.
**Step 2: Incidents and alerts (servicenow server)**
For each pipeline name call `servicenow-get-incident` with `short-description.contains` = the pipeline name and `opened.from` = lookback start. Then call `servicenow-get-alert` with `created.from` = lookback start and look for the pipeline name in `description` or `node`.
**Step 3: Report**
A table per pipeline: failed run count, latest failure time and `url`, matching incident or alert `number` and `state`, or "no ServiceNow record". End with a list of pipelines that fail repeatedly with no record.
**Rules & Guidelines:**
* `azure-devops-get-pipeline-run` is on the azure-devops server. `servicenow-get-incident` and `servicenow-get-alert` are on the servicenow server.
* Read-only. Do NOT call `servicenow-add-incident`, `servicenow-add-alert` or any update tool. Suggest raising an incident but do not do it.
**Validation:**
* If there are no failed runs, report that and stop.
* If the `result` value is rejected, call the tool without it and filter on the returned `result` field.Who it's for
One answer, three teams that use it
Operations engineers
Avoid duplicate incidents
See which failed runs already have an incident before you raise a new one.
Which failed pipeline runs in Fabrikam Platform from the last 24 hours have no ServiceNow incident?
Site reliability engineers
Make sure no failure goes unreported
Failures with nothing recorded are listed with a suggestion, so they can be raised properly.
Match failed Azure DevOps runs from this week with ServiceNow incidents and alerts.
Incident managers
Link pipeline failures to open incidents
Known failures are tied to their incident, so updates go to the right record.
Which ServiceNow incidents relate to failed runs in the Northwind Commerce project over the last 7 days?
How it works
What PopdockAI does when you ask
You give a project and a window, and your AI assistant checks each failed run against ServiceNow. Both systems are only read.
01
Ask
You give the project and how far back to look.
02
Read
It lists the failed pipeline runs in Azure DevOps.
03
Match
It searches ServiceNow for an incident or alert for each failure.
04
Report
You get each failure marked as known or with no incident, plus suggestions.
What PopdockAI provides
The tools behind the answer
Ready made tools for Azure DevOps and one secure connection to your AI tool. No code, no exports.
azure-devops-get-pipeline-run
servicenow-get-incident
servicenow-get-alert
This report is built from Get data tools only. PopdockAI applies the row, field and parameter rules your admin sets, and every query is written to the audit trail.
The outcome
Know which failures ServiceNow already has
Related use cases
More ways to put this data to work
One prompt template with infinite possibilities.
Your AI assistant adapts its approach, tone, and capabilities to match each unique context while you maintain a single, manageable workflow.
Join forward-thinking companies that are transforming their operations with intelligent, secure AI automation.

.webp)
