{ "id": "YVNJOltj0jMQatGz", "meta": { "instanceId": "workflow-2b50f791", "versionId": "1.0.0", "createdAt": "2025-09-29T07:07:46.821364", "updatedAt": "2025-09-29T07:07:46.821473", "owner": "n8n-user", "license": "MIT", "category": "automation", "status": "active", "priority": "high", "environment": "production" }, "name": "Stripe Payment Order Sync – Auto Retrieve Customer & Product Purchased", "tags": [ "automation", "n8n", "production-ready", "excellent", "optimized" ], "nodes": [ { "id": "90322fe5-5536-41c3-ac08-ea87a856781b", "name": "Stripe Trigger on Payment Event", "type": "n8n-nodes-base.stripeTrigger", "position": [ 0, 0 ], "webhookId": "e85ac894-bb67-436c-ad39-308a00c8e922", "parameters": { "events": [ "checkout.session.completed" ] }, "credentials": { "stripeApi": { "id": "ClCB0WooGxls3WGM", "name": "Stripe Test" } }, "typeVersion": 1, "notes": "This stripeTrigger node performs automated tasks as part of the workflow." }, { "id": "3feb0b03-921e-4bfd-8a50-b2b6b47e9497", "name": "Extract Session Information", "type": "n8n-nodes-base.httpRequest", "position": [ 300, 0 ], "parameters": { "url": "{{ $env.BASE_URL }}", "options": {}, "sendQuery": true, "authentication": "{{ $credentials.predefinedCredentialType }}", "queryParameters": { "parameters": [ { "name": "expand[]", "value": "line_items" } ] }, "nodeCredentialType": "YOUR_CREDENTIAL_HERE" }, "credentials": { "stripeApi": { "id": "ClCB0WooGxls3WGM", "name": "Stripe Test" }, "httpHeaderAuth": { "id": "9UNc6IDuBlNCX6zd", "name": "PDF to Text" } }, "typeVersion": 4.2, "notes": "This httpRequest node performs automated tasks as part of the workflow." }, { "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, "notes": "This set node performs automated tasks as part of the workflow." } ], "active": false, "pinData": {}, "settings": { "executionOrder": "v1", "saveManualExecutions": true, "callerPolicy": "workflowsFromSameOwner", "errorWorkflow": null, "timezone": "UTC", "executionTimeout": 3600, "maxExecutions": 1000, "retryOnFail": true, "retryCount": 3, "retryDelay": 1000 }, "versionId": "e3f6ba06-36d9-4b41-9c5a-cec669ce507b", "connections": { "3feb0b03-921e-4bfd-8a50-b2b6b47e9497": { "main": [ [ { "node": "error-handler-3feb0b03-921e-4bfd-8a50-b2b6b47e9497", "type": "main", "index": 0 } ], [ { "node": "error-handler-3feb0b03-921e-4bfd-8a50-b2b6b47e9497-0f8e1aa3", "type": "main", "index": 0 } ], [ { "node": "error-handler-3feb0b03-921e-4bfd-8a50-b2b6b47e9497-0bd58793", "type": "main", "index": 0 } ], [ { "node": "error-handler-3feb0b03-921e-4bfd-8a50-b2b6b47e9497-c2389c8f", "type": "main", "index": 0 } ], [ { "node": "error-handler-3feb0b03-921e-4bfd-8a50-b2b6b47e9497-322bc3db", "type": "main", "index": 0 } ], [ { "node": "error-handler-3feb0b03-921e-4bfd-8a50-b2b6b47e9497-cd3383cd", "type": "main", "index": 0 } ], [ { "node": "error-handler-3feb0b03-921e-4bfd-8a50-b2b6b47e9497-f5d7447a", "type": "main", "index": 0 } ], [ { "node": "error-handler-3feb0b03-921e-4bfd-8a50-b2b6b47e9497-896363fa", "type": "main", "index": 0 } ], [ { "node": "error-handler-3feb0b03-921e-4bfd-8a50-b2b6b47e9497-b4a8ba21", "type": "main", "index": 0 } ] ] } }, "description": "Automated workflow: Stripe Payment Order Sync – Auto Retrieve Customer & Product Purchased. This workflow processes data and performs automated tasks.", "notes": "Excellent quality workflow: Stripe Payment Order Sync – Auto Retrieve Customer & Product Purchased. This workflow has been optimized for production use with comprehensive error handling, security, and documentation." }