Send monthly Stripe invoice CSV reports via Gmail
Ready for 3.0What this workflow does
This workflow has 8 nodes and runs on a schedule (cron 0 7 1 * *) (plus 1 other trigger). Along the way it connects Gmail. It also calls api.stripe.com over HTTP.
How it runs
Trigger: On a schedule (cron 0 7 1 * *) (plus 1 other trigger).
- Get previous month (Code): runs custom JavaScript code
- Stripe - Get invoices (HTTP Request): calls api.stripe.com
- Extreact invoices (Code): runs custom JavaScript code
- Set CSV (Code): runs custom JavaScript code
- Genera CSV (Convert to File): converts data to a file
- Send a message (Gmail): uses Gmail
Services it uses
Other Stripe + Gmail templates (44)
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.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (6)
- Convert to File
n8n-nodes-base.convertToFile - Gmail
n8n-nodes-base.gmail - Code
n8n-nodes-base.code - HTTP Request
n8n-nodes-base.httpRequest - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Manual Trigger
n8n-nodes-base.manualTrigger
From the author
Quick Overview This workflow runs monthly (or manually) to export all paid Stripe invoices from the previous month, convert them into a structured CSV report, and email the file via Gmail. How it works 1. Runs on the 1st day of every month at 07:00 (or when…