Templates / Generate branded PDF sales proposals with Gemini, APITemplate.io and Gmail

Generate branded PDF sales proposals with Gemini, APITemplate.io and Gmail

Ready for 3.0

by Michael Cedeño ✓ · 0 views · created 2026-09-18 · Document Extraction, Multimodal AI

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 15 nodes and runs when someone submits an n8n form (“Sales Proposal Generator”). Along the way it connects Google Gemini Chat Model and Gmail. It also calls rest.apitemplate.io over HTTP.

How it runs

Trigger: When someone submits an n8n form (“Sales Proposal Generator”).

  1. Your Business Profile (Edit Fields (Set)): sets 7 fields: agency_name, agency_email, agency_phone…
  2. Has Website? (If): checks a condition and branches into true / false
  3. Fetch Prospect Website (HTTP Request): calls an HTTP API
  4. Read Prospect Website (Code): runs custom JavaScript code
  5. Draft Proposal (Basic LLM Chain): sends a prompt to an LLM, with model: Google Gemini; output parser: Output Format
  6. Prices Complete? (If): checks a condition and branches into true / false
  7. Build HTML (Code): runs custom JavaScript code
  8. Ask For Missing Prices (Gmail): uses Gmail
  9. Post to PDF API (HTTP Request): calls rest.apitemplate.io (POST)
  10. Name Proposal File (Code): runs custom JavaScript code

…plus 2 more steps. See the full node list below.

Services it uses

Google Gemini Chat ModelGmail

HTTP calls to: rest.apitemplate.io

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (9)

From the author

Quick overview This workflow collects prospect details via an n8n form, uses Google Gemini to draft a structured sales proposal, renders it into a branded PDF using APITemplate.io, and creates a pre-addressed Gmail draft with the PDF attached (or emails you…

Excerpt from Michael Cedeño's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.