Skip to main content

Generate comprehensive client brief reports with Llama 3 AI & Google Workspace

Workflow preview

Workflow preview
100%
Generate comprehensive client brief reports with Llama 3 AI & 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

How It Works Trigger: The workflow starts automatically when a new file (PDF, DOCX, or TXT) is uploaded to a specific Google Drive folder for client briefs. Configuration: The workflow sets up key ...

Best for

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

Tools used

n8n-nodes-base.googledrivetrigger, n8n-nodes-base.set, n8n-nodes-base.if, n8n-nodes-base.extractfromfile, @n8n/n8n-nodes-langchain.lmchatgroq, @n8n/n8n-nodes-langchain.outputparserstructured, @n8n/n8n-nodes-langchain.agent, n8n-nodes-base.googledocs

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Generate comprehensive client brief reports with Llama 3 AI & Google Workspace
Workflow name
Generate comprehensive client brief reports with Llama 3 AI & Google Workspace

How It Works

  • Trigger: The workflow starts automatically when a new file (PDF, DOCX, or TXT) is uploaded to a specific Google Drive folder for client briefs.

  • Configuration: The workflow sets up key variables, such as the folder for storing reports, the account manager’s email, the tracking Google Sheet, and the error notification email.

  • File Type Check & Text Extraction: It checks the file type and extracts the text using the appropriate method for PDF, DOCX, or TXT files.

  • Extraction Validation: If text extraction fails or the file is empty, an error notification is sent to the designated email.

  • AI Analysis: The extracted text is analyzed using Groq AI (Llama 3 model) to summarize the brief, extract client needs, goals, challenges, and more.

  • Industry Research: The workflow performs additional AI-powered research on the client’s industry and project type, using Wikipedia and Google Search tools.

  • Report Generation: The analysis and research are combined into a comprehensive, formatted report.

  • Google Doc Creation: The report is saved as a new Google Doc in a specified folder.

  • Logging: Key details are logged in a Google Sheet for tracking and record-keeping.

  • Notification: The account manager receives an email with highlights and a link to the full report.

  • Error Handling: If any step fails (e.g., text extraction), an error email is sent with troubleshooting advice.

Setup Steps

  1. Google Drive Folders: Create a folder for incoming client briefs. Create a folder for storing generated client summary reports.

  2. Google Sheet: Create a Google Sheet with a sheet/tab named “Brief Analysis Log” for tracking analysis results.

  3. Google Cloud Project: Set up a Google Cloud project and enable APIs for Google Drive, Google Docs, Google Sheets, and Gmail. Create OAuth2 credentials for n8n and connect them in your n8n instance.

  4. Groq AI Credentials: Obtain API credentials for Groq AI and add them to n8n.

  5. SerpAPI (Optional, for Google Search): If using Google Search in research, get a SerpAPI key and add it to n8n.

n8n Workflow Configuration:

In the “Workflow Configuration” node, set the following variables:

  • clientSummariesFolderId: Google Drive folder ID for reports.
  • accountManagerEmail: Email address to notify.
  • trackingSheetId: Google Sheet ID for logging.
  • errorNotificationEmail: Email for error alerts.

Connect All Required Credentials:

Make sure all Google and AI nodes have the correct credentials selected in n8n. Test the Workflow:

Upload a sample client brief to the monitored Google Drive folder. Check that the workflow runs, generates a report, logs the result, and sends the notification email.

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 - New File in Client Briefs Folder

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

Block 2 - Workflow Configuration

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

Block 3 - Check File Type

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

Block 4 - Extract Text from PDF

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

Block 5 - Extract Text from DOCX

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

Block 6 - Extract Text from TXT

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

Block 7 - Groq Chat Model

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

Block 8 - Structured Output Parser

Type / Role
@n8n/n8n-nodes-langchain.outputParserStructured - outputParserStructured
Config choices
Version 1.3

Block 9 - Analyze Client Brief

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 3

Block 10 - Create Google Doc Report

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

Block 11 - Send Email to Account Manager

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

Block 12 - Deep Industry Research

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 3

Block 13 - Research Output Parser

Type / Role
@n8n/n8n-nodes-langchain.outputParserStructured - outputParserStructured
Config choices
Version 1.3

Block 14 - Wikipedia Research Tool

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

Block 15 - Groq Research Model

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

Block 16 - Combine Analysis and Research

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 3.2

Block 17 - Generate Comprehensive Report

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

Block 18 - Log to Tracking Sheet

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

Block 19 - Check Extraction Success

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

Block 20 - Send Error Notification

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

Block 21 - SerpAPI Google Search

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

Block 22 - Main Overview

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

Block 23 - Stage 1: Input & Preparation

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

Block 24 - Stage 2: AI Processing

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

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

3. Summary Table

Workflow Generate comprehensive client brief reports with Llama 3 AI & Google Workspace
Complexity advanced
Nodes 26
Categories Market Research, AI RAG
Author DigiMetaLab
Published 17 Dec 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/11879/11879.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 comprehensive client brief reports with Llama 3 AI & Google Workspace do?

How It Works Trigger: The workflow starts automatically when a new file (PDF, DOCX, or TXT) is uploaded to a specific Google Drive folder for client briefs. Configuration: The workflow sets up key ...

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