What Approvers See, Re-Runs, and Troubleshooting
AI Prompt Step Documentation
What approvers see
When an approval reaches an AI Prompt step, approvers can see the AI step on the approval timeline.
The step can appear in one of three states:
State | Meaning |
|---|---|
Analyzing… | The AI analysis is still being generated. |
Result teaser | The AI analysis is ready and shown as a structured card. |
Failure message | The AI analysis could not be generated. |
The result card can include:
primary verdict, risk level, compliance status, or anomaly level
confidence score
summary text
structured sections
a link to open the full analysis
The full result dialog can include:
complete AI analysis
section cards
citation chips for referenced Confluence data
copy result button
re-run analysis button, when available
Re-run an AI Prompt step
The approval originator and global admins can re-run an AI Prompt step from the result dialog. Re-running can be useful when:
the Confluence page has changed
page comments were added after the first AI run
the AI provider or model was changed
data-sharing settings were updated
the previous AI request failed because of a temporary issue
the monthly budget or configuration problem has been fixed
When the step is re-run, Approval Path fetches the current Confluence page data and uses the current AI settings.
Webhooks and API access
When an AI Prompt step finishes, Approval Path for Confluence fires a standard step decision webhook event. This allows external systems to react to AI Prompt step completions in the same way they react to other approval step decisions. Webhook subscribers can receive Prompt step completion events, along with the analysis result in the payload.
AI Prompt step data is also available through Approval Path Web API v2 responses. The approval response can include AI Prompt step information such as:
step ID
step type
status
name
execution date
result teaser
error code
error message
The definition response can include the AI Prompt step configuration, such as:
type
name
prompt template
condition
label condition
parallel group
The full AI result is visible inside the app.
Cost control
AI calls can consume provider tokens. Approval Path gives admins several ways to control usage.
Monthly token budget
Admins can set a monthly token budget in:
Approval Path settings → AI → General
When the budget is reached, AI Prompt steps are skipped until the budget resets or is increased.
Usage dashboard
Admins can monitor usage in:
Approval Path settings → AI → Usage
The dashboard shows current monthly usage and which approval definitions are responsible for the most token consumption.
Prompt-size protection
If the assembled prompt and context become too large, the AI Prompt step is skipped, and a clear message is displayed.
To reduce prompt size, admins can:
disable comments
disable attachment metadata
disable precedent approvals
shorten the prompt template
split the analysis into multiple smaller AI Prompt steps
Model choice
For high-volume workflows, admins can choose a faster or cheaper model if the use case does not require advanced reasoning. For example, a simple page summary may not need the same model as a complex compliance review.
Privacy protections
Approval Path for Confluence applies privacy protections before sending context to the selected AI provider. Always-on protections include:
email addresses are removed from field values and free text
account IDs and opaque user identifiers are removed
real names are replaced with stable per-execution user tokens
watcher or participant lists are reduced where applicable
The same person receives the same token within one AI analysis, so the AI can still understand the flow of comments and decisions without seeing real names.
PII-sensitive mode
For regulated or sensitive environments, admins can enable PII-sensitive mode in:
Approval Path settings → AI → Data sharing
PII-sensitive mode applies stronger anonymization and can redact common personal data patterns from free text. Examples include:
phone numbers
credit-card-like numbers
IBANs
SSNs
sensitive personal identifiers
Use this mode when Confluence pages may include regulated or confidential information.
Where the data goes
AI requests are sent to the AI provider configured by the tenant admin.
The provider is selected in:
Approval Path settings → AI → General
The provider’s own data-handling terms apply. If your organization has specific compliance requirements, check your AI provider’s retention and processing terms before enabling AI Prompt steps.
When the AI analysis fails
If an AI Prompt step fails, the approval does not fail.
Approvers can continue with the approval as normal. The AI result is simply unavailable for that step.
Common failure reasons include:
Error | What it means | What to do |
AI provider not configured | AI settings are incomplete. | Configure the provider and API key in AI settings. |
AI disabled | AI Prompt steps are turned off. | Enable AI Prompt steps in AI settings. |
Provider key invalid | The saved API key was rejected. | Generate and save a new provider API key. |
Monthly token budget reached | The tenant has used the configured monthly budget. | Increase the budget or wait for the next reset. |
Provider rate limit hit | The AI provider is throttling requests. | Retry later or ask the provider to increase the limit. |
Request timed out | The provider did not respond in time. | Re-run the analysis or try a faster model. |
Prompt too large | The assembled prompt and context exceeded the limit. | Reduce the prompt or disable unnecessary data-sharing options. |
Empty or truncated response | The provider returned no useful result. | Shorten the prompt or use a model with a higher output limit. |
Content refused | The provider rejected the prompt content. | Review the Confluence page content and prompt template. |
Best practices
Use AI Prompt steps when the approver needs help understanding the page, but the final decision should remain human. For better results:
Give each AI Prompt step a clear name
Keep prompts structured
Use the approval definition description to explain the business purpose
Choose the right built-in template before creating a custom one
Test templates with live preview
Limit sensitive data through Data sharing settings
Place AI Prompt steps before the human decision they are meant to support
Reuse AI results in Automation, HTTP, and email templates when useful
Re-run the analysis when the page changes significantly
I've noticed Chaining AI prompt steps paragraph is missing (or it has to be like this?)