Relevant Search Queries to my page
Prompt template for displaying relevant search queries related to the analyzed web page.
---
# Relevant Search Queries to my page:
{context}
---
This AI-powered workflow analyzes the content structure of your web page, compares it with top-ranking competitor pages, and provides tailored recommendations on how to improve your page’s SEO performance. By leveraging Google search, advanced language models, and smart content extraction, it helps you close content gaps and optimize your website for higher search engine rankings.
Receive Web Page URL
User submits the URL of the web page to be analyzed.Extract & Analyze Page Content
The workflow retrieves the structure and headings from the input web page.Discover Competitor Pages
Generates alternative search queries and uses Google Search to identify top competitor pages for the same topic.Compare Content Structures
Extracts competitor page structures and uses AI to compare them with the user's page, identifying strengths and content gaps.Generate SEO Improvement Suggestions
AI delivers actionable recommendations for optimizing the user's web page structure and keywords to enhance search rankings.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 displaying relevant search queries related to the analyzed web page.
---
# Relevant Search Queries to my page:
{context}
---
Prompt template for generating a structured SEO report based on context.
---
# SEO Report
{context}
---
Prompt template instructing the LLM to compare user's web page structure with competitors, suggest improvements, and propose long-tail keywords.
You are SEO specialist.
- Compare structure of my web page with competitor websites.
- Analyze what each competitor did better comparing to my page
- Suggest improved structure of headings for my page to rank higher as competitors
- Focus on keywords used in headings.
- Suggest 5-10 long tail keywords for each paragraph.
Don't return general well known SEO theory, be specific with each improvement, focus on details.
--- MY CURRENT PAGE CONTENT ---
{input}
---
--- COMPETITORS:
{context}
Prompt template for injecting the top competitor pages' content as context.
--- TOP COMPETITOR PAGES ---
{context}
---
System message prompt for the Query Expansion component, instructing the LLM to generate competitor-finding queries.
Generate 4 alternative queries user should ask to find competitor pages similar to input page on google.
One of queries could be H1 heading of the input page
Generate query for google search in the way, that it will not match page on domain of input page (prepend query with -site: <name of domain of input document>)
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 is designed to automate and scale the process of analyzing a web page’s content structure, comparing it with top competitors, and generating actionable SEO recommendations to improve the page’s ranking and visibility. The flow brings together tools for web content extraction, competitor research, AI-powered text generation, and structured reporting.
Step | Description |
---|---|
User Input | User submits their URL. |
Content Extraction | Extract headings and structure from input page. |
Query Expansion | AI generates search queries to find competitors, excluding the user’s own site. |
Competitor Retrieval | Google search + scraping to get competing page content. |
Context Formatting | Competitor data is formatted for AI consumption. |
AI Analysis | LLM compares structures, suggests improvements, and generates keyword ideas. |
Reporting | Structured SEO report and reference materials are presented to the user. |
Supporting Output | Shows relevant search queries and competitor page content as reference. |
This workflow bridges the gap between manual SEO research and scalable, AI-assisted content improvement — making site audits more actionable, efficient, and transparent.
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.