← All N8N workflows
Business & commerceAws S3HTTP RequestIfManual TriggerSchedule Trigger

Use Stripe Predefined Credential

Configured with Aws S3, HTTP Request, Schedule Trigger, Split Out, and additional nodes. Review the connections and setup before adapting this template.

Workflow preview
TriggerWhen clicking ‘Testworkflow’Manual TriggerTransformList InvoicesSplit OutTransformInject s3 SubpathEdit FieldsTransformSet-SubpathEdit FieldsRoutingWe do only InvoiceObjectsIfRoutingIt shouldn't besomething elseStop And ErrorTransformENV*Edit FieldsWeb / APIDownload Invoice PDFfrom StripeHTTP RequestTriggerEvery Month the FirstDay of the MonthSchedule TriggerWeb / APIGet all Invoices*HTTP RequestFiles / mediaUpload to S3 Bucket*Aws S3TransformClean and Escape ENVEdit Fields

Node categories in this workflow

  • Trigger
  • Transform
  • Routing
  • Web / API
  • Files / media

Icons describe general node roles, inferred from node types. Inspect the parameters for the configured action.

Drag to pan; use + and − to zoom. Reconstructed from the exported node positions; nothing runs here. Dashed lines represent non-main connections. Full node names and notes appear below.

How it works

The exported workflow contains the following configured nodes. Their connections are shown above; inspect the JSON for the complete logic, expressions, and external actions.

Workflow node names, types, and operations
NodeCategoryTypeOperation
When clicking ‘Test workflow’TriggerManual TriggerSee node parameters
List InvoicesTransformSplit OutSee node parameters
Inject s3 SubpathTransformEdit FieldsSee node parameters
Set-SubpathTransformEdit FieldsSee node parameters
We do only Invoice ObjectsRoutingIfSee node parameters
It shouldn't be something elseRoutingStop And ErrorSee node parameters
ENV*TransformEdit FieldsSee node parameters
Download Invoice PDF from StripeWeb / APIHTTP RequestSee node parameters
Every Month the First Day of the MonthTriggerSchedule TriggerSee node parameters
Get all Invoices*Web / APIHTTP RequestSee node parameters
Upload to S3 Bucket*Files / mediaAws S3upload
Clean and Escape ENVTransformEdit FieldsSee node parameters

Setup

  1. Download the JSON and import it into an isolated n8n instance. Leave the workflow inactive.
  2. Connect your own credentials through n8n’s credential store. Replace REPLACE_WITH_* values with your resource identifiers.
  3. Inspect API destinations, Code nodes, database queries, file paths, and outbound actions.
  4. Run with synthetic data and harmless destinations. Enable triggers only after checking the actual outputs.

Requirements

An n8n instance with the listed node types and compatible versions. Service-connected workflows may require accounts, credentials, or paid APIs.

Credential types declared in the source

None declared. HTTP requests and Code nodes may still need configuration.

Workflow notes

👇 Configure here

👇 Configure here

folderName (optional) = Subfolder for your Invoices, otherwise it will create in root. e.g: "invoices"

bucketName (required) = the S3 Bucket Name, where invoices will be synced in

year (automatic or hardcore) = the expression makes sure it will be exporting "last month". Or define a custom year for manual export.

month (automatic or hardcore) = the expression makes sure it will be exporting "last month". Or define a custom month for manual export.

EVERYTHING greater then the provided date will be exported. The Day will be always the first of month.

Build Pathes

Build Pathes

yourFolder/invoiceYear/invoiceMonth/fileName

e.g.: invoices/2024/12/invoice-number-123.pdf

Upload to Bucket

Upload to Bucket

⚠️ You might want to check Storage Class, ACL, etc.

Instructions

Instructions

This automation syncs monthly your Invoice PDF from Stripe to a (AWS) S3 Bucket of your choice with the following subPaths (Key):

yourFolder/invoiceYear/invoiceMonth/fileName

Fill in your Credentials and Settings in the Nodes marked with "*".

You can adjust this Workflow to your needs. You can also override the yearand month in the ENV* Node for manual syncs.

Enjoy the Workflow! ❤️ https://let-the-work-flow.com Workflow Automation & Development

Use Stripe Predefined Credential

Use Stripe Predefined Credential

Purpose and structure

This folder contains the Use Stripe Predefined Credential workflow. Its executable nodes use awsS3, httpRequest, if, manualTrigger, scheduleTrigger, set, splitOut, stopAndError. The table and connection map below are derived from the JSON, not an inferred guarantee of behavior.

Setup

Import inactive. Configure your own credentials and replace REPLACE_WITH_* values. Review external destinations and Code nodes before running.

Entry points

When clicking ‘Test workflow’, Every Month the First Day of the Month

Verification

Sanitized source candidate; not runtime-tested. This overview is generated from node metadata. Read the folder README for the connection map, credential types, and license.

Attribution

https://github.com/Zie619/n8n-workflows/blob/94007c1445d9258a7da116646b79473e7c7c3282/workflows/Stopanderror/0592_Stopanderror_Awss3_Automation_Webhook.json MIT; preserve source notices.

Canvas section labels

These name areas of the original canvas; they do not include explanatory instructions.

  • Use Stripe Predefined Credential

More in Business & commerce