Email Automation
Generate and email PDF invoices from Google Sheets with Orshot and Gmail
On a schedule, it handles email using Orshot, Gmail, Google Drive, Google Sheets.
What it does
## Generate and email PDF invoices from Google Sheets For freelancers, agencies and small businesses who track invoices in a spreadsheet and want each one turned into a designed PDF and sent without copy and paste. ### How it works 1. Every 15 minutes the sheet is checked for invoices with Status set to Ready. 2. Line items are matched to each invoice by invoice number, then subtotal, tax and total are worked out. 3. Invoices with missing data are marked Error with the reason, so nothing half-filled goes out. 4. Orshot renders the invoice PDF from a template. 5. Gmail emails the PDF to the client and Google Drive keeps a copy. 6. The row is updated to Sent with the PDF and Drive links. ### Setup 1. Get an Orshot API key at https://orshot.com (the free plan includes 100 credits a month). 2. Add the invoice template (https://orshot.com/templates/2470) to your workspace and pick it in Render invoice PDF. 3. Make a sheet with an Invoices tab and a Line items tab (columns in the description) and pick them in the three Sheets steps. 4. Put your company name, address and payment details in Build invoice data. 5. Add Google Sheets, Gmail and Google Drive credentials, then set a row to Ready.
The steps
- Every 15 minutes
- Get invoices marked Ready
- Get line items
- Build invoice data
- Invoice data valid?
- Not valid
- Render invoice PDF
- Get PDF link
- PDF rendered?
- Render failed
- Download PDF
- Email invoice
- Save PDF to Google Drive
- Wait for both
16 steps in total.
Similar automations
Email AutomationSend weekly Facebook Ads PDF reports with OpenAI, Orshot and Gmail17 stepsContent Writing & GenerationPost new blog articles to social media using RSS, OpenAI and Orshot14 stepsDocuments, PDF & OCRGenerate PDF Invoices, Save to Drive and Email Customers11 stepsFiles & Cloud StorageSave, extract, and log email invoices with Gmail, Drive, Sheets, Claude, and PDF.co29 steps