Skip to main content

Generate PRDs and test scenarios with GPT/Claude and PDF export

Workflow preview

Workflow preview
100%
Generate PRDs and test scenarios with GPT/Claude and PDF export preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

Generate Product Requirements Document (PRD) and test scenarios form input to PDF with OpenRouter and APITemplate.io This workflow generates a Product Requirements Document (PRD) and test scenar...

Best for

  • Document Extraction automation workflows
  • Multimodal AI automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

@n8n/n8n-nodes-langchain.lmchatopenrouter, n8n-nodes-base.stickynote, @n8n/n8n-nodes-langchain.chainllm, n8n-nodes-base.formtrigger, n8n-nodes-base.set, n8n-nodes-base.apitemplateio, n8n-nodes-base.form

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Generate PRDs and test scenarios with GPT/Claude and PDF export
Workflow name
Generate PRDs and test scenarios with GPT/Claude and PDF export

📒 Generate Product Requirements Document (PRD) and test scenarios form input to PDF with OpenRouter and APITemplate.io

This workflow generates a Product Requirements Document (PRD) and test scenarios from structured form inputs. It uses OpenRouter LLMs (GPT/Claude) for natural language generation and APITemplate.io for PDF export.

Who’s it for

This template is designed for product managers, business analysts, QA teams, and startup founders who need to quickly create Product Requirement Documents (PRDs) and test cases from structured inputs.

How it works

  1. A Form Trigger collects key product details (name, overview, audience, goals, requirements).
  2. The LLM Chain (OpenRouter GPT/Claude) generates a professional, structured PRD in Markdown format.
  3. A second LLM Chain creates test scenarios and Gherkin-style test cases based on the PRD.
  4. Data is cleaned and merged using a Set node.
  5. The workflow sends the formatted document to APITemplate.io to generate a polished PDF.
  6. Finally, the workflow returns the PDF via a Form Completion node for easy download.

⚡ Requirements

  • OpenRouter API Key (or any LLM)
  • APITemplate.io account

🎯 Use cases

  • Rapid PRD drafting for startups.
  • QA teams generating test scenarios automatically.
  • Standardized documentation workflows.

👉 Customize by editing prompts, PDF templates, or extending with integrations (Slack, Notion, Confluence).

Need Help?

Ask in the n8n Forum!

Happy Automating with n8n! 🚀

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 - OpenRouter Chat Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenRouter - lmChatOpenRouter
Config choices
Version 1

Block 2 - OpenRouter Chat Model1

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenRouter - lmChatOpenRouter
Config choices
Version 1

Block 3 - Sticky Note

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

Block 4 - PRD LLM Chain

Type / Role
@n8n/n8n-nodes-langchain.chainLlm - chainLlm
Config choices
Version 1.7

Block 5 - Test Case LLM Chain

Type / Role
@n8n/n8n-nodes-langchain.chainLlm - chainLlm
Config choices
Version 1.7

Block 6 - Get User Input

Type / Role
n8n-nodes-base.formTrigger - formTrigger
Config choices
Version 2.2

Block 7 - Merge PRD and Test Case

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 8 - Create Document in PDF

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

Block 9 - Let User Download

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

3. Summary Table

Workflow Generate PRDs and test scenarios with GPT/Claude and PDF export
Complexity intermediate
Nodes 9
Categories Document Extraction, Multimodal AI
Author Alok Kumar
Published 31 Aug 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/8073/8073.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 PRDs and test scenarios with GPT/Claude and PDF export do?

Generate Product Requirements Document (PRD) and test scenarios form input to PDF with OpenRouter and APITemplate.io This workflow generates a Product Requirements Document (PRD) and test scenar...

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 Document Extraction, Multimodal AI use case.