Skip to content
FlowHubFluxonLab
C
Gmailfree

Generate, email, and archive PDFs from HTML with PDFBolt, Gmail, and Google Drive

by PDFBoltadapted from n8n official workflow galleryUpdated Aug 2026
RequiresCCodeGmailGmailGoogle DriveGoogle Drive
Share Post Share
CoValidate and prepare requestValidate and pr…IfRequest valid?PBGenerate PDF with PDFBoltGenerate PDF wi…Archive PDF in Google DriveArchive PDF in …RTReturn success responseReturn success …WeReceive HTML payloadReceive HTML pa…RTReturn error responseReturn error re…Email PDF attachmentEmail PDF attac…1234567
1/5
STEPS · 7
Starts on an incoming request

Quick overview This workflow receives an HTML payload from an n8n webhook, validates it, converts HTML to PDF with PDFBolt, emails the PDF through Gmail, archives it in Google Drive, and returns a JSON response with success or error details. How it works Receives HTML and delivery details through an n8n webhook. Validates required fields and prepares the filename, email subject, and message. Returns a 400 JSON error response if html or recipientEmail is missing. Converts HTML to PDF with PDFBolt using the Direct endpoint. Sends the generated PDF as an email attachment through Gmail to the specified recipient. Uploads the same PDF binary file to a chosen Google Drive folder for archiving. Returns a JSON success response to the webhook caller with the recipient email and filename. Setup Install the PDFBolt community node and add your PDFBolt API key from https://app.pdfbolt.com/api-keys. Add Gmail credentials in n8n for sending emails. Add Google Drive credentials in n8n and select the target Drive and folder for archiving. Activate the workflow and copy the Production webhook URL into the app or script that will POST the HTML payload.

Tags

n8nreference-onlygmailgoogle-drive
Connects
CCodegmailGmailgoogledriveGoogle Drive
CategoryGmail
Triggermanual
Complexitycomplex
Nodes8
AddedJul 6, 2026

Related workflows

See all Gmail
Cgmailgoogledrivesheets
free

Generate and email PDF invoices from Google Sheets with Acrewity and Gmail

Quick overview This workflow watches for new order rows in Google Sheets, generates a styled HTML invoice, converts it to a PDF using Acrewity, emails the PDF via Gmail, archives it in Google Drive, and updates the order row status so successful and failed rows are clearly tracked. How it works Triggers every minute when a new row is added to the selected Google Sheets Orders worksheet. Applies your invoice settings (company name, logo URL, tax rate, currency, and email subject prefix) and builds invoice HTML from the row data. Validates required fields (including a valid customer email and a JSON array in the Items column) and writes an error message back to the sheet for invalid rows. Converts valid invoice HTML to a PDF using the Acrewity HTML-to-PDF API and turns the result into a binary file attachment. Sends the PDF invoice to the customer using Gmail. Uploads the PDF to a chosen Google Drive folder and updates the corresponding Google Sheets row with Status = Invoiced. Setup Install the community node package @acrewity/n8n-nodes-acrewity and add an Acrewity API credential. Add Google Sheets, Gmail, and Google Drive credentials in n8n. Create an Orders sheet with headers that

by Acrewity
gmailgoogledrivesheetsW
free

Create personalized videos from Google Sheets with iLoveVideoEditor and Gmail

Quick overview This workflow watches Google Sheets for new rows, renders a personalized video with iLoveVideoEditor using the row data, uploads the finished MP4 to Google Drive, writes the Drive link back to the same sheet row, and emails the link to the recipient via Gmail. How it works Triggers on a schedule when a new row is added to a specified Google Sheets worksheet. Skips rows where the Title field is empty. Starts a video render in iLoveVideoEditor from the cinematic-title template using the row’s Title and Subtitle as template variables. Polls iLoveVideoEditor every 60 seconds (up to 20 attempts) until the render status becomes completed, or stops early if the status becomes failed. When completed, downloads the MP4 from the render URL, uploads it to a specified Google Drive folder, and generates a shareable Drive view link. Updates the original Google Sheets row (matched by ID) with the Video URL and sends the Drive link to the row’s Email address via Gmail. If the render fails, times out, or errors, sends a failure alert email via Gmail with the row details. Setup Install the community node n8n-nodes-ilovevideoeditor (required for self-hosted n8n) and add your iLoveVideo

by iLoveVideoEditor
gmailgoogledrive
free

Get an mp4 attachment from Gmail to Google Drive

This simple workflow allows you to get an mp4 attachment from gmail email and then upload it to Google Drive to get attachment webview link.

by Wilbert Muza