This section contains the exact prompts and code snippets used across the workflows. You can customize them to adjust the system's behavior. Snippets are provided with clear instructions on which n8n node they belong to.


Workflow 1: Keyword Research & Curation

This workflow uses one primary AI prompt to analyze and filter keywords, along with several JavaScript snippets in Code nodes to format data correctly for the Google Sheet.

AI Prompt

LLM node: Filter out relevant keywords

2. Code Snippets (JavaScript)

Node: Clean the Keywords Data

Node: Format the Keyword Data For future use

Node: Format the Keyword Data for Database

Workflow 2: Brief Generation

This workflow is AI-heavy, using several prompts for analysis and structure generation. It also relies on JavaScript snippets to parse data from SerpApi and clean up scraped web content.

AI Prompts

LLM Node: Extract Relevant References

LLM Node: Extract Structures from Reference Articles

LLM Node: Create the Article Structure

Code Snippets

Node: Filter Out References

Node: Filter Out AI Overview Text Blocks

Node: Filter Out Related Queries