Skip to main content

Generate .com brand names with OpenAI and API Ninjas into Google Sheets

Workflow preview

Workflow preview
100%
Generate .com brand names with OpenAI and API Ninjas into Google Sheets preview
Open on n8n.io

1. Workflow Overview

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 w...

Best for

  • Market Research automation workflows
  • Multimodal AI automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.stickynote, n8n-nodes-base.manualtrigger, n8n-nodes-base.googlesheets, n8n-nodes-base.code, n8n-nodes-base.httprequest, n8n-nodes-base.if, n8n-nodes-base.filter

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Pavel Zamorev.

Original n8n.io source

1.1 Workflow description

Title
Generate .com brand names with OpenAI and API Ninjas into Google Sheets
Workflow name
Generate .com brand names with OpenAI and API Ninjas into Google Sheets

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

  • API Ninjas free tier supports .com only. Under heavy load you may see occasional 502 errors; the workflow uses Continue On Fail and only processes successful responses. Add a Wait node (200–500 ms) before "Check domain (API Ninjas)" if needed.
  • OpenAI usage depends on your plan (tokens and rate limits). Each iteration sends one request for 20 names.
  • State is passed through the pipeline so that newly checked domains are excluded in the next iteration — no duplicates in suggestions or in the sheets.

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

  • n8n (2.2.3+ recommended)
  • OpenAI API key (for name generation)
  • API Ninjas API key (for domain availability) or other API
  • Google Sheets (one document with two sheets: available, closed; columns: domain, name)

Customising this workflow

  • Different niche: Edit the Prepare prompt node to change the app context and style (e.g. another app category, different reference names). The prompt enforces short names (under 14 characters), letters only, and excludes already-checked domains.
  • Target count and iterations: In Exit or loop, change the conditions (e.g. totalFound > 15 to another number, or iteration = 10 to allow more rounds).
  • Other TLDs: The free API Ninjas tier is .com only; with a paid plan you could extend the workflow to check other zones.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 2 - Manual Trigger

Type / Role
n8n-nodes-base.manualTrigger - manualTrigger
Config choices
Version 1

Block 3 - Read sheet available

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.5

Block 4 - Trigger closed read

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 5 - Read sheet closed

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.5

Block 6 - Build initial state

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 7 - Prepare prompt

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 8 - Generate names (OpenAI)

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4

Block 9 - Normalize to domains

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 10 - Check domain (API Ninjas)

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 11 - Merge name and API result

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 12 - Closed only

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 13 - State for next run

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 14 - Exit or loop

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2

Block 15 - Filter available only

Type / Role
n8n-nodes-base.filter - filter
Config choices
Version 2

Block 16 - Append to sheet available

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.5

Block 17 - Append to sheet closed

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.5

Block 18 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 19 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 20 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 21 - Sticky Note4

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 22 - Sticky Note5

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Generate .com brand names with OpenAI and API Ninjas into Google Sheets
Complexity advanced
Nodes 22
Categories Market Research, Multimodal AI
Author Pavel Zamorev
Published 21 Feb 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/13571/13571.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Generate .com brand names with OpenAI and API Ninjas into Google Sheets do?

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 w...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Market Research, Multimodal AI use case.