Keyword Cluster Prompt
Prompt to present the primary focus keyword and other cluster keywords for context.
Primary keyword to focus on: {input}
Other Keywords in the same cluster:
{context}
Automatically optimize your article’s headlines and title for a specific keyword or keyword cluster to improve SEO performance. This workflow analyzes your article, gathers related keywords, extracts existing headlines, and uses AI to rewrite and enhance them for better ranking potential.
Receive Article URL and Target Keyword
Collect the article URL and the desired keyword from the user.Fetch and Analyze Related Keywords
Retrieve keyword cluster and related search terms for the target keyword using Google data.Extract and Analyze Article Headlines
Scrape the article to extract existing H1, H2, and H3 headlines.Rewrite Headlines for SEO
Use AI to rewrite the article's title and headlines to better target the selected keyword cluster while keeping the article's content intact.Display Optimized Headlines
Present the improved headlines and title to the user for review.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 to present the primary focus keyword and other cluster keywords for context.
Primary keyword to focus on: {input}
Other Keywords in the same cluster:
{context}
Prompt instructing the LLM to rewrite article headlines and title to target given keywords, keeping paragraphs unchanged, and to show before/after headlines.
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 to present the extracted headlines in a formatted manner.
## 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 blog/article titles and headings (H1, H2, H3) to focus on a specific target keyword or keyword cluster. By leveraging AI agents, keyword research tools, and content extraction utilities, it helps content creators and SEO professionals update existing articles to better align with desired search terms—improving their relevancy and ranking potential.
Welcome and Instructions: When the workflow is initiated, the user is greeted with a welcome message that explains the tool’s purpose and instructs them to provide:
User Input: The user submits the article URL and chosen keyword.
article_url
: The URL of the blog/article.focusing_keyword
: The target keyword.Prompt Construction:
AI-Driven Optimization:
Step | Input(s) | Process | Output(s) |
---|---|---|---|
Welcome/User Input | None | Greet user, collect URL & keyword | User input |
Structuring Input | User input | Structure as article_url & keyword | Structured data |
Keyword Research | Keyword | Fetch related keywords via Google tool | Keyword cluster |
Headline Extraction | URL | Retrieve and parse article headings | Extracted headlines |
Repurposing | Headlines, keywords | AI rewrites headlines for SEO | Optimized headlines |
Output | Optimized data | Present before/after results | Final output to user |
This workflow provides a robust, automated pipeline for repurposing article headlines for keyword optimization, making it a powerful tool for scaling content updates and improving organic search performance.
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.