Skip to main content

Generate business requirement documents with Multi-agent GPT & Google Workspace

Workflow preview

Workflow preview
100%
Generate business requirement documents with Multi-agent GPT & Google Workspace preview
Open on n8n.io

Important notice

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

1. Workflow Overview

Multi agent RAG system for smarter BRD (Business Requirement Document) writing Who’s it for This workflow is designed for Business Analysts, Project Managers, and Operations Teams who need to autom...

Best for

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

Tools used

n8n-nodes-base.formtrigger, n8n-nodes-base.extractfromfile, n8n-nodes-base.code, @n8n/n8n-nodes-langchain.vectorstoreinmemory, @n8n/n8n-nodes-langchain.documentdefaultdataloader, @n8n/n8n-nodes-langchain.lmchatopenai, n8n-nodes-base.googlesheets, 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 Trung Tran.

Original n8n.io source

1.1 Workflow description

Title
Generate business requirement documents with Multi-agent GPT & Google Workspace
Workflow name
Generate business requirement documents with Multi-agent GPT & Google Workspace

Multi-agent RAG system for smarter BRD (Business Requirement Document) writing

Who’s it for

This workflow is designed for Business Analysts, Project Managers, and Operations Teams who need to automate the creation, tracking, and delivery of Business Requirements Documents (BRDs) from submitted forms and supporting materials. It’s ideal for organizations handling multiple BRD requests and looking to streamline document generation, archiving, and communication.

How it works / What it does

  1. Trigger: The process begins when a BRD request form is submitted along with any supporting files. Sample supporting document PDF: Download URL
  2. Data Recording:
    • Creates a BRD request record and appends it to a tracking Google Sheet.
    • Handles multiple uploaded files, saving them to Google Drive.
    • Creates supporting document records and updates the supporting documents tracking sheet.
  3. Content Extraction & Storage:
    • Extracts text from uploaded PDF files.
    • Inserts extracted content into a vector store for contextual retrieval by AI agents.
  4. Document Generation:
    • Uses two specialized AI agents:
      • General BRD Writer Agent for the overall document structure.
      • Business Requirement Writer Agent for detailed business requirement sections.
    • Both agents query the stored data and produce content, which is then merged.
  5. Metadata & File Creation:
    • Configures metadata for the document.
    • Creates a final document file (Google Docs).
  6. Finalization:
    • Converts the document to PDF Sample output
    • Archives the PDF in Google Drive.
    • Sends a BRD response email to the requester with the completed document.
    • Updates the request status in the Google Sheet as completed.

How to set up

  1. Prepare Google Sheets:
    • Create a BRD tracking sheet.
    • Create a supporting document tracking sheet.
  2. Configure Google Drive:
    • Set up folders for supporting documents and archived PDFs.
    • Ensure the workflow has API access to upload and retrieve files.
  3. Form Integration:
    • Connect your BRD request form to trigger the workflow.
  4. Vector Store:
    • Configure a vector database or embedding store for extracted document text.
  5. AI Agents:
    • Configure the General BRD Writer Agent and Business Requirement Writer Agent with your preferred OpenAI model.
    • Link both agents to the Query Data Tool for retrieving embedded content.
  6. Email Setup:
    • Configure email sending credentials to deliver final BRDs to requesters.

Requirements

  • Google Sheets API credentials.
  • Google Drive API credentials.
  • An OpenAI API key with access to the desired models.
  • A form submission trigger (e.g., Google Forms, Typeform).
  • Vector store or embedding database for contextual AI queries.
  • Permissions for file uploads, downloads, and updates in Google Drive.

How to customize the workflow

  • Custom Templates: Modify the AI agents’ system prompts to match your organization’s BRD format and tone.
  • Metadata Fields: Add custom fields (e.g., department, priority level) during metadata configuration.
  • File Storage Paths: Adjust Google Drive folder structure for project-specific storage.
  • Approval Steps: Insert an approval workflow between draft document creation and final archiving.
  • Notification Channels: Add Slack, Microsoft Teams, or other notification integrations in addition to email.
  • AI Model Selection: Swap the OpenAI model for another LLM or fine-tuned variant to improve BRD quality for your domain.

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 - On form submission

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

Block 2 - Extract from File

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

Block 3 - Handle multiple files

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

Block 4 - Create BRD request record

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

Block 5 - Insert Data to Store

Type / Role
@n8n/n8n-nodes-langchain.vectorStoreInMemory - vectorStoreInMemory
Config choices
Version 1.2

Block 6 - Default Data Loader

Type / Role
@n8n/n8n-nodes-langchain.documentDefaultDataLoader - documentDefaultDataLoader
Config choices
Version 1.1

Block 7 - Query Data Tool

Type / Role
@n8n/n8n-nodes-langchain.vectorStoreInMemory - vectorStoreInMemory
Config choices
Version 1.2

Block 8 - OpenAI Chat Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenAi - lmChatOpenAi
Config choices
Version 1.2

Block 9 - Mark request as completed

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

Block 10 - Create record to update Google Sheet row

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

Block 11 - Request completed?

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

Block 12 - New request added to tracking sheet

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

Block 13 - Archiving PDF File

Type / Role
n8n-nodes-base.googleDrive - googleDrive
Config choices
Version 3

Block 14 - Send BRD response email

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

Block 15 - Create document file

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

Block 16 - Configure metadata

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

Block 17 - Convert document to PDF

Type / Role
n8n-nodes-base.googleDrive - googleDrive
Config choices
Version 3

Block 18 - Add BRD record to tracking

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

Block 19 - Upload supporting

Type / Role
n8n-nodes-base.googleDrive - googleDrive
Config choices
Version 3

Block 20 - Add supporting document record(s)

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

Block 21 - Create supporting document record(s)

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

Block 22 - Embeddings

Type / Role
@n8n/n8n-nodes-langchain.embeddingsOpenAi - embeddingsOpenAi
Config choices
Version 1.2

Block 23 - Query Data Tool1

Type / Role
@n8n/n8n-nodes-langchain.vectorStoreInMemory - vectorStoreInMemory
Config choices
Version 1.2

Block 24 - OpenAI Chat Model1

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenAi - lmChatOpenAi
Config choices
Version 1.2

Showing the first 24 of 37 workflow blocks. Download the JSON for the full node graph.

3. Summary Table

Workflow Generate business requirement documents with Multi-agent GPT & Google Workspace
Complexity advanced
Nodes 37
Categories AI RAG, Multimodal AI
Author Trung Tran
Published 17 Aug 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/7486/7486.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 business requirement documents with Multi-agent GPT & Google Workspace do?

Multi agent RAG system for smarter BRD (Business Requirement Document) writing Who’s it for This workflow is designed for Business Analysts, Project Managers, and Operations Teams who need to autom...

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