AutomationMart
Home/Browse/Auto-generate and auto-fill business documents with Google Sheets & Gmail
n8n

Auto-generate and auto-fill business documents with Google Sheets & Gmail

n8nn8n10 modulesv1.0
GmailGoogle SheetsGoogle DriveLinkedIn

This workflow automates the generation and delivery of personalized business documents (e.g., contracts, job offers, invoices, pay slips) in PDF format. The data source is a Google Sheet, and the documents are created using CraftMyPDF, then uploaded to Google Drive and optionally sent via email. This workflow is ideal for bulk document generation (contracts, invoices, etc.) with minimal manual intervention. --- Benefits Fully Automated: Once triggered, it handles t

At a glance

Auto-generate and auto-fill business documents with Google Sheets & Gmail is a ready-made n8n workflow you import as a workflow JSON file — no build required. It connects Gmail, Google Sheets, Google Drive, LinkedIn. It's free to download. Follow the 5-step import below to go live in minutes.

Platform
n8n
Connects
Gmail, Google Sheets, Google Drive, LinkedIn
Modules
10
Price
Free
Version
v1.0
Auto-generate and auto-fill business documents with Google Sheets & Gmail workflow diagram

About this workflow

This workflow automates the generation and delivery of personalized business documents (e.g., contracts, job offers, invoices, pay slips) in PDF format. The data source is a Google Sheet, and the documents are created using CraftMyPDF, then uploaded to Google Drive and optionally sent via email. This workflow is ideal for bulk document generation (contracts, invoices, etc.) with minimal manual intervention. --- Benefits Fully Automated: Once triggered, it handles the whole pipeline end-to-end—no manual editing or document creation needed. Customizable: Works with any type of business document as long as you provide a CraftMyPDF template. Scalable: Processes multiple entries in batch, ideal for HR departments or finance teams. Integrated: Seamlessly connects Google Sheets, CraftMyPDF, Google Drive, and Gmail. Trackable: Updates the original spreadsheet to keep track of which documents have been processed. --- Requirements Self-hosted n8n instance (required for some advanced node usage). Google Sheet template with columns like: FIRST NAME, LAST NAME, ADDRESS, etc. A CraftMyPDF account with a ready-made template. Google OAuth2 credentials for Sheets, Drive, and Gmail integrations. --- How It Works 1. Trigger & Data Fetch: - The workflow starts with a manual trigger ("When clicking ‘Execute workflow’"). - It retrieves employee data from a Google Sheet ("Get employees"), filtering rows where the "DONE" column is empty. 2. PDF Generation & Processing: - The "Loop Over Items" node processes each employee record individually. - The "Create agreement" node uses CraftMyPDF to generate a PDF contract, populating it with employee details (name, address, email, etc.). - A conditional node ("Success?") checks if PDF creation was successful. 3. PDF Handling & Notifications: - The PDF is fetched ("Get agreement") and uploaded to Google Drive ("Upload agreement") with a filename like [First-Name]-[Last-Name].pdf. - An email with the PDF attachment is sent to the employee via Gmail ("Send email with PDF"). 4. Tracking & Completion: - The Google Sheet row is updated with "x" in the "DONE" column ("Update row") to mark completion. - The workflow merges results and loops until all records are processed. --- Set Up Steps 1. Prerequisites: - Use the self-hosted version of n8n (required for this workflow). - Clone the provided Google Sheet template. 2. Configure CraftMyPDF: - Create an account on CraftMyPDF. - Design a PDF template and note its Template ID. Insert this ID in the "Create agreement" node. 3. Credentials Setup: - Connect nodes to: - Google Sheets (to fetch/update data). - Google Drive (to store PDFs). - Gmail (to send emails). - CraftMyPDF (for PDF generation). 4. Customization: - Adjust field mappings in the "Create agreement" node to match your PDF template placeholders. - Modify the email template in "Send email with PDF" as needed. 5. Execution: - Run the workflow manually. It will process all rows lacking a "DONE" marker, generating PDFs, sending emails, and updating the sheet automatically. --- Need help customizing? Contact me for consulting and support or add me on Linkedin.

n8n

How to import this n8n workflow

  1. 1

    Download the workflow JSON file after purchase.

  2. 2

    Open n8n → click the menu → Import from File.

  3. 3

    Select the downloaded JSON and import.

  4. 4

    Set up credentials for each node that requires them.

  5. 5

    Click Execute Workflow to test, then activate.

