/
/
See who held a Procore approval and for how long
For operations teams who want an item's workflow log, files and time per role in one report by asking their AI assistant.
On this page
Connector
Connect Procore, pick your AI tool and paste the prompt.
The problem
Who held the approval, and for how long, is buried in logs
Each step in a workflow is recorded in a log that you open screen by screen. Nobody adds up how long each role held the item, so slow hand-offs are never spotted.
Without PopdockAI
- Open the permanent log for the item
- Note who acted and when for every step
- Open attachments and the current workflow state
- Add up time per role by hand
With PopdockAI
- The permanent log is read in date order
- Attachments and the current instance are added
- Time spent in each role is totalled
- An id with no log stops the check, and no workflow action is taken
The prompt
Use this prompt
Copy it into any AI tool connected to PopdockAI. Swap the values in braces for your own.
**Objective:** Show the workflow history of the item with workflowed object id `{workflowed-object-id}`, optionally on project `{project-name}`.
**Step 1: Pull the permanent log**
Call `procore-get-workflow-permanent-logs` with `workflowed-object-id` set to `{workflowed-object-id}`. If it returns nothing and `{project-name}` is given, call `procore-get-project-workflow-permanent-logs` with `workflowed-object-id` and `project-name`.
**Step 2: Add the files and current state**
* `procore-get-nested-workflow-permanent-logs-attachments` with `workflowed-object-id`.
* `procore-get-workflow-instances` filtered by `project-name.contains` when given. Keep only the row whose `workflowed-object-id` matches.
**Step 3: Report**
The log in date order with activity, role, who performed it (`performed-by`) and `ball-in-court-duration`. Then the current state and status, any overdue date and the attachment file names. Finish with the total time spent in each role.
**Rules & Guidelines:**
* This prompt is read-only. Do not call any write tool: Every `procore-create-*`, `procore-update-*`, `procore-delete-*`, `procore-sync-*`, `procore-add-*`, `procore-bulk-*` and `procore-send-*` tool, plus `procore-respond-*`, `procore-terminate-*`, `procore-restart-*`, `procore-refresh-*`, `procore-reset-*`, `procore-link-*` and `procore-retrieve-*`, are off limits.
* Report only values the tools returned. Do not estimate or fill gaps.
* If `{company}` is not blank, pass it as `company` on every call.
* Do not call workflow action tools. Only read.
**Validation:**
* If no log rows come back, say the id was not found and stop.
* If no instance matches, say the item has no active workflow instance.Who it's for
One answer, three teams that use it
Process owners
Find the slow step
See how long each role held an item, so you know where an approval workflow loses time.
Which role held workflowed object 71200 the longest on Contoso Warehouse?
Compliance managers
Show the approval trail
Pull the dated log, who performed each step and the attached files for a review or an audit.
Show the full workflow log for workflowed object 40233, including attachments.
Project administrators
Check where an item is now
See the current state, any overdue date and who holds the item, before you chase for an approval.
What is the current workflow state of object 66019 on Fabrikam Depot, and is it overdue?
How it works
What PopdockAI does when you ask
You give the workflowed object id in plain words. Your AI assistant reads the log and state and totals the time. It only reads and reports what Procore returns.
Ask
You give the workflowed object id and optionally the project.
Pull
It reads the permanent workflow log, using the project's log if the first read is empty.
Add
It reads the log's attachments and the item's current workflow instance.
Report
You get the log in date order, the current state and the total time spent in each role.
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-workflow-permanent-logs
procore-get-project-workflow-permanent-logs
procore-get-nested-workflow-permanent-logs-attachments
procore-get-workflow-instances
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
Approval delays traced to the role that caused them
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)
