Docs / Integrations / Automation
Add fail-closed checks to automation workflows.
Add a pre-execution HTTP step that calls Gvner before any mutating action step.
Where to hook intent checks
Add guard step immediately before mutating workflow node.
Always call before side effects, not after.
Pass correlation IDs for traceability.
Payload mapping to /adapters/http/intent
{
"tenant_id": "acme",
"runtime_id": "automation-01",
"agent_id": "agent-01",
"intent": "update_customer",
"requested_scopes": ["update_customers"],
"tool": "crm",
"context": {"source": "automation", "workflow": "demo"},
"requested_budget": 1.0,
"work_type": "execution",
"correlation_id": "req-123"
}
Fail-closed behavior
Required: if Gvner is unreachable, returns DENIED, or response is invalid, do not execute. Treat as blocked and log audit context.
Sample wrapper pattern
# pre-step webhook
decision = guvna_evaluate(intent)
if decision["decision"] != "ALLOWED":
stop_workflow(decision["reason"])
# continue workflow
Relevant console pages
Evidence and exports
Export evidence packets from Exports.
Use Receipts for integrity checks.
Use Regulator Packets for external review.