Skip to content
🔑 DPX is in private beta. Settlement execution requires approval — request access. All other APIs are live and free to use in sandbox mode.

n8n — Workflow Automation

Connect DPX to n8n using the HTTP Request node. n8n’s no-code interface lets you build settlement workflows, trigger alerts on peg deviations, and route transactions based on live ESG scores.

  1. Trigger — Webhook, Schedule, or any upstream node
  2. HTTP Request — GET /esg-score from ESG Oracle
  3. Set — Extract scores.average into a variable
  4. HTTP Request — GET /quote with amountUsd, hasFx=true, esgScore
  5. HTTP Request — GET /reliability
  6. IF — Branch on isHealthy and stability.currentScore >= 90
  7. HTTP Request — POST to your settlement system with quoteId
FieldValue
MethodGET
URLhttp://localhost:3000/quote
Query ParametersamountUsd, hasFx, esgScore
AuthenticationNone
Response FormatJSON

HTTP Request node config — Check reliability

Section titled “HTTP Request node config — Check reliability”
FieldValue
MethodGET
URLhttp://localhost:3000/reliability
AuthenticationNone
Response FormatJSON
  1. Schedule Trigger — every 5 minutes
  2. HTTP Request — GET localhost:3000/reliability
  3. IF{{ $json.peg.deviationBps }} >= 50
  4. Slack / Email — Send alert with deviation value
  5. Else — No action

If running n8n locally, both oracle URLs are reachable at localhost:3000 and localhost:3001.

For n8n Cloud, you’ll need the hosted production endpoints — these are provided upon beta approval.

No API keys required. All DPX pricing and discovery endpoints are public.