Daily news briefing drafted to Gmail every morning
Every weekday at 6am, get a curated, deduped news digest waiting as a Gmail draft you can skim in 90 seconds.
Build me a personalized daily news briefing that lands as a Gmail draft I can review and read every weekday morning. Trigger this on a cron schedule at 6:00am in my local time zone, Monday through Friday.
Inputs I want to configure on the workflow:
1. A list of topic queries. Each entry has a short label (for example "AI infrastructure", "Climate policy", "NVIDIA", "Southeast Asia") and a search query string written in NewsAPI's query syntax. I should be able to add, remove, or reorder topics without editing code. Seed it with three or four example topics so I can see the shape.
2. My email address, used as the recipient on the draft.
3. Bullets per section, default 4, allowed range 3 to 5.
4. A toggle for whether to leave the email as a Gmail draft (default) or send it directly.
On each run, the agent should:
Step 1. For every configured topic, use NewsAPI's Search Everything action to fetch articles from the last 24 hours that match the topic's query. Sort by publishedAt descending and request English-language results by default. Pull enough articles per topic (around 20 to 30) to have room to dedupe and rank.
Step 2. Dedupe near-identical stories across all topics and sources. Treat two articles as duplicates if they share the same canonical URL, or if their titles are very close (normalize case, strip punctuation, compare on the first 8 to 10 significant words). When duplicates exist, keep the version from the more reputable source and discard the rest.
Step 3. Cluster the remaining articles back under their originating topic. Within each topic, rank by a mix of recency and source quality, then keep the top N where N is the configured bullets-per-section number. Drop topics that have zero articles after deduping so the briefing never contains empty sections.
Step 4. Write the briefing as a sectioned HTML email. The structure must be:
- A short "Top headlines" opening paragraph (2 to 4 sentences) that calls out the most important 2 to 3 stories across all topics in plain prose.
- One section per topic, in the order topics were configured. Each section has a bold label heading (the topic's short label) followed by 3 to 5 bullet points. Each bullet is a single-sentence summary of one article, followed by the source name in parentheses and a hyperlink to the article URL on the source name.
- A short footer line noting the briefing was generated by General Input and the time window covered.
Keep the writing crisp and factual. No marketing fluff, no emoji, no "in today's edition" filler. One sentence per bullet, maximum.
Step 5. Save the result as a Gmail draft using the Create a Draft action. Address it To: my configured email address. Set the subject line to "Daily Brief: YYYY-MM-DD" using today's date in my local time zone. Use the HTML body from step 4. Do not send the draft unless the send-directly toggle is enabled.
Error handling: if NewsAPI returns a rate-limit or quota-exhausted error, skip the remaining topics and still create a draft with whatever was successfully fetched, plus a one-line note at the top that the brief is partial. If Gmail draft creation fails, retry once, then surface the error in the run log.
The point of this workflow is to replace doomscrolling through five different news apps with one curated draft that takes 90 seconds to read.
Additional information
What does this prompt do?
- Pulls the last 24 hours of news for each topic, company, or region you care about, from 80,000+ sources worldwide.
- Removes near-duplicate stories so the same headline does not appear three times under three different outlets.
- Writes a sectioned briefing with a top-headlines paragraph and one labeled section per topic, three to five bullets each, source and link included.
- Saves the briefing as a Gmail draft addressed to you with a dated subject line, ready to read or forward.
What do I need to use this?
- A NewsAPI account (the free Developer plan works for personal use).
- A Gmail account you can connect with permission to create drafts.
- A short list of topics, keywords, companies, or regions you want covered each morning.
How can I customize it?
- Change the schedule to a different time, time zone, or run it seven days a week instead of weekdays.
- Edit the topic list anytime to add a new competitor, drop a region, or follow a breaking story.
- Adjust how many bullets appear per section, or have the agent send the email straight away instead of leaving it as a draft.
Frequently asked questions
Will the same story show up under multiple topics?
Why a Gmail draft instead of just sending the email?
Can I follow specific companies or just broad topics?
What happens on slow news days when a topic has nothing?
Does the free NewsAPI plan work for this?
Replace five news apps with one morning email.
Connect NewsAPI and Gmail once, and Geni drafts your personalized briefing every weekday at 6am.