News search in Kotia: find and select events for your content
Set up news search for your website, blog or channel. Kotia finds articles by topic and passes links to selection and writing, with repeat filtering.
On this page9
Put news search at the start of the workflow that prepares content for your website, blog or channel. Kotia will find articles on a given topic and pass the headlines, dates and links to the next steps. They can select events, read sources and write your materials.
You set the search direction and the selection requirements, and each new run uses them to build the next selection. For regular work, add a schedule and repeat exclusion. To get a result, connect a document or a configured publishing step. The search itself returns information about the articles it finds, not their full text.
Example: news for a blog about electric cars
For a blog about electric cars, set up a search for articles about new models and buying conditions in the country you need. Explain to the selection step which changes matter to your readers. After the selected sources are parsed, instruct the writing step to prepare a short news item: what happened, which models are affected, and what changes for the buyer.
This way you get your own material based on the events you find. Search is responsible for gathering sources, while selection, date checking and writing are handled by the next steps.
What automated search gives you
- A selection for your topic and audience. Specify the subject of the search, the geography and the source language. At the selection stage, set the period you need and explain which events matter to your readers.
- Less repeated work. The "Skip repeats" filter remembers the events that have passed through it, so it doesn't send familiar news to writing on every run.
- Material for substantial posts. You can pass the links you find on for reading, and use details from the sources in a news item, review or post.
- An ongoing content process. Set up the chain once and run it on a schedule. Results will go to the selected document or the configured sending step.
For a ready-made workflow with event selection and post preparation, use "News for a Telegram channel". If you're building your own workflow, set up its search part as described below.
What search passes to selection and writing
In the builder, a workflow consists of connected steps, or cards. "News search" starts the chain: it receives a topic and returns a list of articles with headlines, publications, dates and links. Its result becomes the source material for selection, reading and writing.
You decide what to do with the results: save the selection, prepare a single post, or include search in a longer process for a website. The following sections explain the search settings and how it connects to the other steps.
How to add and set up search
- Open the workflow on a computer. In the step-adding menu, select "News search" in the services section.
- Open the card's settings and fill in "Brief": what to search for, which events you're interested in, and which country or audience you're collecting material for.
- If needed, select "Source language". Keep "Detect from the order" if the language is already specified in the request text.
- Connect search to the start of your chain, and its output to the step that will process the results.
- Run the workflow and open the search result. Check the topic, dates and sources before you set up further selection.
The brief can be passed as text from a previous card, for example by storing the topic in "Data". This is useful if the topic is needed by the search as well as the selection and writing steps. Search accepts text. To extract the topic from a document or page, first read that material in a separate step.
| Field | What to enter | How it affects search |
|---|---|---|
| Brief | The topic, events of interest, geography and the period you want | One search query is built from the brief |
| Source language | The language of the articles to find | The selected value takes priority over the language named in the brief |
| Detect from the order | Keep this option if you don't want to set the language separately | The language is detected from the brief; if the brief doesn't specify one, the account language is used |
Source language and geography are different conditions. For example, an English-language article can cover an event in Spain. Name the country in the brief, and choose the language based on which publications you want to read.
How to write a useful brief
Instead of a broad topic such as "technology", set the subject, audience and type of event you're interested in:
Find fresh news about new AI tools for newsrooms in Germany. Look for product launches and notable updates that change how journalists work. Sources in German.
A single run of the card runs one query. If you need separate directions, for example the media market in Germany and electric cars in Japan, create two search branches. Their results can be combined through "Collect results".
Don't turn the search brief into an assignment for a finished article. Set the tone, post length and formatting in the writing step: first the workflow needs to collect the material the writing step will work with.
How to filter for the right geography, freshness and importance
Specify the country and period you want in the brief, but keep in mind: the period in the brief is not a filter. One run returns a limited set of the most recent articles for the query, not every story from that period. For a big topic, the set covers the last few days. For a narrow topic, there are few recent articles, so the set is filled with stories from past months or even years; there may be nothing from the last 24 hours at all. The search results include publication dates, which the next step uses to select the period you need.
| Topic | What you get | What to do |
|---|---|---|
| Big, such as "Amazon sellers" or "electric cars" | Many articles from the last few days | Select by audience and importance in the next step |
| Narrow, such as "delivery fee changes for Amazon sellers" | A few articles, some of them old | Broaden the search topic and describe the narrow interest in the selection step; give the selection a wider window — a week, not an hour |
| A scheduled run every hour | For a slow topic, almost the same articles as last time | Add "Skip repeats" and run less often |
If a condition is mandatory, put it into a separate selection step after the search. For example:
Keep only articles about events in Germany from the last hour. Filter out ads and announcements without new facts. If several articles cover the same event, keep the most substantial one. Keep the headline, source, date and link. Don't include a story if the available data does not confirm the required location or time.
This way the search collects candidates, and the selection step applies the rules of your channel or website. To pick the most useful material, add an importance criterion, for example: "select up to five events that affect the work of small newsrooms." Don't insist on five at any cost: in a narrow topic, there may be no suitable news at all within an hour.
What the result contains
You get a list of articles with links and dates. Articles are listed from newest to oldest, and repeated addresses within the results are removed. The volume depends on the topic and the available articles: the card has no separate field for the count.
The search list does not contain the full text of articles. If the next step needs to work through details, pass the selected links to "Page parsing". This matters especially for news with figures, deal terms, quotes and other details that aren't in the headline.
To check the result of an individual step and see where processing stopped, open "Runs".
How to turn findings into regular posts
A working chain can be built like this:
- News search collects material on the topic.
- Selection removes unsuitable geography, old articles and events of no use to the reader.
- "Skip repeats" filters out events that have already been processed in previous runs.
- "Page parsing" reads the selected sources.
- Writing step prepares a news item, review or post in your format.
- "Document" saves the material for reading and editing. For a website, you can connect sending the draft to WordPress.
Place repeat memory after the final selection: then it remembers the events you selected, not the entire search results. The search card itself doesn't keep a history of what was used between runs, so without it familiar news may come up again.
Cost and situations with no results
Search costs 5 tokens plus the agent's work to prepare the query. Selection, page reading and writing are charged as separate steps. To see what a specific run used, check its log, and for pricing, see the pricing page.
| Situation | What to check or change |
|---|---|
| The search found nothing | Simplify the wording, check the language and broaden the topic. The search step will finish with a message that there are no results, and the workflow stops there; the cost of the search itself is refunded |
| Too much irrelevant content was found | Clarify the search subject and add explicit selection criteria in the next step |
| A repeat run returned familiar news | Add "Skip repeats"; a new run by itself doesn't mean new events have appeared |
| Sources are in an unexpected language | Check the "Source language" field: an explicitly selected language takes priority over the brief text |
| Search is temporarily unavailable | Try again later. This error doesn't mean there are no articles on the topic |
If the search succeeded but the error occurred later, first check the result of the step in question. Partial run lets you continue processing what has already been found without a new search.