Skip to main content

Approval Workflows

Ensure quality and compliance with configurable approval workflows. Control who can promote changes to production and maintain a complete audit trail.

Overview#

Approval workflows in PromptReports act as quality gates between development stages. Before a prompt version can be promoted from staging to production, it must receive the required approvals from designated reviewers. This ensures that changes are properly reviewed, tested, and documented before affecting live systems.

Quality Gates

Prevent untested or unreviewed changes from reaching production.

Multiple Approvers

Require approvals from different roles—tech leads, product owners, or compliance.

Complete Audit Trail

Track who approved what and when for compliance and accountability.

Smart Notifications

Approvers are notified when reviews are needed with all relevant context.

Why Use Approvals?#

Approval workflows provide several critical benefits for teams managing AI prompts:

BenefitDescription
Risk ReductionCatch errors, regressions, or problematic changes before they impact users
Knowledge SharingReviewers gain visibility into changes across the team
ComplianceMeet regulatory requirements for change management and audit trails
Quality StandardsEnforce consistent quality bars through peer review
DocumentationApproval comments and decisions create valuable context for future reference

Configuring Approval Rules#

Approval rules are configured at the folder level, allowing different policies for different types of prompts:

1

Navigate to folder settings

Open the folder containing the prompts you want to configure, then click Settings.
2

Open the Approvals tab

Find the Approvals section in folder settings.
3

Enable approval requirements

Toggle on "Require approvals for promotion" for the desired stages.
4

Configure approval rules

  • Required approvals: How many approvals are needed (1-5)
  • Approvers: Who can approve (specific users, teams, or roles)
  • Self-approval: Whether requesters can approve their own changes
  • Bypass rules: Emergency bypass conditions (if allowed)
5

Save configuration

Click Save. New rules apply to future promotion requests.
Example Approval Configuration
json
{
  "folderId": "fld_production",
  "approvalRules": {
    "stagingToProduction": {
      "enabled": true,
      "requiredApprovals": 2,
      "approvers": {
        "type": "any_of",
        "users": ["user_tech_lead", "user_product_owner"],
        "teams": ["team_senior_engineers"],
        "roles": ["FOLDER_ADMIN"]
      },
      "allowSelfApproval": false,
      "requireAllTests": true,
      "blockOnRegressions": true
    }
  }
}

Requesting Approval#

When you're ready to promote a version that requires approval:

1

Navigate to the version

Open the prompt and select the version you want to promote.
2

Click "Request Promotion"

This opens the promotion request dialog.
3

Add context for reviewers

  • Summary: Brief description of changes
  • Reason: Why this change is needed
  • Testing: What testing was performed
  • Risks: Any known risks or concerns
4

Select specific reviewers (optional)

You can request review from specific approvers or leave it open to any eligible approver.
5

Submit request

Click Submit. Approvers will be notified and the version enters "Pending Approval" state.

Reviewing Changes#

When you're asked to review a promotion request, you have access to comprehensive information to make an informed decision:

Version Diff

See exactly what changed between the current production version and the proposed one.

Evaluation Results

View test results, quality scores, and comparisons to baseline.

Change History

See the full history of changes and who made them.

Previous Feedback

Review comments and discussions from earlier review rounds.

1

Open the approval request

Click the notification or navigate to the pending request from the Approvals dashboard.
2

Review the changes

Examine the diff, evaluation results, and request context thoroughly.
3

Add comments if needed

Ask questions or request changes using inline or general comments.
4

Make your decision

Approve, reject, or request changes (see next section).

Approval Decisions#

Reviewers can make one of three decisions:

DecisionIconEffectWhen to Use
ApproveCounts toward required approvalsChanges meet quality standards and are ready for promotion
Request ChangesBlocks promotion until addressedChanges need modifications before they can be approved
RejectCloses the requestChanges should not be promoted (fundamental issues, wrong approach)

After receiving enough approvals, the promotion can proceed. If changes are requested or the request is rejected, the requester is notified and can make updates or submit a new request.

Approval Policies#

Different organizations have different needs. PromptReports supports flexible approval policies:

PolicyDescriptionUse Case
Single ApproverAny one designated approver can approveSmall teams, low-risk prompts
Multiple ApproversRequire N approvals from any eligible approversStandard team review process
Specific RolesRequire approval from specific roles (e.g., tech lead AND product)Cross-functional sign-off
Tiered ApprovalDifferent requirements for different risk levelsEnterprise governance
Emergency BypassAllow bypass with audit log in critical situationsProduction incidents

Code Owner Rules

Automatically require approval from specific people based on what's being changed.

Time-Based Rules

Require additional approvals for changes during high-risk periods.

Notifications & Escalations#

Keep approval workflows moving with smart notifications:

NotificationRecipientsTiming
New RequestAll eligible approversImmediately when request is submitted
ReminderApprovers who haven't reviewedConfigurable (e.g., after 24 hours)
EscalationManagers or backup approversAfter deadline passes
Decision MadeRequester and other approversWhen someone approves/rejects
Changes RequestedRequesterWhen reviewer requests changes
Request CompletedAll participantsWhen required approvals are met
1

Configure escalation rules

Set up automatic escalation when requests aren't reviewed within the SLA.
2

Set reminder frequency

Configure how often pending approvers receive reminder notifications.
3

Define backup approvers

Specify who should be notified if primary approvers are unavailable.

Audit Trail#

Every approval action is recorded in a comprehensive audit trail:

EventRecorded Information
Request SubmittedWho requested, when, version details, request context
Review StartedWhen each approver opened the request
Comment AddedComment content, author, timestamp
Decision MadeApprove/reject/request changes, reason, timestamp
Changes MadeWhat was modified after feedback
Request CompletedFinal status, all approvers, total duration
Bypass UsedWho bypassed, reason, authorization

Access the audit trail from:

  • Version History: See all approval events for a specific version
  • Approval Dashboard: Organization-wide view of all approval activity
  • Compliance Reports: Export audit data for compliance documentation
  • API: Programmatically access audit events for integration with external systems

Best Practices#

Review Promptly

Aim to review requests within 24 hours to keep teams unblocked.

Be Thorough

Check diffs, test results, and context—don't just rubber-stamp approvals.

Share the Load

Distribute approval responsibilities to avoid bottlenecks.

Right-Size Requirements

Don't over-engineer—match approval rigor to actual risk level.

For Requesters:

  • Provide comprehensive context in your request description
  • Run all tests before requesting approval
  • Address feedback promptly and update reviewers when done
  • Tag specific reviewers if you need domain expertise

For Approvers:

  • Prioritize approval requests—they often block others' work
  • Use "Request Changes" instead of rejecting when issues are fixable
  • Explain your decisions, especially rejections
  • Set up vacation delegation to avoid blocking requests while away