Back to Templates

Generate PRDs and Test Scenarios with GPT/Claude and PDF Export

Created by

Created by: Alok Kumar || alokkumar

Alok Kumar

Last update

Last update 4 days ago

Share


📒 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

🎯 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! 🚀