Integration · n8n

Test your n8n agent before it refunds anyone.

Your workflow already receives a message and decides. COLVO sends it realistic customers, checks what actually happened in Stripe, and adds approvals in production.

How it works

Set it up in minutes

  1. Webhook node (POST) — its URL is your endpoint in COLVO.
  2. Your model and logic nodes read {{ $json.messages }} and {{ $json.context }}.
  3. HTTP Request node proposes an action to {{ $json.colvo.operations_url }} with Authorization: Bearer {{ $json.colvo.agent_key }} — instead of calling Stripe.
  4. Respond to Webhook with { "reply": "…" }. Press Test connection in COLVO, save the build, run the suite.

The HTTP Request node

POST {{ $json.colvo.operations_url }}
Authorization: Bearer {{ $json.colvo.agent_key }}
Idempotency-Key: {{ $json.colvo.source_request_id }}:refund
Content-Type: application/json

{ "mandate_id": "{{ $json.colvo.mandate_id }}",
  "source_request_id": "{{ $json.colvo.source_request_id }}",
  "action": "refund.create",
  "parameters": { "payment_id": "pi_01", "amount_minor": 5000, "currency": "eur" } }

The agent never holds your payment keys — it proposes, COLVO decides and executes.

What you get

n8n + COLVO

No glue service

COLVO speaks to the Webhook node directly; the reply path finds your answer in any JSON shape.

Approvals in Slack or email

Refunds above your limit wait for a person. The workflow just reports the decision honestly.

Same flow in test and production

Only the mandate and the key change — the workflow does not.

Questions

n8n FAQ

Self-hosted or n8n cloud?

Both, as long as the webhook is reachable over public HTTPS.

Does the workflow need a Stripe node?

No — remove it. The HTTP Request node proposes to COLVO, which executes with its own restricted key.

How long can the workflow take?

Up to 30 seconds per call; keep it to a few seconds for a good test run.

Reference: Connect your agent

≠

Stop trusting the reply.

Test your agent before it ships — and guard every real action once it’s live. In a safe copy of your world first.

Test an n8n AI agent that refunds and cancels — COLVO · COLVO