Automate Crypto News Posting to X & Telegram with AI Summarization
Automate Crypto News Posting to X & Telegram with AI Summarization
This n8n template automates the process of curating and sharing the latest cryptocurrency news on X (formerly Twitter) and Telegram. By leveraging AI for content summarization, this workflow allows you to effortlessly maintain an active social media presence, keeping your audience informed about the dynamic crypto market without manual effort.
Who is this for?
This template is ideal for:
- Content Creators & Marketers: Aiming to consistently share valuable news and engage their audience without manual content curation.
- Crypto Influencers & Educators: Looking to provide timely news updates to their followers across multiple platforms.
- Crypto Communities & DAOs: Seeking to automate news dissemination within their Telegram channels and wider X audience.
- Anyone interested in automated news monitoring and sharing.
What problem is this workflow solving?
Manually tracking, summarizing, and posting crypto news across different social media platforms is time-consuming and requires constant effort. This workflow eliminates these manual tasks, allowing users to:
- Save Time & Effort: Automate the entire news curation and posting process.
- Maintain Consistent Presence: Ensure a regular flow of valuable crypto news updates on X and Telegram.
- Increase Audience Engagement: Provide timely and summarized news to keep your audience informed and engaged.
- Focus on Strategy: Free up time to focus on broader content strategy and audience growth instead of repetitive manual posting.
What this workflow does:
This workflow automates the following key steps:
- Scheduled News Retrieval: Uses a Schedule Trigger to run every 90 minutes (configurable), initiating the news gathering process.
- Real-time Crypto News Aggregation: Fetches the latest cryptocurrency news from the CryptoPanic API.
- Recent News Filtering: Filters news articles to include only those published within the last 30 minutes, ensuring timely updates.
- Content Extraction from News URLs: Visits individual news URLs and extracts the full article content.
- AI-Powered Content Summarization: Leverages GPT or other LLMs to extract the core content from news articles.
- Content Aggregation: Merges content from multiple news articles into a single input for summarization.
-
AI-Driven Social Media Content Generation: Utilizes GPT or other LLMs to summarize the aggregated news and create two distinct outputs:
- Concise & Engaging X Post: Optimized for Twitter’s character limit, designed to be attention-grabbing.
- Detailed Telegram Report: A more comprehensive summary suitable for a Telegram channel or group.
- Automated Posting to X (Twitter): Automatically posts the generated X summary to your connected Twitter account.
- Automated Delivery to Telegram: Automatically sends the detailed Telegram report to your specified Telegram chat ID.
Setup:
To get started, you will need to configure the following services and credentials:
-
CryptoPanic API Token:
- Obtain a free API token from the CryptoPanic website: https://cryptopanic.com/
- In n8n, navigate to the “HTTP Request” node (named “HTTP Request”).
- In the node parameters, locate the “URL” field and replace
"YOURTOKEN"
in the URL with your obtained CryptoPanic API token.
-
OpenAI API Key:
- Obtain an API key from OpenAI: https://platform.openai.com/
- For Content Extraction: In n8n, connect your OpenAI account to the “ContentExtraction GPT3.5” node (named “ContentExtraction GPT3.5”). Use your OpenAI API key for the credentials.
- For News Summarization & Social Media Content Generation: In n8n, connect your OpenAI account to the “Summary news GPT” node (named “Summary news GPT”). Use your OpenAI API key for the credentials.
-
X (Twitter) Developer Credentials:
- Create a developer account and project on the X Developer Portal: https://developer.twitter.com/
- Obtain the necessary API keys and tokens for your X app.
- In n8n, connect your X Developer account credentials to the “X” node (named “X”).
-
Telegram Bot and Chat ID:
- Create a Telegram bot using BotFather on Telegram. Obtain your bot’s API token.
- Obtain the Chat ID of the Telegram chat where you want to send news reports.
- In n8n, connect your Telegram Bot API token to the “Telegram” node (named “Telegram”).
- In the “Telegram” node parameters, replace
"YOUR_TELEGRAM_CHAT_ID"
with your Telegram Chat ID.
How to customize this workflow:
- Adapt to ANY Topic: Change the “HTTP Request” node to use a news API for your desired topic (AI, Sports, World News, etc.). Critically, adjust the prompts in the “Summary news GPT” node to be relevant to your chosen topic so the AI generates appropriate summaries and social media content.
- Adjust Scheduling Frequency: Modify the “Schedule Trigger” node to change how often the workflow runs and posts news.
- Adjust Scheduling Frequency: Modify the “Schedule Trigger” node to change the frequency of news updates (e.g., change the interval from 90 minutes to a different value).
- Modify News Filtering: Customize the Python code in the “Extract Meta” node to adjust the news filtering criteria. You can change the time window (currently 30 minutes) or filter based on other criteria from the CryptoPanic API response.
-
Experiment with GPT Models: In the “Summary news GPT” node, try different OpenAI models (e.g.,
gpt-4
,gpt-3.5-turbo-16k
) to see how they affect the summarization quality and output. Note that more advanced models may incur higher API costs. - Customize AI Prompts: Fine-tune the system and user prompts in the “Summary news GPT” node to alter the tone, style, or format of the generated X and Telegram content. You can adjust the persona of the AI blogger, the desired level of detail in summaries, or specific keywords to include.
- Extend to Other Platforms: Add nodes to post to other social media platforms like LinkedIn, Facebook, or Discord by adapting the “Summary news GPT” prompts and integrating relevant n8n nodes for those platforms.
Category:
Marketing, Social Media, AI, News Automation, Content Creation
Workflow by: Tianyi (muzi)
n8n Creators Profile:https://n8n.io/creators/muzi/
You'll get a highly optimized X & Telegram AI Influencer