Social Media AI Agent - Telegram
This workflow automatically crawls the homepage content of Hacker News, extracts GitHub project links, and visits the relevant pages to gather detailed information. It utilizes AI to generate concise copy suitable for Twitter and LinkedIn, ensuring a natural and storytelling style. The generated content is manually reviewed before being automatically published on social media platforms, while administrators are notified via Telegram. This process is efficient and precise, making it ideal for promoting technical communities and open-source projects, significantly enhancing content management and dissemination efficiency.

Workflow Name
Social Media AI Agent - Telegram
Key Features and Highlights
This workflow automatically scrapes the Hacker News homepage to accurately extract GitHub project links, then deeply accesses the corresponding GitHub pages to retrieve detailed project information. Leveraging AI (ChatGPT), it generates concise, natural, and storytelling-style promotional copy tailored for Twitter and LinkedIn, focusing on the technical and open-source application value of the projects. The generated content is then automatically published to Twitter (now known as X) and LinkedIn, while a preview is pushed via a Telegram bot for manual review. The entire process is highly automated, supporting scheduled triggers, duplicate content filtering, and status updates to ensure accuracy and prevent repeated postings.
Core Problems Addressed
- Automates the selection and refinement of trending technical content, eliminating the need for manual collection and editing.
- Utilizes AI to produce high-quality content that fits the style of different social media platforms, enhancing content impact and reach.
- Prevents duplicate postings, improving content management efficiency.
- Enables manual oversight through Telegram notifications, balancing automation with human review.
Use Cases
- Technical communities and open-source promotion teams automatically generating and publishing technical updates and project introductions.
- Social media managers enhancing content production efficiency while maintaining freshness and diversity.
- Individuals or teams aiming to automatically capture technology trends and synchronize content across multiple social platforms.
- Leveraging AI-assisted content creation to optimize social media marketing workflows.
Main Workflow Steps
- Scheduled Trigger: Executes automatically every 6 hours.
- Scrape Hacker News Homepage: Retrieves the latest trending technical posts.
- Extract Meta Information: Filters posts containing GitHub links and extracts detailed info (title, author, score, etc.).
- Duplicate Filtering: Queries Airtable database to exclude already published content.
- Access GitHub Pages: Scrapes project detail pages.
- HTML to Markdown Conversion: Converts project descriptions into a text-friendly Markdown format.
- AI Content Generation: Calls OpenAI GPT-4 model to create promotional copy tailored for Twitter and LinkedIn styles.
- Content Format Validation: Ensures the generated content is correctly formatted and includes copy for both platforms.
- Create Airtable Record: Saves the generated content and related metadata.
- Telegram Notification: Sends a preview of the generated copy to administrators for a 5-minute manual review.
- Final Publishing: Posts content via Twitter and LinkedIn APIs.
- Status Update: Updates the publishing status in Airtable to prevent duplicate postings.
Involved Systems and Services
- Hacker News (news scraping)
- GitHub (project detail retrieval)
- OpenAI GPT-4 (AI copy generation)
- Airtable (content storage and duplicate management)
- Twitter (X) (content publishing)
- LinkedIn (content publishing)
- Telegram (notification and manual review)
Target Audience and Value
- Technical content operators and social media managers who want to reduce the burden of content planning and editing through automation.
- Open-source project promoters seeking rapid project exposure.
- Individuals or teams looking to leverage AI for multi-platform social media content generation.
- Enterprises and communities needing efficient management and publishing of technical content to enhance brand influence and user engagement.
This workflow integrates content scraping, intelligent filtering, AI-driven creation, and multi-platform publishing into a fully automated solution, providing robust support and convenience for technical content dissemination.