Skip to content

Automate a morning news roundup for a Telegram channel

Kotia finds fresh news for your query, picks the most important and builds one roundup post with source links for your channel or the Kotia bot.

Updated

The workflow finds fresh news for your query, picks the most important for your channel and builds one roundup post from them — a line per story with a link to the source. It sends the finished roundup to your Telegram channel or to the Kotia bot. Unlike the other news workflows, this one gives not a dozen posts but one: a summary a reader gets through in a minute.

You set the number of stories in the roundup. The workflow does not read the source pages: the roundup is built from the headlines, dates and short descriptions in the search results, and the link in each line leads to the story itself.

What to fill in before a run

Where What to enter
"News search" The query: a word or a phrase. The search matches strictly what you type. You can choose the search language in the card
"Topic" What your channel is about and who it is for. News is filtered and selected by this topic
"Post format" Your wishes for length, content and design of the roundup. A sample is already there — leave it if you have no special wishes
"Number of stories" How many stories the roundup should contain. It is set to 10
"Send to Telegram" Your connected channel or the Kotia bot

While an input card is empty, it is marked "Without a brief this step will not run". If no channel is chosen, Kotia asks you to fill in the required field — before the run.

What the roundup looks like

The sample in "Post format" asks for:

  • one sentence per story, only the main thing — the essence of the event, with light irony in a third of the stories;
  • a hyperlink on a single word in each story — the first verb that describes the event;
  • a marker — a large dot — at the start of each story and a blank line between stories;
  • an opening phrase: "What happened while you were asleep — the morning news roundup for [date]".

If nothing is set in "Post format", the roundup is formatted the same way but without irony, and the first line is "What you might have missed — news roundup for [date]". The date is today's. To get a different look, rewrite "Post format" in your own words.

Example: a morning roundup for a cryptocurrency channel

In "News search" the query is cryptocurrency, and in "Topic":

A channel for people who follow the cryptocurrency market and its regulation. Interested in regulators' decisions, major exchange events and new products.

"Number of stories" is 7, and the send goes to the Kotia bot. You get one post: the roundup phrase and up to seven lines, each with one sentence and a link to the story.

First run

  1. Open the "Workflows" section on a computer and add "Fresh news roundup for a Telegram channel".
  2. Fill in the cards from the table above.
  3. In "Send to Telegram" choose a channel (how to connect one) or the Kotia bot. For the first runs turn on "Show the post and wait for me": the roundup goes out after your "Send".
  4. Press "Run".

What happens in one run

Step What it does
"News search" Finds up to 100 publications for the query
"News filtering" Keeps only today's stories that relate to the topic; from several publications about one event it keeps one, the fullest
"News selection" Sorts by importance for your readers and takes the number from "Number of stories" with a 20% reserve
"Skip repeats" Removes events that were in earlier runs and remembers the new headlines
"Write the post" Takes from the top of the list no more than the set number of stories and builds one roundup following your "Post format"
"Send to Telegram" Sends the roundup to the channel or the Kotia bot

There is no loop: one post goes out per run.

If there are fewer stories than requested

Stories from earlier runs are removed after selection, so the roundup may have fewer stories than "Number of stories". There are also fewer when there is little fresh material for today on the topic — the roundup includes everything found, and the workflow does not invent the rest. If there is nothing fresh at all, look at the result of "News filtering" in the run history. The "today only" period is changed in the task of "News filtering". The list of events is kept by "Skip repeats" — how to manage it.

Regular runs

The roundup suits a schedule especially well: for example, once a day in the morning. Test the workflow manually and set up a schedule. If "Show the post and wait for me" is on in the send step, the next scheduled run is skipped while you have not answered.

Running the send step again publishes the post again. After a failure, check the channel first. More in the article about "Send to Telegram".

Cost and troubleshooting

The search costs 5 tokens plus preparing the query; filtering, selection and writing are charged by the model's actual usage. Sending is free. The total is shown in the run history.

What you see What to check
The workflow does not start Whether the search query, "Topic", "Post format" and "Number of stories" are filled in and a channel is chosen
Fewer stories in the roundup How many stories remained after "News filtering" and "Skip repeats"
The roundup came empty or did not come Open the results of "News filtering" and "News selection" in the run history: maybe there is no new news on the topic for today, or all of it was in earlier runs
You need a longer text This workflow writes one sentence per story. For a separate post per story take "News for a Telegram channel"