Workflow platform

Stacksona for n8n

Use the native Stacksona node immediately before the action you want to govern.

Where Gate goes

Directly before Gmail, HTTP, CRM, payment, database, or another side-effect node.

The workflow can keep normal AI Agent and routing logic. Stacksona checks the final action just before execution.

AI Agent / routerStacksona Gateside-effect node

Minimal workflow

  1. 1
    Install.

    Settings → Community Nodes → n8n-nodes-stacksona.

  2. 2
    Add credentials.

    Use the Gate URL and sg_ agent API key.

  3. 3
    Choose Request Decision and Wait.

    Pass the exact final tool name and payload.

  4. 4
    Route only allow / approved forward.

    Reject, rejected, and changes requested go to stop or revision branches.

Example

FieldValue
Task IDrefund-{{$json.order_id}}
Tool Nameissue_refund
SubjectRefund order {{$json.order_id}}
Risk Levelhigh
Payload JSON={{ JSON.stringify({ order_id: $json.order_id, amount: $json.amount, currency: $json.currency }) }}
What the native node handles

No HTTP Request node, no Authorization header wiring, no manual polling loop, and no custom parsing of the normal Gate lifecycle.

Choose the operation by workflow shape

OperationUse it when
Request Decision and WaitThe review should finish inside the current execution window.
Request DecisionYou want to persist thread_id and resume later.
Get DecisionYou already know the thread or reusable task.
List DecisionsA scheduled resume flow needs recent pending/completed references.
Submit RevisionA reviewer requested changes and you have a revised proposal.
Validate Approval TokenThe action requires signed one-time proof.
Log EventYou want execution or audit evidence in the task timeline.
Resolve ToolsYour agent needs registered Gate tool contracts before selection.

Requested changes

The wait operation returns on changes_requested. Revise the proposal, then use Submit Revision with the same Task ID and Thread ID. The revision remains on the same human review.

Long reviews

text
Request Decision
      ↓
persist thread_id
      ↓
resume later
      ↓
Get Decision by thread_id

Use this instead of keeping one n8n execution open indefinitely.

Signed approvals

Run Validate Approval Token before the real side effect when proof is required and branch on valid, not HTTP success alone.

Full n8n package guide