How do I create a breaking news bot?

A breaking news bot should be isolated from other automations: its scope is narrower, its checks are more frequent, and its posts go out faster. Editorial selection should use an explicit signal, usually a tag assigned by the newsroom.

1. Define the breaking-news signal#

Choose one tag, such as breaking news, and document who can add or remove it in your CMS or feed. Do not rely on a word that might appear accidentally in a headline: the tag must represent an editorial decision.

In Intelligence, create a dedicated theme and select this tag in the Tags filter.

Nonli Tags filter showing the breaking news tag in an Intelligence theme

Then limit the window to recently published articles, for example the last two hours. Confirm that the theme contains only alerts that remain valid. Your editorial workflow should remove corrected, retracted, or outdated information from the scope.

1.1. Exclude this tag from the other themes#

An alert is only valuable for a short time after it is published. If another theme used by a bot that publishes to the same social accounts can also select the article (hot content, leisure, evergreen, and so on), that bot may republish it hours later, when the news is no longer current. Observed case: an alert republished 35 hours after publication by a leisure bot.

Add the tag exclusion to the query of every other theme used by the bots of these accounts, for example NOT tag:"breaking news" joined to the other criteria with AND. Use the exact value of your tag (news, urgent, and so on), in lowercase and without accents, because Nonli stores tags in that form.

The exclusion only applies if the tag is already present when Nonli collects the article. A tag added in the CMS after collection may not be taken into account, and the article then remains selectable by the other themes. Ask the website to set the tag as soon as the article is published.

2. Create a dedicated bot#

In Bots, select Create a bot, From a theme, then Publish to your social accounts. Choose only the breaking news theme and the accounts that should receive alerts. Create a separate bot for X or any account requiring a different cadence, so it can have independent limits.

Nonli bot settings for the brand, theme, social accounts, active days, timezone, and consultation frequency

A suitable starting configuration for an active newsroom is:

  • operate 24 hours a day, seven days a week;
  • check the theme every 5 to 10 minutes: enter 5 and 10 in Consultation frequency of theme in minutes;
  • select no more than one article per run;
  • use smart scheduling within 5 to 15 minutes after the consultation: In the next 5 min after the bot's consultation or In the next 15 min after the bot's consultation;
  • use the same timezone as the newsroom.

Prefer smart scheduling to At once after the bot's consultation. During a major event, the newsroom often also posts by hand on the same accounts. A window of a few minutes gives Nonli room to space the posts without delaying the alert. See What is Smart Schedule?.

5 and 10 minutes are also the minimum values for a bot that publishes without a reviewing queue. A brand can have only one no-review bot that checks its sources more often. A no-review bot attached to no brand never goes below 5 and 10.

Adjust the cadence to your real ability to confirm and correct an alert. Speed should never bypass editorial validation.

3. Secure publishing#

Start with Send posts to reviewing queue enabled. Check the result on every network, then disable the queue only after the tag workflow and safeguards have been proven reliable.

Nonli settings for reposts, the review queue, message and image sources, daily limits, and exclusions

Recommended safeguards:

  1. Set the maximum number of reposts to 0 to avoid sending the same alert twice.
  2. Use the title as the message only when it remains clear outside your website.
  3. Define a fallback image for articles without an appropriate visual.
  4. Exclude terms or formats that must never be published automatically.
  5. Enable PublishGuard after testing the brand rules.
  6. Keep a daily safety limit that allows for an exceptional news day without being unlimited.

4. Run a controlled test#

Add the tag to a publishable test article, confirm that it appears in the theme, and wait for one bot cycle. Check the detection time, destination, copy, media, link, and duplicates. Remove the test tag afterwards if needed.

Before enabling automatic publishing, also test an article without the tag: it must never be selected. If the bot does not publish an eligible article, see Why did my bot not publish this article?.

Was this article helpful?

Book a personalized demo with our team.