The workflow JSON
Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →
{
"id": "YVNJOltj0jMQatGz",
"meta": {
"templateCredsSetupCompleted": true
},
"name": "Stripe Payment Order Sync \u2013 Auto Retrieve Customer & Product Purchased",
"tags": [],
"nodes": [
{
"id": "90322fe5-5536-41c3-ac08-ea87a856781b",
"name": "Stripe Trigger on Payment Event",
"type": "n8n-nodes-base.stripeTrigger",
"position": [
0,
0
],
"parameters": {
"events": [
"checkout.session.completed"
]
},
"credentials": {
"stripeApi": {
"name": "<your credential>"
}
},
"typeVersion": 1
},
{
"id": "3feb0b03-921e-4bfd-8a50-b2b6b47e9497",
"name": "Extract Session Information",
"type": "n8n-nodes-base.httpRequest",
"position": [
300,
0
],
"parameters": {
"url": "=https://api.stripe.com/v1/checkout/sessions/{{ $json.data.object.id }}",
"options": {},
"sendQuery": true,
"authentication": "predefinedCredentialType",
"queryParameters": {
"parameters": [
{
"name": "expand[]",
"value": "line_items"
}
]
},
"nodeCredentialType": "stripeApi"
},
"credentials": {
"stripeApi": {
"name": "<your credential>"
},
"httpHeaderAuth": {
"name": "<your credential>"
}
},
"typeVersion": 4.2
},
{
"id": "5a436d1c-88e9-492e-8fe0-33a5706de1b3",
"name": "Filter Information",
"type": "n8n-nodes-base.set",
"position": [
560,
0
],
"parameters": {
"options": {},
"assignments": {
"assignments": [
{
"id": "95a68e0f-b74c-4ca2-8143-14b469aa6bfb",
"name": "Customer Name",
"type": "string",
"value": "={{ $json.customer_details.name }}"
},
{
"id": "7634efa6-04f3-4dac-8509-56aae29fcc79",
"name": "Customer Email",
"type": "string",
"value": "={{ $json.customer_details.email }}"
},
{
"id": "10e71e07-6dd3-410c-a774-1eeffe2be7a5",
"name": "Product Purchased",
"type": "string",
"value": "={{ $json.line_items.data[0].description }}"
}
]
}
},
"typeVersion": 3.4
}
],
"active": false,
"settings": {
"executionOrder": "v1"
},
"versionId": "e3f6ba06-36d9-4b41-9c5a-cec669ce507b",
"connections": {
"Extract Session Information": {
"main": [
[
{
"node": "Filter Information",
"type": "main",
"index": 0
}
]
]
},
"Stripe Trigger on Payment Event": {
"main": [
[
{
"node": "Extract Session Information",
"type": "main",
"index": 0
}
]
]
}
}
}
Credentials you'll need
Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.
httpHeaderAuthstripeApi
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
Stripe Payment Order Sync – Auto Retrieve Customer & Product Purchased. Uses stripeTrigger, httpRequest. Event-driven trigger; 3 nodes.
Source: https://github.com/Zie619/n8n-workflows — original creator credit. Request a take-down →
Related workflows
Workflows that share integrations, category, or trigger type with this one. All free to copy and import.
This workflow instantly sends successful Stripe Checkout payments to RD Station Marketing by creating an Order & Payment Event for every confirmed transaction. It’s ideal for businesses that want to a
This n8n template demonstrates how to automate the followup when your customer completes a checkout in Stripe by emailing a receipt, logging the transaction, and sending an internal notification.
Http Stripe. Uses pipedriveTrigger, pipedrive, httpRequest, stripe. Event-driven trigger; 7 nodes.
This automation template is designed to streamline your payment processing by automatically triggering upon a successful Stripe payment. The workflow retrieves the complete payment session and filters
Code Schedule. Uses stripe, scheduleTrigger, itemLists, hubspot. Scheduled trigger; 24 nodes.