This repository contains the n8n workflow configuration for the "AI Proposal Generator System"[cite: 4]. This automated pipeline is designed to instantly generate premium, branded B2B proposal decks and accompanying delivery emails from a simple form submission[cite: 4].
The system acts as an elite digital systems architect and RevOps consultant[cite: 4]. Upon receiving prospect details via a form, it automatically fetches the prospect's corporate brand assets, uses OpenAI to write and design a custom HTML/CSS presentation, converts that presentation into a PDF, and drafts a personalized email in Gmail[cite: 4].
- Form-Triggered Generation: The workflow is initiated via an n8n form that collects the target company's name, website, problem, proposed solution, and project scope[cite: 4].
- Automated Brand Enrichment: Integrates with the Brandfetch API via an HTTP Request to automatically pull the prospect's primary brand colors, secondary colors, and logo using their website domain[cite: 4].
- AI-Powered Presentation Design: Utilizes the OpenAI
gpt-5-minimodel to programmatically generate a 6-slide, 16:9 HTML/CSS presentation deck[cite: 4]. The AI acts as a "Web Conversion Architect," structuring slides like the Executive Overview, The Gap, Strategic Architecture, and Investment & Scope[cite: 4]. - Dynamic Styling: The generated HTML injects the prospect's specific brand colors and logos directly into the CSS layout, ensuring a highly customized, high-end agency aesthetic[cite: 4].
- Instant PDF Conversion: Uses HTML to PDF conversion nodes to transform the raw HTML code into a formatted PDF document, dynamically named after the target company[cite: 4].
- AI Email Copywriting: A secondary OpenAI node generates a spartan, no-fluff email draft designed to drive the prospect to review the attached PDF and book a discovery call[cite: 4]. The email is automatically signed by "Ginger"[cite: 4].
- Gmail Integration: Automatically creates a draft in Gmail with the subject line "Re: Proposal for [Company Name]", the AI-generated email body, and the customized PDF proposal attached[cite: 4].
- On form submission: The user inputs the prospect's details (instructed to remove
https://from the URL)[cite: 4]. - Brandfetch Context: Fetches visual brand assets from
api.brandfetch.io[cite: 4]. - OpenAI (Deck Builder): Generates the pure HTML/CSS code for the presentation[cite: 4].
- Open AI (Email copy): Drafts the personalized delivery email based on the prospect's specific problem and the proposed solution[cite: 4].
- Convert HTML to PDF: Renders the HTML into a downloadable PDF[cite: 4].
- Gmail: Assembles the final email draft with the PDF attachment[cite: 4].
- Import the provided JSON workflow file into your n8n instance.
- Authenticate and configure your credentials for:
- OpenAI API[cite: 4]
- HTML to PDF account[cite: 4]
- Gmail account[cite: 4]
- Update the Brandfetch HTTP Request node with your active API Bearer token if necessary[cite: 4].
- Ensure the form trigger is active and share the form URL with your sales team.
- Activate the workflow!