Skip to content

Daily

Get daily content ideas from search trends in a sheet

Each morning five post ideas based on what people are searching and reading in your niche are added to your content sheet.

Runs
Daily
Apps
Google Sheets, SerpApi
AI
Yes, uses the built-in AI allowance
Access
Sheets write; SerpApi key

Send this to your assistant

Create a ClickRuntime automation: every morning, search Google News and Google Trends for my niche and add 5 post ideas to my Content Ideas sheet with the reason each one is timely.

Paste it into your assistant. It tells you what it will send or change before it runs live.

First time? Adding ClickRuntime to your assistant takes about two minutes.

Why use it

Why teams use this automation

A small coffee roaster runs a blog, a newsletter and an Instagram account with one part-time marketer. The hardest part of the job is not writing but deciding what to write about. Ideas dry up by Wednesday, and posts end up being about whatever the roaster happened to think of rather than what customers are curious about that week.

This automation fills the ideas column every morning. It checks Google News for your niche and Google Trends for rising related searches through SerpApi, and AI suggests five post ideas with a one-line reason each is timely. The marketer opens the sheet, picks the best ones, and starts writing.

What you get out of it

  • Never start from a blank page

    Five fresh ideas each morning means there is always something to pick from. The hardest part of a content routine becomes the easiest.

  • Topics people are already searching for

    Ideas come from rising searches and current news, not guesswork. Posts on topics with growing interest are more likely to be found and shared.

  • A record of ideas over time

    Every idea is kept in the sheet with its date and reason. Good ones you skip today are still there to use next month.

  • Fits a small team's routine

    One person can review five ideas in a couple of minutes. It suits teams without time for formal trend research.

How it works

What happens, step by step

  1. Every morning, ClickRuntime searches Google News and Google Trends for the terms that describe your niche, through SerpApi.

  2. It collects the latest headlines and the related searches that are rising.

  3. AI suggests five post ideas from those results, each with a one-line reason it is timely, avoiding ideas it suggested recently.

  4. The ideas are added as new rows in your Content Ideas sheet with today's date.

Before it runs live

  • Connect your Google Sheets account and pick the spreadsheets it may use
  • Connect SerpApi

What you get

RunsDaily
Get daily content ideas from search trends in a sheettoday, 9:00Succeeded
Google Sheets · Content IdeasWhy cold brew concentrate is trending this autumn | Searches for "cold brew at home" are rising fast

Build your own

Need it to work differently?

This template is a starting point. Copy the prompt and change it, or describe a different automation from scratch, with your own conditions, more apps or an AI step. Your assistant writes it, tests it and runs it on ClickRuntime.
  • Your own rules

    Conditions, thresholds, filters and exceptions, written the way you'd explain them to a colleague.

  • Any number of apps

    One automation can read from one app and update several others. Over 248 apps are ready, and anything with an API works too.

  • AI where it helps

    Summaries, classification, extraction and drafts use ClickRuntime's built-in AI, with no extra key.

  • On a schedule or on each event

    Runs as often as every 5 minutes, or the moment an app sends an event, and keeps track of what it already handled.

Changes you can ask for

  • Run it at a different time, more or less often, or only on weekdays
  • Change what the AI looks for, or how it writes the result
  • Add another app, for example also send it to Slack
  • Combine it with other Google Sheets and SerpApi steps into one automation

Under the hood

The code that runs this automation

This is the Python script that runs each time the automation starts. Your AI assistant writes it for you when you send the prompt, and you allow each step in your assistant. To change how the automation works, describe the change to your assistant and it updates the script for you. For every function it can use, see the script reference.
content_and_topic_ideas_from_search_trends_logged_to_a_sheet.pyexample
from datetime import date
from google.oauth2.credentials import Credentials
from googleapiclient.discovery import build
from clickruntime import on_trigger, credentials, http, state, ai

SHEET_ID = "your-spreadsheet-id"
NICHE = "specialty coffee"

@on_trigger
def run(event):
    key = credentials.secret("SERPAPI_API_KEY")
    news = http.get("https://serpapi.com/search", params={"engine": "google_news", "q": NICHE, "api_key": key}).json().get("news_results", [])[:10]
    trends = http.get("https://serpapi.com/search", params={"engine": "google_trends", "q": NICHE, "data_type": "RELATED_QUERIES", "api_key": key}).json()
    rising = [q["query"] for q in trends.get("related_queries", {}).get("rising", [])[:10]]
    recent = state.get("recent") or []
    schema = {"type": "object", "properties": {"ideas": {"type": "array", "items": {"type": "object",
              "properties": {"idea": {"type": "string"}, "why": {"type": "string"}}, "required": ["idea", "why"]}}}, "required": ["ideas"]}
    prompt = f"Niche: {NICHE}\nHeadlines:\n" + "\n".join(n["title"] for n in news) + f"\nRising searches: {', '.join(rising)}\nAvoid: {'; '.join(recent)}\nSuggest 5 post ideas."
    ideas = ai.generate(prompt, json_schema=schema, max_output_tokens=500).json["ideas"][:5]
    sheets = build("sheets", "v4", credentials=Credentials(credentials.connection("google", "work")), cache_discovery=False)
    sheets.spreadsheets().values().append(spreadsheetId=SHEET_ID, range="Content Ideas!A:C", valueInputOption="RAW",
                                          body={"values": [[date.today().isoformat(), i["idea"], i["why"]] for i in ideas]}).execute()
    state.set("recent", (recent + [i["idea"] for i in ideas])[-70:])
    return {"ideas": len(ideas)}

FAQ

Common questions

How do I define my niche?
Give it a few search terms that describe your topic, such as "specialty coffee" and "home espresso". The more specific they are, the more useful the ideas.
Will it suggest the same ideas again?
It is shown the ideas it added in the last two weeks and told not to repeat them, so suggestions stay fresh.
Can I get ideas for a particular format?
Yes. Ask for ideas for blog posts, short videos or newsletter sections, and each suggestion is shaped for that format.
What permissions does it need?
Sheets write; SerpApi key. Nothing else in your accounts is used.
Does it need AI?
Yes. It uses ClickRuntime's built-in AI, so you don't need an OpenAI or Anthropic key. Every plan includes a monthly AI allowance.
How many runs does it use?
One run each time it runs (daily). Checks that find nothing to do and stop right away aren't counted.
Can I change how it works?
Yes. Describe the change to your AI assistant, for example a different schedule, channel or filter. It updates the automation, tests it and tells you what changed.

Set up “Get daily content ideas from search trends in a sheet” from your assistant

Copy the prompt above, or connect your assistant first. Free plan, no credit card.