n8n Integration
Automate workflows with n8n using Dunmore payment webhooks.
Connect Dunmore to n8n to build custom automation workflows triggered by payment events.
Setup
- In n8n, create a new workflow with a Webhook trigger node
- Set the HTTP Method to POST and copy the webhook URL
- Add an n8n connector in the Dunmore console
- Paste the webhook URL and select event types
Event Payload
All Dunmore events are forwarded as JSON with these top-level fields:
{
"event_type": "payment.settled",
"event_id": "evt_xxx",
"timestamp": "2026-02-19T...",
"data": { ... },
"metadata": { "project_id": "proj_xxx" }
}
Use n8n's IF node to branch workflows based on event_type.
Configuration
{
"type": "n8n",
"config": {
"webhookUrl": "https://your-n8n.com/webhook/..."
},
"eventTypes": ["payment.settled", "payment.failed"]
}
API Example
curl -X POST https://api.dunmore.xyz/api/projects/{projectId}/connectors \
-H "Authorization: Bearer {token}" \
-H "Content-Type: application/json" \
-d '{
"type": "n8n",
"config": {
"webhookUrl": "YOUR_N8N_WEBHOOK_URL"
},
"eventTypes": ["payment.settled", "payment.failed"]
}'