Payment Webhook to CRM: Dedup, Validation & USD Conversion by Suraj ShahPayment Webhook to CRM: Dedup, Validation & USD Conversion by Suraj Shah

Payment Webhook to CRM: Dedup, Validation & USD Conversion

Portfolio project
Suraj Shah
Problem: Payment platforms retry webhooks, so naive integrations double-process events, accept junk or spoofed calls, and fail silently.
Solution: An n8n workflow that checks a secret header, validates each event, skips repeated event IDs, converts non-USD amounts at the day's exchange rate, upserts the customer in a Google Sheets CRM and emails a receipt. Failures alert the owner and free the event for retry.
Result: 4 of 4 duplicate deliveries ignored, bad input gets a 400, a wrong key a 403, and a full run takes 3-4 s.
Demo build, tested with sample data.
The workflow in the n8n editor
The workflow in the n8n editor
A test run: every step green
A test run: every step green

0 likes · 0 views · Nov 28, 2026

I built an n8n payment webhook that checks a secret key, skips repeated events, converts currency and updates a Sheets CRM. Demo build, tested with sample data.

Tags