Generate Invoices, Save to Drive and Send Email to Customer with JS + G Sheets
n8n template #4105Summary
Use templateThis workflow automates invoice generation from form submissions, ensuring unique order IDs, creating PDF invoices, storing files, emailing customers, and logging invoice data — all seamlessly integrated. 🔹 Workflow Overview Trigger (Webhook) Starts when an order form is submitted, capturing customer and order details. Generate Random Order ID A Function node creates a unique alphanumeric invoice ID (e.g., INV-X92B7D). Check for Duplicate Order ID Google Sheets looks up the generated order ID in your invoice log sheet to prevent duplicates. Conditional Check (IF Node) If the ID already exists → regenerates a new ID (loops back) If unique → proceeds to invoice creation Prepare Invoice Data A
Hand off to your agent
Prompt
Help me set up the n8n workflow "Generate Invoices, Save to Drive and Send Email to Customer with JS + G Sheets" (https://n8n.io/workflows/4105). It uses: Send Email, Google Sheets, HTTP Request, Google Drive, Code. Import the template JSON into my n8n instance, list every credential I need to create, and walk me through testing it.
Paste into Claude Code and it will do the rest.
Apps and nodes
Similar workflows
NameViews
- Fully Automated AI Video Generation & Multi-Platform Publishing191K
- AI-Powered Short-Form Video Generator with OpenAI, Flux, Kling, and ElevenLabs93K
- Automate sales cold calling pipeline with Apify, gpt-5.6-terra, and WhatsApp34K
- API Schema Extractor24K
- Automatically Create and Upload YouTube Videos with Quotes in Thai Using FFmpeg9,268
- Recognize invoices / receipts from Google Drive and put them into Google Sheets8,465
- 3D Product Video Generator from 2D Image for E-Commerce Stores6,543
- Extract Invoice Data from Google Drive to Sheets with Mistral OCR and Gemini4,880