Collect form-based report requests and send pdfmill PDFs via Gmail and Drive
Quick overview Turn a shared Google Sheets metrics table into validated, branded PDF reports with correction handling, no-data notifications, Google Drive archiving, and Gmail delivery.
How it works Collects the report title, report key, period, recipient email, and optional summary through an n8n Form Trigger. Validates required fields and supported period formats; invalid requests take a correction branch and never consume a render. Loads Google Sheets rows that match both the report key and period, then stops with a clear notification when no metrics match. Aggregates matching rows into KPIs, narrative sections, and a comparison table for the selected reporting period. Renders one branded PDF with pdfmill, uploads that same binary to Google Drive, and sends it to the requester through Gmail.
Setup Install the verified pdfmill node, add a pdfmill API credential, and confirm the report template is available in your account. Connect Google Sheets, Google Drive, and Gmail credentials using the scopes appropriate for your environment. Select the metrics spreadsheet and sheet. Use the exact documented columns for Report key, Period, Metric, Current, Previous, Change, Direction, Section, and Commentary. Choose the Drive folder, share the Form Trigger URL, and test the valid, invalid-period, and no-data paths before publishing.
Requirements A pdfmill account plus Google Sheets, Google Drive, and Gmail access. The metrics sheet must use the documented column schema.
Customization Change the form fields and sheet filters for your taxonomy, add metrics without editing the workflow, replace the pdfmill template for different branding, or swap the delivery nodes.
Additional info The gallery JSON contains no credentials or private resource IDs. Configure those values after importing the workflow.
Related Templates
AI Email Classifier & Auto-Delete for Gmail (SPAM/OFFER Cleaner)
This workflow is designed for freelancers, solopreneurs, and business owners who receive a high volume of irrelevant mes...
Instagram Full Profile Scraper with Apify and Google Sheets
šø Instagram Full Profile Scraper with Apify and Google Sheets This n8n workflow automates the process of scraping ful...
Generate Product Ad Copy & CTAs with GPT-4 for Slack and Airtable
ā” AI Copywriter Pro: Instant Ad Copy & CTA Generator Transform product details into compelling marketing copy in second...
š Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments