Stripe Webhook to n8n Expression & Workflow Mapper
Inspect nested Stripe checkout.session.completed JSON, convert amount_total cents safely with optional chaining, and export an importable n8n Webhook + Edit Fields workflow.
Webhook / Node Input JSON
Valid JSON
n8n Expression Evaluator
Live Evaluated Output
type: stringClickable JSON Path Explorer
Click to test or copyn8n Schedule Trigger Cron Simulator
Checking DST...Next 10 Scheduled Executions
| # | Workflow Timezone | Comparison Zone | UTC ISO |
|---|
Copyable n8n Schedule Trigger Node (v1.2)
Node & Edit Fields (Set v3.4) Config
Exportable n8n Workflow JSON
Valid Schema
Includes pinned test payload (pinData) so you can paste directly onto the n8n canvas with Ctrl+V / Cmd+V.
Deploy & Scale Your Workflow
Independent tool • Affiliate disclosureStripe Webhook Mapping Tips for n8n
- Always handle nullable customer_details: Use
{{ $json.data.object.customer_details?.email ?? "guest" }}so Payment Link or test events never throw undefined errors. - Convert zero-decimal vs cent currencies: Stripe sends USD/EUR in cents, so
{{ ($json.data.object.amount_total / 100).toFixed(2) }}formats receipts cleanly. - Pin your test event: The exported Workflow JSON includes
pinDataso you can iterate in n8n without triggering live Stripe checkouts.
How do I access Stripe metadata fields in n8n?
Use {{ $json.data.object.metadata?.plan ?? "default" }} in an Edit Fields (Set) or IF node.
Is my Stripe customer webhook data uploaded anywhere?
No. FlowWorkbench evaluates every JSON tree and expression 100% locally in your browser.