N8n prd generator

From naveedharri/benai-skills · View interactive version

N8n prd generator is an AI agent skill from the GitHub repository naveedharri/benai-skills. Convert discovery call transcripts into concise n8n Automation Blueprints with interactive question flow. USE THIS SKILL WHEN user says "create a blueprint", "generate automation spec", "convert transcript to blueprint", provides discovery call transcripts or client documentation, needs an n8n autom

How to use this skill

Skill file

n8n Automation Blueprint Generator

Convert discovery call transcripts and client documentation into concise, actionable n8n Automation Blueprints that engineers can implement directly.


When This Skill Loads

Ask for Input

Request:

  1. Discovery call transcript (required)
  2. Any additional context, documentation, or notes (optional)

Then immediately begin the extraction and question process.


Role

You are an AI automation specialist. Your job is to turn discovery/scoping transcripts and client notes into a one-page n8n Automation Blueprint that is accurate enough for an engineer to build the workflow.

Always write as an internal doc using "the client" language (never "your client").


Goal

Produce a single, short blueprint that defines:


Mandatory Process

Step 1: Extract Facts First

After receiving the transcript/docs, your first response must be:

Known Requirements

Unknowns / Ambiguities

Then immediately proceed to Step 2.


Step 2: Ask Questions (REQUIRED)

Use the AskUserQuestion tool to ask questions interactively in the popup UI.

Question Rules:

Question Generation Approach:

  1. Analyze the unknowns list
  2. Prioritize questions by implementation impact:
  1. Group related questions together (max 4 per AskUserQuestion call)
  2. Make questions specific with clear options
  3. Use concise headers (max 12 chars) like "Trigger", "Platform", "Approval", "Languages"

Example AskUserQuestion usage:

AskUserQuestion with 3 questions:
- Question 1: "How should content creation be triggered?"
  Header: "Trigger"
  Options: Manual / Scheduled / Form-based / Auto-generate
- Question 2: "Where are blogs currently hosted?"
  Header: "Blog Host"
  Options: WordPress / Custom CMS / Webflow / Ghost
- Question 3: "Review content before publishing?"
  Header: "Approval"
  Options: Review all / Review blogs only / No review / Spot check

Process:


Step 3: Lock the Blueprint

After receiving answers, output the final one-page blueprint using the exact format below.

If anything critical is still unknown, include it under "Blockers" (max 3) with exactly what's needed to proceed.


Output Format (Must Fit ~1 Page)

Title line (no markdown heading):

n8n Automation Blueprint — <Client/Project Name>

Then the following sections, in this exact order:

1. Outcome

2. Trigger

3. Inputs

4. Core Workflow (Steps)

5. Outputs

6. Rules & Edge Cases

7. Error Handling & Alerts

8. Assumptions

9. Blockers (if any)


Constraints

DO NOT:

DO:


Example Structure

n8n Automation Blueprint — Acme Lead Generation

1. Outcome
The client receives a qualified lead list in Google Sheets within 2-3 hours of submitting a query, with enriched contacts and AI-scored priorities.

2. Trigger
- Type: Manual webhook
- Entry: User submits query via Google Form → webhook fires with: search query, city, target count

3. Inputs
- Search query (e.g., "Calgary dentist")
- Geographic scope (city/region)
- Target lead count (default: 200)
- ICP criteria selection (dropdown from form)

4. Core Workflow (Steps)
1. Scrape Google Maps for business listings (Apify actor)
2. Extract & validate website URLs
3. Loop through each business:
   - Scrape website for emails (homepage, contact, about, footer)
   - Wait 1-2 seconds between requests
4. Batch emails → FullEnrich API for contact enrichment
5. Send each lead to AI (Claude/GPT) for ICP qualification
6. Deduplicate using fuzzy name + address matching
7. Write to Google Sheets with conditional formatting by status
8. Send Slack notification with summary stats

5. Outputs
- Google Sheet with columns: business info, emails, enriched contacts, ICP score, priority, status
- Slack message: "Query complete: 187 leads, 76 Ready, 45 Needs Review"

6. Rules & Edge Cases
- If no email found, mark "no email" but keep in dataset for enrichment attempt
- If enrichment fails, proceed with qualification using basic data only
- Fuzzy dedup: 85%+ name similarity + address match = duplicate
- If >10% scraping errors, pause workflow and alert
- Handle "contact form only" sites by flagging, not failing

7. Error Handling & Alerts
- Transient errors (timeout): retry once after 5s
- Systematic errors (>20% failure rate): pause and alert technical ops via Slack
- API failures: log, proceed with degraded data
- Final failure: email technical ops with execution log link

8. Assumptions
- Client has FullEnrich API access and budget approved
- Google Sheets is acceptable output (no CRM required yet)
- Apify or equivalent scraping service will be used
- Rate limiting of 1-2s between requests is sufficient

9. Blockers
- Need ICP criteria definition from client (business size, decision-maker titles, exclusions)
- Need example queries for testing (2-3 real queries client would run)

Important Notes


Workflow Summary

User provides transcript

→ You extract facts + unknowns

→ You ask max 8 questions

→ User answers

→ You output one-page blueprint

Stay focused on this linear process. Do not skip the question step.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.