<aside> 📑

This stage turns an approved keyword database into an editorial brief. Research and structure generation are automated; the brief itself remains an editable approval artifact.

</aside>

Workflow map

flowchart LR
A["Approved keyword sheet"] --> B["Download + extract"]
B --> C["Google AI Overview"]
C --> D["Parse text, references,<br>related queries"]
D --> E["AI: Select relevant references"]
E --> F["Scrape up to 5 articles"]
F --> G["AI: Deconstruct article structures"]
G --> H["AI: Create article structure"]
H --> I["Create Google Doc<br>PRE-APPROVE brief"]
I --> J["Human edits + approval"]
J --> K["Move to Approved Briefs"]

What is automated

Human checkpoint

The brief is the central control surface. A person reviews the generated structure, can change headings and scope, add product knowledge, anchors, internal links or custom instructions, and can reject weak evidence. Only moving the brief into Approved Briefs starts article writing.

<aside> 🧩

The automation can generate the brief, but it does not own the editorial decision. A fully custom human-written brief can enter the same downstream workflow.

</aside>

Selected node details

Node Why it matters
Filter Out AI Overview Text Blocks / Filter Out References Deterministic code separates search context from source candidates instead of passing the raw search response directly to the model.
If Checks that AI Overview text and usable https references exist. The error branch stops the research path and sends a Telegram warning.
Extract Relevant References AI gate that may choose only from supplied references; banned candidates and non-article pages are explicitly excluded.
Extract Structures from Reference Articles Turns fetched article text into source-faithful research notes, with special checks around statistics, quotes and citations.
Create the Article Structure1 Main planning agent. It decides article route and section roles from evidence and intent, then returns a strict JSON outline.
Finalize the Brief Builds the actual editable brief document with size, meta, keywords, related queries, custom-instruction space and the structured outline.

<aside> 🤖

The exact prompts for reference selection, source deconstruction and article-structure generation are in Prompts & Code Guide.

</aside>