# AI News Brief: Daily Top Stories + LinkedIn & X Drafts (`ingeniela/ai-news-brief`) Actor

Get the day's most important news on AI or any topic from RSS feeds, Hacker News and Google News, merged into ranked stories with summaries and why they matter, plus optional LinkedIn, X, newsletter or Instagram drafts in your voice.

- **URL**: https://apify.com/ingeniela/ai-news-brief.md
- **Developed by:** [Ingeniela](https://apify.com/ingeniela) (community)
- **Categories:** AI, News
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $5.00 / 1,000 story in the briefs

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## AI News Brief: Daily Top Stories + LinkedIn & X Drafts

Stop scrolling ten sites every morning. This Actor reads **RSS feeds** and **Hacker News**, plus **Google News** if you turn it on, for **AI or any topic**. It **merges the headlines about the same event** into one story and **ranks the stories** by how many outlets cover them and how much people discuss them. Each story gets a short **summary in your language** and **why it matters**, with links to every source.

> 🔁 Schedule it every morning: it skips stories from earlier runs, so you get only today's news, for about **$2.70 a month**.

Want to post about it? It also writes **drafts in your voice**, ready to edit: a **LinkedIn post**, an **X thread**, a **newsletter item** or an **Instagram carousel**. It works as a brief on its own too, with no drafts.

### Tutorial (1 minute)

![Step-by-step tutorial: what to fill in, click Start, the real result and the price](https://api.apify.com/v2/key-value-stores/RXaOr7FspyrQ4JP88/records/news-brief-tutorial.gif)

### Who it is for

- **Creators and founders** who post about AI on LinkedIn or X every day.
- **Newsletter writers** who need the week's top stories with links.
- **Teams** that want a short Slack or email digest on their industry (AI, e-commerce, fintech, crypto…).
- **n8n / Make users:** schedule it every morning and send the stories wherever you want.

### What you get

**One row per story:**

- rank, headline and summary (in your language), why it matters, category (model release, funding, policy, research…);
- number of outlets, Hacker News points, all source links, and the Hacker News discussion link;
- the drafts you asked for (`linkedinDraft`, `xDraft`, `newsletterDraft`, `instagramDraft`).

**Daily brief** (`REPORT`, HTML) to read or forward.

Real run, 24 hours of AI news in Spanish: 46 headlines became 6 stories. The top one was a model release covered by 4 outlets, with a ready-to-edit LinkedIn post that has a hook, the news, an opinion and a question.

### How to use it

1. Write your **topic**. For AI, 5 quality feeds are built in (TechCrunch AI, The Verge AI, MIT Technology Review AI, OpenAI News, Google AI blog). For other topics, add **RSS feeds** or turn on **Google News**.
2. Choose the **time range** (24 h daily, 168 h weekly) and the **number of stories**.
3. Optional: pick **draft formats** and describe **your voice** and **who you are**.
4. Click **Start**, or create a **Schedule** for every morning and turn on **Skip stories from earlier runs**.

### Input example

```json
{
  "topic": "artificial intelligence",
  "hours": 24,
  "maxStories": 8,
  "language": "Spanish",
  "draftFormats": ["linkedin", "x"],
  "draftsForTop": 2,
  "voice": "direct, practical, opinionated, no hype",
  "aboutMe": "I build AI automations for small businesses",
  "onlyNew": true
}
```

### Pricing

| Event | Price |
|---|---|
| Story in the brief | $0.005 |
| AI brief (merging and summaries, once per run) | $0.03 |
| Post draft | $0.01 |

A daily brief of 8 stories with 2 LinkedIn drafts costs about **$0.09**, so about **$2.70 a month**. With your own AI key (Anthropic, OpenAI, OpenRouter, Gemini, Grok, DeepSeek or Mistral), the AI events are free. The optional **Google News** step runs on your Apify account (about US$0.002 per article) with a spend limit you set.

### Good to know

- Summaries and drafts are written by AI **in its own words** from headlines and short snippets. Full articles are never copied. Always check the source before you post.
- Stories are ranked by coverage and discussion, not by one outlet's opinion. A story covered by 4 outlets beats one covered by 1.
- Hacker News stories are matched by your keywords and need a minimum of points (30 by default) to avoid noise.

# Actor input Schema

## `topic` (type: `string`):

e.g. 'artificial intelligence', 'e-commerce', 'crypto', 'skincare industry'.

## `keywords` (type: `array`):

Words to search on Hacker News and Google News. Default for AI: AI, LLM, OpenAI, Anthropic, Gemini.

## `hours` (type: `integer`):

24 for a daily brief, 168 for a weekly one.

## `maxStories` (type: `integer`):

Ranked by how many outlets cover them and how much they are discussed.

## `rssFeeds` (type: `array`):

Any blog or news site with RSS. For AI, 5 good feeds are already included.

## `useDefaultAiFeeds` (type: `boolean`):

TechCrunch AI, The Verge AI, MIT Technology Review AI, OpenAI news, Google AI blog.

## `filterFeedsByKeywords` (type: `boolean`):

Turn on for general feeds (e.g. a whole newspaper).

## `hackerNews` (type: `boolean`):

Stories with your keywords and their points and comments.

## `minHnPoints` (type: `integer`):

Filters out noise.

## `googleNews` (type: `boolean`):

Adds mainstream coverage from Google News (about US$0.002 per article).

## `googleNewsQuery` (type: `string`):

Default: the topic.

## `googleNewsLanguage` (type: `string`):

Country:language, e.g. US:en, ES:es, MX:es-419, BR:pt-419.

## `googleNewsMaxItems` (type: `integer`):

More articles = better coverage counts.

## `googleNewsMaxCostUsd` (type: `integer`):

Upper limit for the Google News step.

## `onlyNew` (type: `boolean`):

For a daily schedule: never repeat yesterday's news.

## `language` (type: `string`):

Language of summaries and drafts.

## `draftFormats` (type: `array`):

Optional. Leave empty for just the brief.

## `draftsForTop` (type: `integer`):

Each story gets one draft per chosen format.

## `voice` (type: `string`):

e.g. 'direct, practical, a bit of humour, I build AI automations for small businesses'.

## `aboutMe` (type: `string`):

What you do, so the opinions in the drafts make sense for you.

## `aiProvider` (type: `string`):

Leave all keys empty to use the built-in AI (billed per AI event).

## `aiModel` (type: `string`):

Empty = a good default for the provider.

## `anthropicApiKey` (type: `string`):

With your own key (any provider) that provider bills you and AI events are not charged.

## `openaiApiKey` (type: `string`):

Your own key from platform.openai.com.

## `openrouterApiKey` (type: `string`):

Your own key from openrouter.ai/keys.

## `geminiApiKey` (type: `string`):

Your own key from aistudio.google.com/apikey.

## `xaiApiKey` (type: `string`):

Your own key from console.x.ai.

## `deepseekApiKey` (type: `string`):

Your own key from platform.deepseek.com.

## `mistralApiKey` (type: `string`):

Your own key from console.mistral.ai.

## Actor input object example

```json
{
  "topic": "artificial intelligence",
  "hours": 24,
  "maxStories": 10,
  "useDefaultAiFeeds": true,
  "filterFeedsByKeywords": false,
  "hackerNews": true,
  "minHnPoints": 30,
  "googleNews": false,
  "googleNewsLanguage": "US:en",
  "googleNewsMaxItems": 40,
  "googleNewsMaxCostUsd": 1,
  "onlyNew": false,
  "language": "English",
  "draftFormats": [],
  "draftsForTop": 3,
  "aiProvider": "auto"
}
```

# Actor output Schema

## `report` (type: `string`):

No description

## `stories` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "topic": "artificial intelligence"
};

// Run the Actor and wait for it to finish
const run = await client.actor("ingeniela/ai-news-brief").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "topic": "artificial intelligence" }

# Run the Actor and wait for it to finish
run = client.actor("ingeniela/ai-news-brief").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "topic": "artificial intelligence"
}' |
apify call ingeniela/ai-news-brief --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,ingeniela/ai-news-brief"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/SsnxD1TbWfLDZfd2Z/builds/hd7A2ZH9CYJjqSfMk/openapi.json
