πŸ“Š Generate .com brand names with OpenAI and API Ninjas into Google Sheets

⚑ 84 views Β· πŸ“Š Market Research & Insights

Description

Use OpenAI to generate short, memorable brand names for your app and automatically check .com availability β€” results go straight into Google Sheets.

Categories: AI, Marketing


Description

This n8n workflow helps you find an available .com domain for your product. It uses OpenAI to generate batches of creative, on-brand names (e.g. for a digital wardrobe / closet app, inspired by names like Whering, Acloset, Stylebook), then checks each suggestion via API Ninjas. Available domains are appended to a sheet, taken ones to a separate sheet. On each run it reads both sheets so it never suggests or re-checks the same names. The loop runs until you have at least 15 available domains or hit 10 iterations (20 names per iteration).


Good to know


How it works

  1. Start: Manual Trigger runs Read sheet available and Read sheet closed (in sequence). Build initial state builds alreadyChecked from both sheets and sets totalFound from the available count.

  2. Prepare prompt builds a system and user prompt with your app context and the current alreadyChecked list, then Generate names (OpenAI) returns 20 new names. Normalize to domains cleans and turns them into .com domains.

  3. Check domain (API Ninjas) checks each name. Merge name and API result combines normalized names with API results (only items with a valid available field).

  4. Filter available only and Closed only split results; Append to sheet available and Append to sheet closed write to Google Sheets. State for next run updates totalFound, appends this round’s domains to alreadyChecked, and increments the iteration. Exit or loop stops when totalFound >= 15 or iteration > 10, otherwise loops back to Prepare prompt with the updated state.


How to use

  1. Use the Manual Trigger to run the workflow.
  2. Configure credentials: OpenAI (e.g. OpenAI Vision), Api ninjas (Header Auth, X-Api-Key from api-ninjas.com), and Google Sheets account.
  3. In one Google spreadsheet create two sheets named available and closed, each with header row: domain, name. Set this document and sheet names in the four Google Sheets nodes (Read sheet available, Read sheet closed, Append to sheet available, Append to sheet closed).
  4. If you see repeated 502s, add a Wait node (200–500 ms) before Check domain (API Ninjas) or enable Retry On Fail on that node.

Requirements


Customising this workflow

πŸ”— Nodes Used

Google Sheets, HTTP Request, Filter

πŸ“₯ Import

Download workflow.json and import into n8n: Workflow menu β†’ Import from File

πŸ“– Importing guide Β· πŸ”‘ Credential setup