Get custom_fields from the Stripe API
Ready for 3.0What this workflow does
This workflow has 4 nodes and runs from “Stripe | Get latest checkout sessions” (no trigger node, so run it manually or call it from another workflow). It uses only n8n's built-in nodes.
How it runs
Trigger: From “Stripe | Get latest checkout sessions” (no trigger node, so run it manually or call it from another workflow).
- Stripe | Get latest checkout sessions (HTTP Request): calls an HTTP API
- split all data (Split Out): splits a list into separate items
- split custom_fields (Split Out): splits a list into separate items
- Filter: keeps only the items that match a condition
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (3)
- Split Out
n8n-nodes-base.splitOut - HTTP Request
n8n-nodes-base.httpRequest - Filter
n8n-nodes-base.filter
From the author
The Stripe API does not provide custom fields in invoice or charge data. So you have to get it from the Checkout Sessions endpoint. But that endpoint is not easy for begginners. It has dictionary parameters and pagination settings. This workflows solves that…