Setup guide

Setup guide included

Purchase to unlock the full step-by-step guide

Related N8n workflows

Upload files to Google Drive using an action from your application

Automatically upload files from your application to Google Drive. Trigger file retrieval and upload using HTTP and Google Drive modules in Make.

Free

Scrape LinkedIn post comments & reactions with Browserflow → export to Google Sheets

Scrape LinkedIn Post Comments & Reactions → Export to Google Sheets This workflow lets you quickly extract all comments and reactions from any public LinkedIn post using Browserflow, then automatically saves the results into two separate Google Sheets tabs. Perfect for audience research, content analysis, engagement tracking, or social listening. ⚠️ Disclaimer – Community Node Notice This template uses a verified community node available inside the n8n cloud environment. To use it, go to “Nodes”

Free

Generate LinkedIn posts with Mistral AI using 7 dynamic content templates

AI-Powered LinkedIn Post Generator Workflow Overview This workflow is a two-part intelligent content creation system built in n8n, designed to generate professional and on-brand LinkedIn posts. It combines a conversational frontend agent that interacts naturally with users and a backend post generation engine powered by structured templates and Mistral Cloud AI models. --- Workflow Structure - Frontend: Conversational “LinkedIn Agent” that guides the user. - Backend: “Post Generator” engine that

Free

Build a Slack knowledge graph with Claude, Neo4j and Google Sheets

Quick Overview This workflow ingests chat messages via a webhook or a 15-minute schedule, filters out low-signal content, uses Anthropic Claude to extract entities and relationships, and stores the resulting knowledge graph in Neo4j while appending an audit log row to Google Sheets. How it works 1. Receives a chat message via an n8n webhook or runs every 15 minutes to process polled Slack data. 2. Normalizes the incoming payload into consistent fields like channel, sender, timestamp, and message

Free

Automate Digital Delivery After PayPal Purchase Using n8n

Automate Digital Delivery After PayPal Purchase Using n8n A Complete Step-by-Step Guide to Seamless Template Delivery Built by Amjid Ali – SyncBricks Deliver personalized files instantly after PayPal transactions using n8n – without writing a single backend line. --- 🚀 What This n8n Workflow Does This automation template helps you automatically deliver a digital product (such as an n8n template or JSON file) to customers who pay via PayPal — within seconds. You can: - Automatically extract c

Free

Automated video creation using Google Veo3 and n8n workflow

Who is this for? Content creators, social media managers, digital marketers, and businesses looking to automate video production without expensive equipment or technical expertise. What problem is this workflow solving? Traditional video creation requires cameras, editing software, voice recording equipment, and hours of post-production work. This workflow eliminates all these barriers by automatically generating professional videos with audio using just text prompts. What this workfl

Free

Personalized thank-you emails with website scraping, GPT-4o, and Gmail

Overview Impress your leads with ultra-personalized “thank you” emails that look hand-written — sent automatically seconds after they submit your intake form. This workflow instantly scrapes the prospect's website, extracts meaningful copy, and uses AI to write a custom thank-you message referencing something specific from their site. It gives the impression you immediately reviewed their business and crafted a thoughtful reply — without lifting a finger. Who’s it for - Agencies and con

Free

Archive HR and legal documents with UploadToURL, Google Drive and Airtable

Eliminate the manual chaos of HR and legal document management. This workflow automates the transition from a raw document upload to a structured, audit-ready archive by combining UploadToURL for instant CDN hosting, Google Drive for long-term storage, and Airtable for status tracking and database management. 🎯 What This Workflow Does Transforms loose document scans into a structured corporate filing system: 1. 📝 Captures Legal Assets - Receives signed contracts or IDs via

Free

Reviews

No reviews yet

Be the first to buy and share your experience.

Leave a review

Sign in to share your experience with this workflow.

Log in to review
Free
No ratings yet

Create a free account to purchase workflows.

  • JSON blueprint — instant download
  • Setup guide PDF included
  • 5 downloads · valid 30 days
  • Works with n8n

Need help setting this up?

Book a 3-hour live setup session with an Agility consultant.

₹2,499/ session
3 hrs · video call
  • Configure live on Google Meet / Zoom
  • Free follow-up if workflow has defects
  • Platform expert assigned to you
Book installation session
Free