PromptReports
Use cases/Fix first what blocks a deal or a promise

Fix first what blocks a deal or a promise

Partly builtNo plan row yetRepoOpsCommitOpsSales as CodePromptReports

The workflow manifest is merged (promptcompute.ai #816, with its outcome reworded in #822); the production run is still to do. It ranks by money only once the CommitOps feed is connected to RepoOps and Sales as Code and CommitOps send amounts. Until then RepoOps ranks by state and occurrences, and the brief says value not shared. A person starts the fix and the customer note from the RepoOps case page; the run does neither.

Use case

Fix first what blocks a deal or a promise: a workflow across RepoOps, CommitOps, Sales as Code, PromptReports that starts from a person or an API call.

Who would use it

Engineering leads deciding what to fix first when the queue holds more problems than the team can take on today.

What value it provides

One run lists today's problems with the deals and promises each one blocks, one row per problem with the reason it sits where it does, linked to its RepoOps case page.

Why it matters to the user

Engineering time goes first to the problem a customer or a deal is waiting on.

The problem

The problem list is sorted by severity and count, so a bug that holds up a signed deal waits behind noise. Sales knows which deal is stuck; engineering does not.

Expected outcomes

  • Problems listed with a deal or promise reason
  • Open customer escalations counted in the brief

Each run records its outcome as met, not met or not measured.

How it runs

1. List today's problems for review, ranked first by the deals and promises they block when RepoOps knows them (get_for_review)RepoOpsBuilt
2. Read each problem with its standing decision and case page link (get_problem)RepoOpsBuilt
3. List the open customer escalations (list_customer_escalations)CommitOpsBuilt
4. Record a ranked brief, one row per problem with its reasonPromptReportsBuilt

Products and connections

ProductRole in this workflowDocs
RepoOpsList today's problems for review, ranked first by the deals and promises they block when RepoOps knows them (get_for_review); Read each problem with its standing decision and case page link (get_problem)Reference · RepoOps docs
CommitOpsList the open customer escalations (list_customer_escalations)Reference · CommitOps docs
Sales as CodeReference · Sales as Code docs
PromptReportsRecord a ranked brief, one row per problem with its reasonReference · PromptReports docs

Outside the family: None beyond the family.

What a person approves

Nothing. This workflow only reads.

How to access it from an agent

An agent runs a workflow through the PromptReports MCP server or API, and the runner calls each product for it. Both answer today, and the runner runs the code loop. This workflow will run there once its manifest ships. Switching on

// MCP: https://mcp.promptreports.ai/mcp
start_run({
  workflow: "fix-what-blocks-revenue",
  inputs: { "how_many_problems": "5 (at most 20)" },
  dry_run: false
})
// returns { run_id, status: "running", approvals_url }
get_run({ run_id })   // poll, or subscribe to run events
curl -X POST https://api.promptreports.ai/v1/runs \
  -H "Authorization: Bearer $PROMPTREPORTS_AGENT_TOKEN" \
  -d '{"workflow":"fix-what-blocks-revenue"}'

Or call the products yourself, step by step:

ProductEndpointTools
RepoOpshttps://mcp.repoops.ai/mcpsearch_brain get_pre_edit_context propose_brain_entry get_incident_attribution
CommitOpshttps://commitops.ai/api/mcpwhoami list_assertions get_assertion promised_not_started
Sales as CodeBuiltto confirm
PromptReportsSwitching onthrough the runner

Set it up

The app at app.promptreports.ai is live. These steps will work once this workflow is on the runner. Switching on

  1. Sign in at app.promptreports.ai with PromptReports ID, and pick your org.
  2. Connect RepoOps, CommitOps, Sales as Code on the Connections page.
  3. Register the agent that will run it on the Agents page, and give it a version manifest.
  4. Nothing to approve: this workflow only reads.
  5. Fill in the inputs (How many problems) and choose the trigger: a person or an API call.
  6. Start a dry run. It will count no workflow request, and it shows which steps would record missing evidence.
  7. Start the run. Approve each gate in the approvals inbox, then read the signed record when it ends.