# Workflow Playbooks

Source: https://docs.stacksona.com/playbooks
Markdown: https://docs.stacksona.com/playbooks.md

Start with the action your agent is about to take. Each playbook shows where to add Stacksona before the action runs, what to show the reviewer, and what to log after the decision.

Workflow Playbooks


Start with the action your agent is about to take. Each playbook shows where to add Stacksona before the action runs, what to show the reviewer, and what to log after the decision.


## Choose the action


[### Customer email approval Playbook Review the recipient, subject, draft body, customer context, and reason before the message is sent.](/playbooks/customer-email-approval/)
[### Refund approval Playbook Review the amount, customer, order, refund reason, and policy threshold before money moves.](/playbooks/refund-approval/)
[### Production API approval Playbook Review the endpoint, method, affected system, payload summary, and rollback plan before the API call runs.](/playbooks/production-api-approval/)


## Where Stacksona fits


Add Stacksona after the agent has prepared the action and before the tool, API, workflow, or job runs.


## Common branch behavior


| Status | Workflow behavior |
| --- | --- |
| allowed | Run the action. |
| approved | Run the action. |
| pending_review | Wait, poll, or pause for reviewer decision. |
| rejected | Do not run the action. |
| expired | Do not run the action unless your policy explicitly allows a fallback. |
| error | Fail closed for sensitive actions. |


## Related references

[Patterns](/patterns/index.html)[Gate API Reference](/reference/api-contract/index.html)[Decision Statuses](/reference/decision-statuses/index.html)[Security](/reference/security/index.html)[Integration Hub](/integrations/index.html)[Templates](/templates/index.html)
