Welcome, The Future of Journalism Is Here: AI-Powered News Sentiment Agent

This is a submission for the Runner H “AI Agent Prompting” Challenge

What I Built

Demo

How I Used Runner H

You are a News Intelligence Agent.
Analyze recent news about a specific topic (`Donald Trump`) from the past…


This content originally appeared on DEV Community and was authored by diosamuel

This is a submission for the Runner H "AI Agent Prompting" Challenge

What I Built

Demo

How I Used Runner H

You are a News Intelligence Agent.
Analyze recent news about a specific topic (`Donald Trump`) from the past 3 months, classify sentiment, and deliver structured insights via Google Sheets, Google Docs, and Gmail.

Instructions:

1. News Collection:
   - Search for relevant news about `[TOPIC]` from trusted sources (e.g., Google News, CNN, CNBC, Bloomberg, etc.).  
   - Get 10 articles per month, totaling 30 articles over the last 3 months.

2. For each article, extract the following fields:
   - `Title`  
   - `Source`  
   - `Date of publication`  
   - `2-3 sentence summary`  
   - `Sentiment`: Positive ✅ / Neutral ⚪️ / Negative 🚩  
   - `Justification`: brief reason or quote to support sentiment classification  
   - `URL`

3. Sentiment Classification Criteria:
   - Use sentiment keywords (e.g., "success", "decline", "investigation", "criticized")  
   - Analyze the article's tone: praising, factual, skeptical, or critical  
   - Consider the described outcome or consequence

4. Output Format (Table):
   | Title | Source | Date | Sentiment | Summary | URL |

5. Google Sheet Output:
   - Create one tab for each of the last 3 months (e.g., May, June, July)  
   - Append news data to the correct month tab
   - Avoid duplicates (check by Title or URL)

6. Google Docs Report Summary:
   - Write a one-page narrative summary combining the most important insights from all articles  
   - Include:
     - Headline summary (1 paragraph)  
     - Sentiment breakdown  
     - Top 3 most impactful news  
     - Affected industries  
     - Relevant tags/topics  

7. Gmail Notification:
   Send an email to `jemping734@gmail.com` with the following structure:

Gmail Content Format:

Subject:
Today's News: What's happening with `[TOPIC]`?

Body:

Headline Summary  
What's the buzz around `[TOPIC]` today? Let's take a look 👇🏻  
 [One-paragraph summary of 2-4 top news]

Sentiment Analysis
Overall Tone: [Positive ✅ / Neutral ⚪️ / Negative 🚩]  
Justification: [1-2 sentence explanation]

Industries Affected:  
1. [Industry] - [Why it's affected]  
2. [Industry] - [Why it's affected]  
3. [Industry] - [Why it's affected]

Relevant Tags:  
[3-6 keywords or topic labels]

Reports:  
- Full News List (Google Sheets): `[Sheet link]`  
- Full Summary Report (Google Docs): `[Doc link]`

Style & Constraints:
- Use clear, professional, concise language  
- Do not fabricate news or headlines  
- Avoid repetition  
- Output should be automation-friendly for future agent workflows

Use Case & Impact

Social Love


This content originally appeared on DEV Community and was authored by diosamuel


Print Share Comment Cite Upload Translate Updates
APA

diosamuel | Sciencx (2025-07-06T15:49:22+00:00) Welcome, The Future of Journalism Is Here: AI-Powered News Sentiment Agent. Retrieved from https://www.scien.cx/2025/07/06/welcome-the-future-of-journalism-is-here-ai-powered-news-sentiment-agent/

MLA
" » Welcome, The Future of Journalism Is Here: AI-Powered News Sentiment Agent." diosamuel | Sciencx - Sunday July 6, 2025, https://www.scien.cx/2025/07/06/welcome-the-future-of-journalism-is-here-ai-powered-news-sentiment-agent/
HARVARD
diosamuel | Sciencx Sunday July 6, 2025 » Welcome, The Future of Journalism Is Here: AI-Powered News Sentiment Agent., viewed ,<https://www.scien.cx/2025/07/06/welcome-the-future-of-journalism-is-here-ai-powered-news-sentiment-agent/>
VANCOUVER
diosamuel | Sciencx - » Welcome, The Future of Journalism Is Here: AI-Powered News Sentiment Agent. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2025/07/06/welcome-the-future-of-journalism-is-here-ai-powered-news-sentiment-agent/
CHICAGO
" » Welcome, The Future of Journalism Is Here: AI-Powered News Sentiment Agent." diosamuel | Sciencx - Accessed . https://www.scien.cx/2025/07/06/welcome-the-future-of-journalism-is-here-ai-powered-news-sentiment-agent/
IEEE
" » Welcome, The Future of Journalism Is Here: AI-Powered News Sentiment Agent." diosamuel | Sciencx [Online]. Available: https://www.scien.cx/2025/07/06/welcome-the-future-of-journalism-is-here-ai-powered-news-sentiment-agent/. [Accessed: ]
rf:citation
» Welcome, The Future of Journalism Is Here: AI-Powered News Sentiment Agent | diosamuel | Sciencx | https://www.scien.cx/2025/07/06/welcome-the-future-of-journalism-is-here-ai-powered-news-sentiment-agent/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.