Quick overview
This workflow collects a one-sentence startup idea via an n8n form, uses OpenAI and SerpApi to generate a full startup plan, creates a PostgreSQL schema, publishes a live landing page via GitHub Gist, and exports deliverables to Google Drive, Notion, Google Sheets, Gmail, Slack, and Telegram.
How it works
- Receives a one-sentence startup idea through an n8n Form trigger.
- Uses OpenAI to expand the idea into structured fields, searches Google results via SerpApi, and summarizes up to five competitors with pricing and features.
- Uses OpenAI to generate target customer personas and a lean business model canvas based on the idea and competitor context.
- Uses OpenAI to write a Markdown PRD, generate PostgreSQL CREATE TABLE statements, executes the SQL against a PostgreSQL database, and then generates an OpenAPI 3.0 YAML specification.
- Uses OpenAI to generate a single-file HTML landing page, publishes it to GitHub Gist, and builds a live preview URL using htmlpreview.github.io.
- Uses OpenAI to create marketing copy and a launch checklist, then generates an executive summary and estimates total OpenAI token cost.
- Uploads the generated documents to Google Drive, creates a structured tracker page in Notion, logs a summary row in Google Sheets, and sends the final links via Gmail and Slack.
- If the workflow fails, sends a Telegram alert with the error details.
Setup
- Create and select credentials for OpenAI (HTTP Header Auth), SerpApi (HTTP Query Auth with
api_key), and a GitHub personal access token with gist scope (HTTP Header Auth).
- Add a PostgreSQL credential for a dev/staging database, since the workflow runs generated CREATE TABLE statements.
- Connect Google Drive, Google Sheets, Notion, Gmail, Slack, and Telegram credentials, and set your Telegram chat ID for failure alerts.
- Update the Configuration values (OpenAI model, Notion parent page ID, Google Sheet ID, Google Drive folder ID, recipient email, Slack channel, and token cost rate).
- Ensure your Google Sheet contains a tab named “Startup Ideas” with matching columns (Date, Product Name, Notion Link, Drive Folder, Live Preview, Estimated Cost USD).
- Copy the Form trigger production URL and use it to submit ideas, and optionally set this workflow as the instance Error Workflow so the Telegram alert runs on failures.