OpenCoze
Back to template library

Semrush Keyword Research and Content Ideation Workflow

Content CreationCozeUpdated 2026-04-23

Automatically gather keyword data via Semrush API to quickly identify high-value keywords and generate content ideas, boosting content quality and search visibility.

System Prompt
Use Semrush API to fetch keyword suggestions for {search_query} in {language} language, {region} region. Return up to {max_keywords} keywords with search volume >= {min_search_volume}. Output a table with keyword, search volume, difficulty, CPC, trend.

Variable Dictionary (fill in your AI tool)

This section only explains placeholders. It is not an input form on this website. Copy the prompt, then replace variables in Coze / Dify / ChatGPT.

{search_query}

Primary keyword or phrase to research

Filling hint: replace this with your real business context.

{language}

Language code, e.g., en, zh-CN

Filling hint: replace this with your real business context.

{region}

Region code, e.g., US, CN

Filling hint: replace this with your real business context.

{max_keywords}

Maximum number of keywords to return

Filling hint: replace this with your real business context.

{min_search_volume}

Minimum search volume threshold

Filling hint: replace this with your real business context.

Quick Variable Filler (Optional)

Fill variables below to generate a ready-to-run prompt in your browser.

{search_query}

Primary keyword or phrase to research

{language}

Language code, e.g., en, zh-CN

{region}

Region code, e.g., US, CN

{max_keywords}

Maximum number of keywords to return

{min_search_volume}

Minimum search volume threshold

Generated Prompt Preview

Missing: 5
Use Semrush API to fetch keyword suggestions for {search_query} in {language} language, {region} region. Return up to {max_keywords} keywords with search volume >= {min_search_volume}. Output a table with keyword, search volume, difficulty, CPC, trend.

How to Use This Template

Best for

Teams that need faster content creation output with more stable prompt quality.

Problem it solves

Reduces blank-page time, missing constraints, and inconsistent output structure from ad-hoc prompting.

Steps

  1. Copy the template prompt.
  2. Paste it into your AI tool (Coze / Dify / ChatGPT).
  3. Replace placeholder variables using the dictionary above.
  4. Run and refine constraints based on output quality.

Not ideal when

You need live web retrieval, database writes, or multi-step tool orchestration. Use full workflow automation for that.

Success Case

Input:
search_query=AI content creation, language=en, region=US, max_keywords=10, min_search_volume=500
Output:
| Keyword | Search Volume | Difficulty | CPC | Trend | | AI content creation | 1,200 | 45 | $1.20 | ↑ | | AI writing tools | 900 | 38 | $0.95 | ↑ | ...

Boundary Case

Input:
search_query=unknownterm, language=en, region=US, max_keywords=10, min_search_volume=500
Fix:
Verify API key validity, check network connectivity, or try a different search term.

What to Try Next

Keep exploring with similar templates and matching tools.

Continue Where You Left Off

No recent items yet.

Workflow Steps

  1. 1. Call Semrush API keyword suggestions endpoint with {search_query}, {language}, {region}, {max_keywords}.

  2. 2. Filter results to keep keywords with search volume >= {min_search_volume}.

  3. 3. Sort remaining keywords by search volume or difficulty and format into a table.

  4. 4. Export the table as CSV or paste directly into a content planning tool.

Constraints

  • search_query is an empty string
  • max_keywords exceeds 1000
  • min_search_volume is negative

Explore More in This Category

Content Creation

Recommended Stack

Tools that work well with this template.

Coze

Official site

Low-code agent workflow platform for fast automation delivery.

Open

OpenAI

Official site

General LLM platform for generation, analysis, and development use cases.

Open