See llms.txt for all machine-readable content.

Back to Templates

Fact-check WordPress blog drafts from Telegram with GPT-5 and Lenz

Quick overview

Turn Telegram topics into researched WordPress drafts with OpenAI and Lenz. The workflow checks factual claims, corrects confirmed errors, and sends an editor report back to Telegram. Review the results, publish the post, keep it as a draft, or request changes using buttons.

How it works

  1. Send your Telegram bot a topic, such as “How cytisine helps people quit smoking.”
  2. The Article Research Agent searches the web and writes an article with sources. If it finds too few reliable sources, the workflow stops and notifies you.
  3. Lenz extracts and assesses factual claims. Flagged claims receive a deeper verification check, within your configured limits.
  4. If verification confirms an error, OpenAI rewrites the affected sentences.
  5. The workflow saves the article as a WordPress draft and sends an editor report to Telegram, including findings, corrections, remaining concerns, and a draft link.
  6. Choose Publish to make the post live, or Keep as draft to leave it unpublished.
  7. Choose Edit and reply to the bot’s question with your instructions. The workflow rewrites the draft, re-checks the changed sections with Lenz, and sends an updated report.

Setup

  1. Create a dedicated Telegram bot with @BotFather. Add its token to a Telegram API credential and select it in the workflow’s Telegram nodes.
  2. Install the Lenz community node and select your Lenz API credential in its nodes.
  3. Create a WordPress application password under Users → Profile → Application Passwords. Configure a WordPress credential with your site URL, username, and application password, then select it in the WordPress nodes.
  4. On self-hosted n8n, configure an OpenAI API credential for OpenAI GPT-5 Mini, OpenAI GPT-5 for Edits, and OpenAI GPT-5 for Fixes. On n8n Cloud, use the supported n8n credits connection.
  5. Review Set Check Parameters, publish the workflow, and send the bot a topic. When requesting edits, reply directly to the bot’s edit prompt.

Requirements

  • A dedicated Telegram bot
  • A WordPress site with REST API access and an application password permitted to create and update posts
  • A Lenz API key and Lenz community node version 0.6.0 or newer
  • An OpenAI API key for self-hosted n8n, or the supported n8n credits connection on n8n Cloud
  • A publicly reachable HTTPS webhook address for Telegram when self-hosting

Customization

  • In Set Check Parameters, adjust article length and the minimum number of sources. Defaults are approximately 900 words and two sources.
  • Set the maximum number of claims to assess and flagged claims to deep-check. Defaults are 15 claims and three deep checks.
  • Adjust verification depth and waiting time. Defaults are Low depth and 300 seconds.
  • Budget for Lenz usage: Assess costs approximately one credit per claim, and Low-depth verification costs five credits per deep check.

Additional info

Built for writers and small editorial teams who want to research, review, and manage WordPress drafts from Telegram.

Articles remain drafts until you choose Publish. The editor report highlights findings, corrections, and claims that still need attention; fact-checking does not guarantee that every statement is correct.

If Lenz cannot complete its checks, the workflow can still save the draft and labels the report “LENZ COULD NOT CHECK THIS DRAFT.” Review that draft manually before publishing.

Use a Telegram bot dedicated to this workflow, because it processes every message the bot receives.