/
/
Find unresolved Procore defects and the vendors behind them
For buyers and materials managers who want open material defects counted by vendor and stalled ones flagged, by asking their AI assistant.
On this page
Connector
Connect Procore, pick your AI tool and paste the prompt.
The problem
Damaged deliveries are logged but never chased
Defects are recorded, then nobody follows up, so vendor credits are missed and bad stock keeps coming. Seeing the pattern means reading each defect, its lines and its history.
Without PopdockAI
- Open each defect and read its lines
- Check the purchase order and receipt it came from
- Look at history to see if anyone acted
- Count defects per vendor by hand
With PopdockAI
- Open defects are read with lines and resolution decision
- Purchase order and receipt are shown for each
- Defects with no change in 14 days are flagged as stalled
- Counts per vendor show who causes the most
The prompt
Use this prompt
Copy it into any AI tool connected to PopdockAI. Swap the values in braces for your own.
**Objective:** Review the open material defects in {project-name}, optionally with status {status}, and show which are unresolved and which vendors cause most of them.
**Step 1: Read the defects**
Call `procore-get-materials-mgmt-defects` with the project filter. Use the `project-name` filter (or `project-name.contains` if the user gave a partial name) on the main read to scope it to {project-name}. If the first records show more than one distinct project name, list the project names and ask which one is meant before going further. If the user named a Procore company, pass it in the `company` parameter on every call. Add `status` for {status} when given, otherwise skip defects whose status shows resolved or closed.
**Step 2: Read the lines**
Call `procore-get-materials-mgmt-defects-line-items` with the same project filter for `condition`, `quantity`, `resolution-decision` and the purchase order and receipt each came from.
**Step 3: Check the history**
Call `procore-get-materials-mgmt-defects-change-history` with the project filter for defects with no change in the last 14 days.
**Step 4: Report**
Output a table: defect, vendor, purchase order, receipt, line count, quantity, status, resolution decision, last change. Group by vendor and count open defects per vendor. List unresolved defects with no recent activity as stalled.
**Rules & Guidelines:**
* This prompt is read-only. Never call any create, update, delete, bulk, sync, restore, associate or comment tool (for example `procore-update-equipment-register`, `procore-delete-equipment-register`, `procore-create-shipment` or `procore-update-transfer`).
* Report only what the tools return. Do not guess missing dates, quantities or names; mark them as missing.
* `max-records` caps each call, so say when a call returned its cap and the picture may be partial.
**Validation:**
* If the project name matches no records, say so and stop. Do not read records from a guessed project.
* If the main read returns nothing, say there are none and stop. Do not fill the gap with assumptions.
Who it's for
One answer, three teams that use it
Buyers
Chase vendor credits
See open defects per vendor with the purchase order and receipt, so credit requests are specific.
Which vendors have the most open defects on Contoso Warehouse, and which are stalled?
Materials managers
Spot stalled defects
Find unresolved defects with no recent activity before they age out of the vendor's credit window.
List defects on Fabrikam Depot with no change in the last 14 days.
Project managers
See vendor quality at a glance
Get open defect counts by vendor for a project review or a conversation with the supplier.
Summarize open material defects on Northwind Plaza by vendor with their resolution decisions.
How it works
What PopdockAI does when you ask
You name the project and your AI assistant reads the defects, lines and history. It never changes a defect or a resolution.
Ask
You name the project and optionally a defect status.
Read
It reads the open defects and their lines, with purchase order, receipt and resolution decision.
Check
It reads the change history for defects with no activity in the last 14 days.
Report
It groups defects by vendor with counts and lists stalled ones.
What PopdockAI provides
The tools behind the answer
Ready made tools for Procore and one secure connection to your AI tool. No code, no exports.
procore-get-materials-mgmt-defects
procore-get-materials-mgmt-defects-line-items
procore-get-materials-mgmt-defects-change-history
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
Defects chased and credits claimed, not forgotten
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)
