Templates / One-way sync Stripe invoice PDFs to a S3 bucket

One-way sync Stripe invoice PDFs to a S3 bucket

Ready for 3.0

by Marcel Claus-Ahrens ✓ · 1,233 views · created 2024-10-04 · Invoice Processing

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This workflow has 12 nodes and runs manually, when you click “Execute workflow” (plus 1 other trigger). Along the way it connects AWS S3. It also calls api.stripe.com over HTTP.

How it runs

Trigger: Manually, when you click “Execute workflow” (plus 1 other trigger).

  1. ENV* (Edit Fields (Set)): sets 4 fields: year, month, subFolder…
  2. Clean and Escape ENV (Edit Fields (Set)): sets 4 fields: bucketName, subFolder, month…
  3. Get all Invoices* (HTTP Request): calls api.stripe.com
  4. List Invoices (Split Out): splits a list into separate items
  5. We do only Invoice Objects (If): checks a condition and branches into true / false
  6. Download Invoice PDF from Stripe (HTTP Request): calls an HTTP API
  7. It shouldn't be something else (Stop and Error): stops the run with an error
  8. Inject s3 Subpath (Edit Fields (Set)): sets 3 fields: _s3_year, _s3_folder, _s3_month
  9. Set-Subpath (Edit Fields (Set)): sets 1 field: _s3_path
  10. Upload to S3 Bucket* (AWS S3): upload

Services it uses

AWS S3

HTTP calls to: api.stripe.com

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 (8)

From the author

This automation syncs your Invoice PDFs from Stripe to a (AWS) S3 Bucket each month, in a folder of your choice, with the following subPath: yourFolder/invoiceYear/invoiceMonth/fileName Fill in your Credentials and Settings in the Nodes marked with "". You…

Excerpt from Marcel Claus-Ahrens's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.