1. Connect
Add Decionis to a Zap and authorize with your Decionis browser session. The app provisions a scoped credential automatically.
Put a Decionis policy gate in front of any automation while keeping the workflow portable across commerce, ERP, CRM, ITSM, and agent systems.
The deployed Decionis OAuth app exposes a Create Decision Dossier action.
Add Decionis to a Zap and authorize with your Decionis browser session. The app provisions a scoped credential automatically.
Map the upstream payload, a stable action type, actor reference, mode, and the source event ID as the idempotency key.
Use outcome, status, reason codes, dossier URL, and dossier JSON in later Zap steps. Start in Shadow Mode.
| Zapier field | Recommended value |
|---|---|
| Payload | The complete mapped upstream object as JSON |
| Operational Action Type | A stable verb such as APPROVE_INVOICE |
| Actor ID | The workflow or upstream actor identifier |
| Evaluation Mode | SHADOW for first deployment |
| Idempotency Key | The upstream event, request, or transaction ID |
Use Make HTTP V4 with the Decionis API key stored in Make's encrypted keychain.
Method: POST
URL: https://api.decionis.com/v1/protocol/evaluate-decision
Authentication: API key credentials
Header name: Authorization
Header value: Bearer <DECIONIS_API_KEY>
Header: Idempotency-Key = {{source_event_id}}
Body type: application/json
{
"org_id": "{{DECIONIS_ORG_ID}}",
"decision_type": "AUTOMATION_ACTION",
"amount": {{amount}},
"mode": "SHADOW",
"workflow_key": "automation_action",
"context": {
"source_system": "make",
"source_event_id": "{{source_event_id}}",
"payload": {{source_payload}}
}
}Store the API key as a Make HTTP V4 API-key credential. Do not place it in the scenario body, query string, notes, or exported screenshots.
Every automation step asks permission before it executes. Use the community node once it is published, or the HTTP Request recipe below, which works today.
In n8n, open Settings → Community Nodes → Install and enter n8n-nodes-decionis. Add a Decionis API credential with your API key and base URL, then use the Evaluate Decision operation. Availability follows the first npm publish of the package; until that publish completes, install will not resolve and you should use the HTTP recipe.
Works today on any n8n version, self-hosted or cloud. Add an HTTP Request node before the protected step, store the API key as a Header Auth credential, and branch on the returned outcome. The four example workflows below use this recipe so they import and run without the community node.
Node: HTTP Request
Method: POST
URL: https://api.decionis.com/v1/protocol/evaluate-decision
Authentication: Generic Credential Type → Header Auth
Header name: Authorization
Header value: Bearer <DECIONIS_API_KEY>
Header: Idempotency-Key = {{ $json.event_id }}
Body Content Type: JSON
{
"org_id": "<DECIONIS_ORG_ID>",
"decision_type": "AUTOMATION_ACTION",
"amount": {{ $json.amount }},
"mode": "SHADOW",
"workflow_key": "automation_action",
"context": {
"source_system": "n8n",
"source_event_id": "{{ $json.event_id }}",
"payload": {{ JSON.stringify($json) }}
}
}Store the API key as an n8n Header Auth credential. Do not place it in the node body, query string, sticky notes, or an exported workflow JSON that leaves your instance.
| Step | n8n node | Behaviour |
|---|---|---|
| 1. Trigger | Any trigger node | The upstream event that would otherwise execute directly |
| 2. Gate | Decionis node or HTTP Request | POST the mapped payload and receive outcome, status, reason codes, and dossier references |
| 3. Branch | IF on {{ $json.outcome }} | True branch proceeds with the protected action; false branch escalates |
| 4. Prove | Any downstream node | Carry dossier_id and the dossier URL into the ticket, message, or record you write |
IF node condition
Left value: {{ $json.outcome }}
Operator: String → is equal to
Right value: APPROVE
true → run the protected action
false → escalate (REJECT, REVIEW, and ESCALATE all land here)Download a file and use Import from File in the n8n editor. Each workflow ships with example input data pinned on the sample node, runs in SHADOW mode, and expects you to replace the org ID placeholder and attach your own credential before switching to enforcement.
A purchase request is evaluated before the order is submitted. Anything the policy does not approve is routed to a finance approver instead of executing.
An inbound invoice is evaluated against the known vendor domain and banking details before it is queued for payment.
A refund request is evaluated against amount, elapsed days, and prior refund history before the refund is issued.
A scheduled risk-signal check evaluates a score movement and pauses the downstream automation instead of letting it continue unattended.
Decionis is the decision layer, not the source-system owner.
| Layer | Portable contract |
|---|---|
| Source | Shopify, ERP, CRM, ITSM, agent, webhook, or another Zap, Make module, or n8n node |
| Gate | The same Decionis evaluation contract and policy version |
| Result | APPROVE, REJECT, ESCALATE, or REVIEW plus reason codes |
| Proof | Signed Decision Dossier URL and integrity metadata |
Safe retries require a stable idempotency key.
The Zapier action retries one transient HTTP failure immediately and then asks Zapier to replay after 30 seconds. Make scenarios and n8n HTTP Request nodes should retry 408, 425, 429, and 5xx responses while preserving the same Idempotency-Key value.