Automation library · AI assistants

Generate & deploy landing pages with OpenAI and Gemini

Started by someone opening a chat with it, and works across n8n data table. It hands the judgement calls to Gemini and OpenAI. 20 steps: a working afternoon to understand properly.

MediumCalls a model: Gemini, OpenAI

20 stepsMedium: a working afternoon
0Branches: places the flow splits
0Loops or waits
1Service it connects to

The flow

Starts it 1Model 4Logic 6Service 9

The steps in the order they run, from what starts it.

  1. 1Chat inputChat triggerStarts it
  2. 2list deploymentsHttp RequestService
  3. 3Get memory for current sessionData TableService
  4. 4Code in JavaScript1CodeLogic
  5. 5Prepare Chat Prompt with MemoryCodeLogic
  6. 6HTTP RequestHttp RequestService
  7. 7Generate Image PromptOpen AiModel
  8. 8Generate an image1Google GeminiModel
  9. 9Convert Image to Base64Extract From FileService
  10. 10Format Image as Data URISetLogic
  11. 11Upload Image to CloudinaryHttp RequestService
  12. 12Return Hero Image URLCodeLogic
  13. 13Generate HTML (OpenAI)Open AiModel
  14. 14Save HTML to Memory TableData TableService
  15. 15Prepare Vercel Deployment PayloadFunctionLogic
  16. 16Deploy to VercelHttp RequestService
  17. 17Fetch Latest Deployment URL1Http RequestService
  18. 18Make Deployment URL PublicHttp RequestService
  19. 19Format Deployment URLSetLogic
  20. 20Respond to ChatChatModel

How it's built

Starts on
Someone opening a chat with it
Steps
20
Size
Medium: a working afternoon
Connects to
n8n data table
Model
Gemini, OpenAI

Questions

What does it need to run?

An n8n account, and a key for Gemini and OpenAI. You connect your own accounts after importing it; none are included.

What starts it?

It starts on someone opening a chat with it.

Does it use AI?

Yes. It calls Gemini and OpenAI. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Plan an afternoon. 20 steps is enough that you should read each one before running it.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

Before you run it

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 20 steps before you point it at anything that matters.