Templates / Generate & deploy landing pages with GPT, Gemini and Vercel

Generate & deploy landing pages with GPT, Gemini and Vercel

Needs changes

by Lachlan · 1,286 views · created 2025-11-02 · Content Creation, Multimodal AI

Needs changes. This template uses 2 thing(s) that n8n 3.0 removes: OpenAI (legacy), Function (legacy). 2 breaking item(s) found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 20 nodes and runs when a chat message arrives. Along the way it connects Google Gemini and OpenAI. It also calls api.cloudinary.com and api.vercel.com over HTTP.

How it runs

Trigger: When a chat message arrives.

  1. Get memory for current session (Data table): get
  2. Prepare Chat Prompt with Memory (Code): runs custom JavaScript code
  3. Generate Image Prompt (OpenAI): uses OpenAI
  4. Generate an image (Google Gemini): work with image
  5. Convert Image to Base (Extract from File): extracts data from a file (binary to propery)
  6. Format Image as Data URI (Edit Fields (Set)): sets 1 field: file
  7. Upload Image to Cloudinary (HTTP Request): calls api.cloudinary.com (POST)
  8. Return Hero Image URL (Code): runs custom JavaScript code
  9. Generate HTML (OpenAI) (OpenAI): work with chat
  10. Save HTML to Memory Table (Data table): create or update

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

Services it uses

Google GeminiOpenAI

HTTP calls to: api.cloudinary.com, api.vercel.com

Before you upgrade to n8n 3.0

2 things in this workflow are removed in n8n 3.0. Fix them before you upgrade:

  • OpenAI (legacy) in Generate HTML (OpenAI): replace with OpenAI node (AI section).
  • Function (legacy) in Prepare Vercel Deployment Payload: replace with Code node, mode 'Run Once for All Items'.

Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).

Removed in 3.0Replace with
OpenAI (legacy)
Generate HTML (OpenAI)
OpenAI node (AI section)
Function (legacy)
Prepare Vercel Deployment Payload
Code node, mode 'Run Once for All Items'

Nodes used (11)

From the author

Who’s it for This workflow is for: - People who want to quickly launch simple landing pages without paying monthly fees to landing page creators. It’s ideal for rapid prototyping, generation of large amounts of landing pages, testing campaign ideas, or…

Excerpt from Lachlan'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.