Skip to content
FlowHubFluxonLab
C
Gmailfree

Generate and email PDFBolt template PDFs via Gmail webhook

by PDFBoltadapted from n8n official workflow galleryUpdated Aug 2026
RequiresCCodeGmailGmail
Share Post Share
WeReceive template dataReceive templat…CoPrepare template requestPrepare templat…PBGenerate PDF from PDFBolt templateGenerate PDF fr…RTReturn success responseReturn success …IfRequest valid?Email PDF attachmentEmail PDF attac…RTReturn error responseReturn error re…123456
1/5
STEPS · 6
Starts on an incoming request

Quick overview This workflow receives a POST webhook payload, validates required fields, generates a PDF from a published PDFBolt template using provided template data, emails the PDF as an attachment via Gmail, and returns a JSON success or 400 error response to the caller. How it works Receives a POST webhook request containing templateData and a recipientEmail. Validates the payload, builds a safe PDF filename, and prepares the email subject and message text. Returns a 400 JSON response when required fields are missing. Sends the validated templateData to PDFBolt to render a PDF from the specified published template and returns it as binary data. Emails the generated PDF attachment to the recipient using Gmail. Responds to the original webhook request with a JSON success message including the filename and recipient email. Setup Install the PDFBolt community node and add your PDFBolt API key credentials. Create and publish a template in PDFBolt, then paste the template ID into the PDFBolt node. Connect a Gmail account in n8n with permission to send emails.

Tags

n8nreference-onlygmail
Connects
CCodegmailGmail
CategoryGmail
Triggermanual
Complexitymedium
Nodes7
AddedJul 9, 2026

Related workflows

See all Gmail
Cgmailsheets
free

Export Google Sheets data to CSV or Excel and send via Gmail

Quick Overview This workflow collects a Google Sheet export request via an n8n Form, reads the requested tab from Google Sheets, converts the data to CSV or Excel, and emails the generated file to the requester using Gmail. How it works Receives a sheet export request through an n8n Form that captures the Google Sheet ID, optional tab name, desired format (CSV or XLSX), output file name, and recipient email address. Reads the rows from the specified Google Sheets document and tab. Validates the inputs, stops with an error if the email or Sheet ID is invalid, and aborts if the sheet is empty or the tab name is incorrect. Routes the data to either a CSV or XLSX conversion based on the selected export format. Generates the file (CSV or Excel) from the sheet rows and attaches it to an email. Sends the exported file to the user via Gmail, including basic details like file name, format, row count, and the source Sheet ID. Setup Connect a Google Sheets OAuth2 credential with access to the spreadsheets you want to export. Connect a Gmail OAuth2 credential for sending emails and confirm the sender name and email settings. Activate the workflow and share the source Google Sheets with the con

by isaWOW
Cgmailsheets
free

Export Google Sheets to CSV or Excel and email files with Gmail

Quick Overview This workflow collects a Google Sheet ID and export preferences via an n8n Form, reads the selected tab from Google Sheets, converts the rows to CSV or Excel (XLSX), and sends the generated file as a Gmail attachment to the requester. How it works Receives a request through an n8n Form that asks for an email address, Google Sheet ID, optional tab name, export format (CSV or XLSX), and an optional file name. Reads the rows from the specified Google Sheets document and tab. Validates the email and Sheet ID, checks that the sheet contains data, and attaches export metadata (format, filename, MIME type, row count) to the items. Routes the run based on the selected format to generate either an XLSX file or a CSV file. Sends an email via Gmail to the provided address with the exported file attached. Setup Connect a Google Sheets OAuth2 credential with access to the spreadsheets you want to export. Connect a Gmail OAuth2 credential for the account that sends the export emails. Activate the workflow and share the form URL, then ensure requesters provide the correct Sheet ID and (if used) the exact tab name.

by isaWOW
Cgmailgoogledrive
free

Save starred Gmail emails as Markdown notes to an Obsidian Google Drive folder

Quick overview This workflow runs daily, finds starred Gmail emails that are not yet labeled as saved, converts each email into a Markdown note with YAML frontmatter, uploads the note to a Google Drive folder synced with your Obsidian vault, and then labels the email to prevent duplicates. How it works Runs every day at 7am on a schedule trigger. Searches Gmail for emails matching your query (default: starred) while excluding messages already labeled obsidian-saved. Converts each matching email into a Markdown file with YAML frontmatter (title, from, date, tags) and the email body, using a date-prefixed, filesystem-safe filename. Processes emails one at a time to avoid rate limits and ensure reliable saves. Creates a .md file in the selected Google Drive folder using the generated filename and Markdown content. Adds the obsidian-saved label to the original Gmail message so it is skipped in future runs. Setup Add Gmail OAuth credentials and ensure your account has access to read messages and apply labels. Add Google Drive OAuth credentials and select the destination Drive and folder ID where your Obsidian vault syncs (for example, a folder inside your vault). Create a Gmail label na

by 43 Sunsets