Templates / Dynamically generate a webpage from user request using OpenAI structured output

Dynamically generate a webpage from user request using OpenAI structured output

Ready for 3.0

by Agent Studio ✓ · 59,119 views · created 2024-08-23 · Content Creation, 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 5 nodes and runs when an HTTP GET request hits its webhook URL. Along the way it connects OpenAI. It also calls api.openai.com over HTTP.

How it runs

Trigger: When an HTTP GET request hits its webhook URL.

  1. Open AI - Using Structured Output (HTTP Request): calls api.openai.com (POST)
  2. OpenAI: uses OpenAI
  3. Format the HTML result (HTML): parses or builds HTML
  4. Respond to Webhook: sends the response back to the webhook caller

Services it uses

OpenAI

HTTP calls to: api.openai.com

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 (5)

From the author

This workflow is a experiment to build HTML pages from a user input using the new Structured Output from OpenAI. How it works: - Users add what they want to build as a query parameter - The OpenAI node generate an interface following a structured output…

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