# Generate comprehensive client brief reports with Llama: n8n workflow

> Started by an event in a connected app, and works across Gmail, Google Docs and Google Sheets. It hands the judgement calls to Groq.

Source: https://millionrounds.com/workflow/generate-comprehensive-client-brief-reports-with-llama (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [Research and reporting](https://millionrounds.com/workflows?category=Research+and+reporting#library)

# Generate comprehensive client brief reports with Llama

Started by an event in a connected app, and works across Gmail, Google Docs and Google Sheets. It hands the judgement calls to Groq. 21 steps, 2 branches: large, and worth reading before you trust it with anything live.

Large Calls a model: Groq

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fgenerate-comprehensive-client-brief-reports-with-llama)

**21 steps** Large: read it before trusting it with anything live

**2** Branches: places the flow splits

**0** Loops or waits

**3** Services it connects to

## The flow

Starts it 1 Model 8 Logic 5 Service 7

The steps in the order they run, from what starts it.

- 1 **New File in Client Briefs Folder** Google Drive trigger *Starts it*
- 2 **Groq Chat Model** Lm Chat Groq *Model*
- 3 **Structured Output Parser** Output Parser Structured *Model*
- 4 **Research Output Parser** Output Parser Structured *Model*
- 5 **Wikipedia Research Tool** Tool Wikipedia *Model*
- 6 **Groq Research Model** Lm Chat Groq *Model*
- 7 **SerpAPI Google Search** Tool Serp Api *Model*
- 8 **Workflow Configuration** Set *Logic*
- 9 **Analyze Client Brief** Agent *Model*
- 10 **Deep Industry Research** Agent *Model*
- 11 **Check File Type** If *Logic*
- 12 **Combine Analysis and Research** Merge *Logic*
- 13 **Extract Text from PDF** Extract From File *Service*
- 14 **Extract Text from DOCX** Extract From File *Service*
- 15 **Extract Text from TXT** Extract From File *Service*
- 16 **Generate Comprehensive Report** Code *Logic*
- 17 **Check Extraction Success** If *Logic*
- 18 **Create Google Doc Report** Google Docs *Service*
- 19 **Send Error Notification** Gmail *Service*
- 20 **Log to Tracking Sheet** Google Sheets *Service*
- 21 **Send Email to Account Manager** Gmail *Service*

## How it's built

- **Starts on:** An event in a connected app
- **Steps:** 21, with 2 branches
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Gmail, Google Docs, Google Sheets
- **Model:** Groq

## Questions

What does it need to run?

An n8n account, plus your own Gmail, Google Docs and Google Sheets accounts, and a key for Groq. You connect your own accounts after importing it; none are included.

What starts it?

It starts on an event in a connected app.

Does it use AI?

Yes. It calls Groq. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Take your time. At 21 steps it is large: read it before trusting it with anything live.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

**Before you run it**

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 21 steps before you point it at anything that matters.

## Run it in n8n

- **Create your n8n account** Free to start. n8n is where the workflow runs. [Create an n8n account ↗](https://millionrounds.com/n8n)
- **Download the workflow** Free with a Millionrounds account. [Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fgenerate-comprehensive-client-brief-reports-with-llama)
- **Paste it into n8n** Open a new workflow in n8n and paste. Then connect your own accounts.

Stored with the author's traces removed: canvas notes, instance identifiers, saved credential names and any live document they had left behind.

## Connects to

Each opens the other workflows that use it.

[Gmail](https://millionrounds.com/workflows?service=Gmail#library)[Google Docs](https://millionrounds.com/workflows?service=Google+Docs#library)[Google Sheets](https://millionrounds.com/workflows?service=Google+Sheets#library)

## Workflows like it

Also research and reporting, with the same services where possible, closest in size first.

- [**Automate vendor due diligence research with Gemini and Jina AI** 21 steps · calls a model · Google Sheets](https://millionrounds.com/workflow/automate-vendor-due-diligence-research-with-gemini-and-jina-)
- [**Summarize RSS news with Gemini** 21 steps · calls a model · Google Sheets, RSS](https://millionrounds.com/workflow/summarize-rss-news-with-gemini)
- [**Summarize daily news into a Telegram Telegram digest** 21 steps · calls a model · Google Sheets, RSS](https://millionrounds.com/workflow/summarize-daily-news-into-a-telegram-telegram-digest)
- [**Transcribe media URLs to AI-summarized Google Drive notes** 21 steps · calls a model · Google Drive, Google Sheets](https://millionrounds.com/workflow/transcribe-media-urls-to-ai-summarized-google-drive-notes)
- [**Analyse tender PDFs with LlamaParse and Gemini** 21 steps · Google Sheets, Supabase](https://millionrounds.com/workflow/analyse-tender-pdfs-with-llamaparse-and-gemini)
- [**Sync Meta Ads insights to Google Sheets** 21 steps · Google Sheets](https://millionrounds.com/workflow/sync-meta-ads-insights-to-google-sheets)
