Keyword Cluster Prompt
Prompt template for presenting the primary keyword and related keywords in the same cluster.
Primary keyword to focus on: {input}
Other Keywords in the same cluster:
{context}
This AI-powered workflow finds the best SEO keywords for your blog article and automatically rewrites headlines to target those keywords, improving your content’s search engine performance. Ideal for content marketers and SEO specialists looking to boost organic reach and relevance with minimal manual effort.
Receive Article URL and Target Keyword
Collects the article URL and the primary keyword from the user.Extract Headlines from the Article
Retrieves only the headlines (H1, H2, H3) from the given article URL using an AI-powered agent and URL retriever.Discover SEO Keyword Clusters
Finds related and high-performing keywords for the target keyword using Google keyword data.Rewrite Headlines for SEO
Uses AI to rewrite the article's headlines to better target the identified keywords, keeping the original article content unchanged.Output Optimized Headlines
Displays the updated headlines and the changes made for the user to review and use.Below is a complete list of all prompts used in this flow to achieve its functionality. Prompts are the instructions given to the AI model to generate responses or perform actions. They guide the AI in understanding user intent and generating relevant outputs.
Prompt template for presenting the primary keyword and related keywords in the same cluster.
Primary keyword to focus on: {input}
Other Keywords in the same cluster:
{context}
Prompt template instructing the LLM to repurpose article headlines to focus on a new keyword, while keeping paragraphs unchanged.
You are given an article Headline Structure, and a keyword. try to repurpose the article to focus on the given keyword. generate Title, and change the headlines as needed to focus on keywords in the same cluster. KEEP THE PARAGRAPHS OF THE ARTICLE AS THE SAME AS IT WAS. ONLY CHANGE THE HEADLINES (H1, H2, H3) AND TITLE
Also mention the previous headline and the new headline that you changed.
--- Keywords to repurpose the article---
{input}
---
---ARTICLE---
{context}
---
Prompt template for displaying the extracted article headlines.
## The Extracted Headlines:
{context}
Below is a complete list of all components used in this flow to achieve its functionality. Components are the building blocks of every AI Flow. They allow you to create complex interactions and automate tasks by connecting various functionalities. Each component serves a specific purpose, such as handling user input, processing data, or integrating with external services.
Flow description
This workflow automates the process of optimizing article headlines to target new, high-potential keywords. It leverages AI and SEO tools to find the best keywords based on user input, extracts headlines from existing articles, and then rewrites those headlines to improve SEO targeting without altering the article content.
Prompt Engineering: The workflow constructs a detailed AI prompt that includes:
Expert Copywriter Agent: An AI agent, acting as a professional copywriter, processes the prompt and generates optimized headlines.
Step | Purpose | Tool/Agent Used |
---|---|---|
User Input | Collect URL and new keyword | Chat Interface |
Data Structuring | Parse and structure input | Structured Output Generator |
Keyword Research | Find keyword cluster and metrics | Google Keywords API |
Headline Extraction | Extract old headlines from article | Headline Extractor AI Agent |
Prompt Creation | Build AI prompt with keywords & headlines | Prompt Templates |
Headline Rewriting | Rewrite headlines for SEO targeting | Expert Copywriter AI Agent |
Output Display | Show optimized headlines to user | Chat Output |
By chaining together AI copywriting, SEO research, and automated extraction, this workflow delivers a robust, repeatable solution for headline optimization that can save hours of manual work and drive better search rankings.
We help companies like yours to develop smart chatbots, MCP Servers, AI tools or other types of AI automation to replace human in repetitive tasks in your organization.