workflows.fit
Back to n8n workflows
n8n templateFreeBy Feras Dabour

Auto create & publish X-threads (Twitter) with GPT via Telegram & approval loop

AI X (twitter) Threads Bot with Approval Loop This n8n workflow transforms your Telegram messenger into a personal assistant for creating and publishing X-Threads. You can simply send an idea as a text or voice messag...

CommunicationHITLDevelopmentCore NodesAILangchainLm Chat Open AiOpen Ai
Loading interactive preview...

Template notes

AI X (twitter) Threads Bot with Approval Loop

This n8n workflow transforms your Telegram messenger into a personal assistant for creating and publishing X-Threads. You can simply send an idea as a text or voice message, collaboratively edit the AI’s suggestion in a chat, and then publish the finished thread directly to X just by saying “Okay.”

What You’ll Need to Get Started Before you can use this workflow, you’ll need a few prerequisites set up. This workflow connects three different services, so you will need API credentials for each:

Telegram Bot API Key: You can get this by talking to the [“BotFather” ](https://telegram.me/BotFathers)on Telegram. It will guide you through creating your new bot and provide you with the API token. New Chat with Telegram BotFather

OpenAI API Key: This is required for the “Speech to Text” and “AI Agent” nodes. You’ll need an account with OpenAI to generate this key. OpenAI API Platform

Blotato API Key: This service is used to publish the final post to X. You’ll need a Blotato account and to connect your X profile there to get the key. Blotato platform for social media publishing

Once you have these keys, you can add them to the corresponding credentials in your n8n instance.

How the Workflow Operates, Step-by-Step Here is a detailed breakdown of how the workflow processes your request and handles the publishing.