AI Daily News Article Generator

Automatically generates up-to-date news articles on any chosen topic by searching the latest trending articles on Google and YouTube, extracting key content, and composing a news piece in the inverted pyramid structure. Ideal for content creators, journalists, and marketers wanting fresh, well-structured news in seconds.

How the AI Flow works - AI Daily News Article Generator

How the AI Flow works

Get User Topic

Receives the topic input from the user through chat or button selection.

Search Latest News

Uses Google and YouTube search tools to find top trending and recent articles and videos for the specified topic.

Extract Content

Retrieves and collects the main text content from the identified URLs and videos.

AI Article Generation

An AI agent synthesizes and structures the gathered content into a news article using the inverted pyramid format.

Present Article

Displays the generated news article to the user in a chat-friendly format.

Prompts used in this flow

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.

News Article Generation Agent

Agent that generates the latest news article for a given topic, using Google Search and the URL Retriever tool, and follows the inverted pyramid structure with ...

                Your task is to generate latest news article about topic defined by human input. Enhance the human input query with words like 'latest news' or 'last 24 hours' or 'today' to make sure you find the latest news only.
Search top 5 urls ranking for latest news about given topic on Google Search.
Use URL Retriever tool to extract text from found urls.

Make sure news are latest from last 48 hours. Ignore older news.

News articles should be written in a structure known as the “inverted pyramid.” In the inverted pyramid format, the most newsworthy information goes at the beginning of the story and the least newsworthy information goes at the end.

Focus on detailed information. Don't use phrases like "In todays fast changing world...", "In today's complex...", "is a crucial step", "plays significant role", "fast-paced...", "pivotal role", "In the ever-evolving landscape of" or "In the realm of ...", always cut to the point without useless conclusions or intros.
            

Components used in this flow

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

Purpose and benefits

Daily News Article Generator Workflow

Overview

The Daily News Article Generator is a workflow designed to automate the process of creating up-to-date news articles on any user-specified topic. By integrating Google Search, content retrieval, and AI-driven writing, it generates concise, structured news stories using the journalistically recognized “Inverted Pyramid” format. This automation is particularly useful for content creators, journalists, newsrooms, or bloggers who need to quickly produce reliable, timely news articles at scale.

How the Workflow Operates

1. User Interaction & Topic Input

  • When users open the chat interface, they are greeted with a welcome message and prompted to provide a topic of interest.
  • The interface presents several quick-start button options (e.g., “Nvidia”, “Latest US news”) for users to instantly generate articles on trending topics.
  • Users can also manually input a custom topic via the chat input.

2. Search & Content Gathering

  • The workflow uses Google Search to find the top 5 URLs related to the latest news about the provided topic, focusing on news published in the last 24-48 hours.
  • The “URL Retriever” tool extracts the main content from each of these URLs, ensuring the information is both recent and relevant.
  • Additional tools available include YouTube Search, which could be leveraged for multimedia content or video-based reporting (though the main flow centers around Google News results).

3. Article Generation (AI Agent)

  • An AI agent receives the retrieved news content and the initial user topic.
  • The agent is instructed (via a detailed system prompt) to:
    • Enhance search queries with keywords like “latest news”, “last 24 hours”, or “today” to guarantee recency.
    • Strictly use content from the last 48 hours, ignoring older sources.
    • Write the article in the Inverted Pyramid style—putting the most newsworthy facts at the top, followed by supporting details, and ending with less critical background information.
    • Avoid generic filler phrases, conclusions, or unnecessary introductions.
    • Focus on delivering clear, detailed, and directly relevant information.

4. Output & Chat Integration

  • The generated article is displayed to the user in the chat interface.
  • Chat history is maintained, allowing users to reference previous interactions or generated articles.
  • Each button response and action is visibly routed to separate chat outputs for clarity and UI feedback.

Visual Workflow Structure

StepNode/Tool InvolvedPurpose
Chat OpenedChatOpenedTriggerTriggers welcome and button rendering
Button Selection/Custom InputButtonWidget/ChatInputReceives user topic or button choice
Search for NewsGoogleSearchFinds latest relevant news URLs
Retrieve Article ContentURLContentExtracts text from found news URLs
(Optional) Video ContentYouTubeSearchToolRetrieves relevant YouTube videos
AI Article GenerationToolCallingAgentComposes the news article
Display ResultChatOutputShows the news article in the chat
Maintain ContextChatHistoryRemembers previous chats and results

Key Features & Benefits

  • Scalable: Automates the repetitive steps of researching and writing news, enabling more content to be produced with less manual effort.
  • Timely: Always pulls the latest information, ensuring published articles are up to date.
  • Consistent Structure: Guarantees professional journalistic standards via the Inverted Pyramid format.
  • Customizable: Users can generate articles on any topic or select from trending subjects with a single click.
  • Efficient: Reduces time spent on research, content gathering, and drafting.

Use Cases

  • Newsrooms seeking rapid article drafts on breaking stories.
  • Content marketers wanting to automate news curation for newsletters or blogs.
  • Individual journalists or bloggers who need quick, well-structured coverage of trending topics.
  • Automated news platforms that require consistent, high-quality content at scale.

Why This Workflow is Valuable

This workflow streamlines the entire process of news article creation—from research to writing to delivery—using automation and AI. It eliminates bottlenecks associated with manual research, ensures accuracy and timeliness, and allows for consistent, professional output, making it highly beneficial for anyone looking to scale up content production or stay ahead in the fast-moving world of news.

Let us build your own AI Team

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.

Learn more