/
/
Spot Procore material shortages before install day
For foremen and buyers who want requirements, stock and open orders compared line by line, by asking their AI assistant.
On this page
Connector
Connect Procore, pick your AI tool and paste the prompt.
The problem
Missing material is found on install day
Requirements, stock and open orders are in different views, so a shortage only shows when someone adds them up. By then the crew is on site and the order is too late.
Without PopdockAI
- Open the requirements and note the dates
- Compare required with available line by line
- Check stock and what is in transit
- Find an item with nothing ordered on install day
With PopdockAI
- Requirements below the availability level are pulled
- Required, available and ordered are compared per line
- Items with a gap and nothing ordered are flagged
- Gaps use only the quantities returned
The prompt
Use this prompt
Copy it into any AI tool connected to PopdockAI. Swap the values in braces for your own.
**Objective:** Find the material requirements in {project-name} whose item availability is below {max-availability-percent} percent (default 100) and show what is short and what is on the way.
**Step 1: Read the requirements**
Call `procore-get-materials-mgmt-material-requirements` with the project filter and `item-availability-percentage.max` set to {max-availability-percent} (100 if blank). 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.
**Step 2: Read the short lines**
Call `procore-get-materials-mgmt-material-requirements-line-items` with the same project filter. Compare `quantity-required`, `quantity-available` and `quantity-ordered` per line and sort by the size of the gap.
**Step 3: Check stock and inbound**
Call `procore-get-materials-mgmt-materials` with `name.contains` for each short item to see on-hand, in-transit and left-to-receive quantities.
**Step 4: Report**
Output a table: requirement, item, date required, required, available, ordered, gap after what is on order. Rank by earliest date required, then gap. Flag items with a gap and nothing ordered as unplanned shortages. End with the three items to order or expedite first.
**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.
* The gap after orders is required minus available minus ordered; do not count a quantity you were not given.
**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
Foremen
Know what you will run out of
See which materials are short for the dates you need them and what is already on the way.
What materials are short for next week's work on Contoso Warehouse, and what is on order?
Buyers
Order or expedite the right items
Get the three items to order or expedite first, with unplanned shortages flagged.
Rank material shortages on Fabrikam Depot and tell me which three to expedite first.
Project engineers
Check availability against requirements
See requirements below a chosen availability level so planning matches real stock.
Show requirements on Northwind Plaza with availability below 80 percent and the gap after orders.
How it works
What PopdockAI does when you ask
You name the project and your AI assistant sizes the gaps from the quantities Procore returns. It never places or changes an order.
Ask
You name the project and optionally an availability percentage.
Read
It reads the requirements below that availability and compares required, available and ordered quantities.
Check
It looks at on-hand, in-transit and left-to-receive stock for each short item.
Report
It ranks gaps by date required and flags items with nothing ordered.
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-material-requirements
procore-get-materials-mgmt-material-requirements-line-items
procore-get-materials-mgmt-materials
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
Shortages caught while there is still time to order
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)
