Skip to content

News to your WordPress site from a single query: search, selection and drafts

A ready-made workflow finds fresh news for your query, removes repeats, picks the 10 that matter most to your site, rewrites them and sends WordPress drafts.

Updated

Keep a WordPress news site supplied with fresh stories for your own query. Enter a query and your site's subject — Kotia finds publications, keeps today's and yesterday's stories on the subject, removes repeats, picks the 10 most important events, rewrites each one in its own words and sends them to your site as drafts.

This is the simplest of the three "News to your WordPress site" workflows: all it needs is a query, one line about your subject and a connected site. If you want to set priorities and an audience separately, choose the fine-tuning version; if you would rather have Kotia rewrite the tasks for your topic, use the template for your topic.

Example: regional news for a city website

For a city portal, type the region's name into "News search", for example "Colorado", and describe what the site publishes in the "Topic" card:

A news site for Denver and Colorado: decisions by local authorities, transport, housing, prices, incidents and city life.

After the run, up to 10 drafts appear on the site: each with its own headline, lead, details from the original story and a link to the publication in the first paragraph. The drafts stay unpublished — you review them in WordPress and publish them yourself.

The query searches for the exact word or phrase, so names work best: a region, city, company or industry. A long description in the query field only narrows the search — put your subject and requirements into "Topic".

First run

  1. Open the "Workflows" section on a computer, go to the News group and add "News to your WordPress site — from a single query". Your copy opens with the cards already connected and a "How to use" note.
  2. In the "News search" card, enter the query — the search matches the words and phrases exactly as typed. If you like, choose a "Source language" — if you leave it, the language is detected from the query, or taken from your account language when the query doesn't say.
  3. In the "Topic" card, describe your site's subject in a sentence or two.
  4. Connect your WordPress site and select it in the "Send to WordPress" card.
  5. Click "Run". Until the query, "Topic" and site are filled in, the workflow won't start and will show what is missing.
  6. Open the drafts in WordPress. Every step's progress is in "Runs".

SEO metadata is already turned on in "Send to WordPress": Kotia prepares the post's title, description and tags if the site is connected through the Kotia plugin.

How the workflow is built

Card What it does What you get
News search Finds up to 100 publications for the query Headlines, sources, dates and links
News filtering Keeps today's and yesterday's stories on the subject and merges publications about the same event A short list without old or off-topic stories
News selection Picks the 10 most important for readers of the subject, checking the memory of past selections Ten events that haven't been on the site yet
Skip repeats Stops headlines already taken Protection against repeats between runs
Page parsing Reads the selected publications Full texts of the stories
Parsing cleanup Keeps only the story on the topic from the "Topic" card (one page can hold several), removes menus, ads and captions The link, headline and text of the on-topic story
Hand out one at a time and News writing In the "News one by one" loop, writes one story per pass in the "News Reporter" style, explaining the site's topic terms on first mention A separate text for every story
Send to WordPress Creates a draft on every pass Up to 10 drafts on the site

"Parsing cleanup" and "News writing" run on the GPT-6 Luna model — it is already selected in these cards, and you can change it in the model field.

Each story is 1,500 to 4,000 characters long, with paragraphs of up to 400 characters; a text longer than 2,500 characters is split into two sections with subheadings. The original source is cited once — as a link on the publication's name in the first paragraph. Facts, figures and quotes come only from the publication that was read. Stories are written in the interface language you used when adding the workflow, even if the sources are in another language; to change the language, edit the "News writing" task.

How to adapt it to your site

  • Period. By default the workflow takes today's and yesterday's stories. To change it, edit the first rule in the "News filtering" task. The search query itself doesn't filter by period — see the news search article.
  • What counts as important. The importance criterion is in the "News selection" task: the value for readers, the number of people affected, the consequences. Add which events matter to your site specifically.
  • Length and tone. Length, paragraphs, subheadings and tone are in the "News writing" task. The style is changed in the same card: attach another style or create your own.
  • Without sending to the site. You can delete the "Send to WordPress" card: the stories will still be written and stay in the "News writing" result.

Don't delete the "Skip repeats" card — without it the workflow won't start. "Memory" and "News filtering" can be deleted, but then repeats and old stories will get through more often.

10 more from the ones already found. Click "Run from here" on the "News selection" card: the search isn't repeated, and selection takes the next important events that aren't in memory. For the very latest news, start a new full run.

A run broke off. If the failure happened at "Page parsing" or later, run the workflow from there — with "Run from here" on the "Page parsing" card. The selected stories are already recorded in memory and in the repeats list, so a full run won't take them again, while a run from "Page parsing" finishes them.

"Hand out one at a time" keeps unwritten headlines until the next run. You can view and clean the repeats list in the "Skip repeats" card.

Cost and troubleshooting

Search costs 5 tokens plus query preparation, page reading costs 1 token per step. Filtering, selection, cleanup and writing are charged by actual model usage. Every step's total is in "Runs".

What you see What to do
The workflow won't start Fill in the query and "Topic", and select a site in "Send to WordPress"
"News filtering" replied that there is no fresh news without repeats There are no publications from today and yesterday for the query: use a broader name or extend the period in the filtering task
"News selection" replied that there is no suitable news All fresh events were already taken in past runs — wait for new publications
Fewer than 10 drafts Fewer events remained after filtering and memory, or some pages couldn't be read — check "Page parsing"
No stories appeared on the site Check that a site is selected and look at the result of the "Send to WordPress" step