Automated Social Media AI Agent for Telegram & Twitter
detail.loadingPreview
This n8n workflow acts as an intelligent social media agent, automatically curating trending GitHub projects from Hacker News and preparing them for sharing on platforms like Twitter. It leverages AI to extract relevant information and streamline your social media content pipeline.
About This Workflow
The Social Media AI Agent for Telegram & Twitter is a powerful workflow designed to automate your social media content strategy. It begins by crawling Hacker News for new submissions, specifically identifying trending GitHub repositories. Using sophisticated parsing and filtering, it extracts key details like project titles, URLs, descriptions, and author information. The workflow then visits each GitHub page to gather more context before converting the project's description into a shareable Markdown format. Finally, it prepares this curated content for distribution, ensuring you can effortlessly share high-quality, relevant tech news with your audience on platforms like Twitter. This agent saves valuable time and effort by automating the discovery and preparation of engaging social media updates.
Key Features
- Automated Content Curation: Scans Hacker News for trending GitHub projects.
- Intelligent Data Extraction: Parses project titles, URLs, scores, authors, and descriptions.
- Contextual Information Gathering: Visits GitHub pages for richer details.
- Content Transformation: Converts HTML descriptions into Markdown for easy sharing.
- Platform-Ready Output: Prepares curated content for social media distribution (e.g., Twitter).
- Duplicate Prevention: Ensures content is not posted multiple times.
How To Use
- Crawl HN Home: Configure the 'Crawl HN Home' node to initiate the process by fetching the Hacker News homepage.
- Extract Meta: The 'Extract Meta' node uses Python code to parse the HTML, identifying Hacker News posts and filtering for those linking to GitHub repositories. It extracts essential metadata such as title, URL, site, score, author, age, and comments.
- Filter Unposted Items: The 'Filter Unposted Items' node (using JavaScript) ensures that only newly discovered GitHub projects are processed, preventing duplicate content from being shared.
- Visit GH Page: For each filtered GitHub project, the 'Visit GH Page' node fetches the content from its URL.
- Convert HTML To Markdown: The 'Convert HTML To Markdown' node transforms the raw HTML content of the GitHub project's description into a clean Markdown format, ready for social media.
- Filter Errored: The 'Filter Errored' node is used to identify and separate any items that encountered errors during the fetching or processing stages.
- Update X Status: (Assumed) This node would be configured to send the processed and formatted content to Twitter or another social media platform, marking the item as 'Done' in your Airtable base.
- No Operation, do nothing: This node acts as a placeholder for successful processing paths that don't require further immediate action within this specific workflow segment.
Apps Used
Workflow JSON
{
"id": "24a172a1-04c6-4031-a07a-416d4313cb70",
"name": "Automated Social Media AI Agent for Telegram & Twitter",
"nodes": 17,
"category": "Operations",
"status": "active",
"version": "1.0.0"
}Note: This is a sample preview. The full workflow JSON contains node configurations, credentials placeholders, and execution logic.
Get This Workflow
ID: 24a172a1-04c6...
About the Author
SaaS_Connector
Integration Guru
Connecting CRM, Notion, and Slack to automate your life.
Statistics
Related Workflows
Discover more workflows you might like
Instant WooCommerce Order Notifications via Telegram
When a new order is placed on your WooCommerce store, instantly receive detailed notifications directly to your Telegram chat. Stay on top of your e-commerce operations with real-time alerts, including order specifics and a direct link to view the order.
Universal CSV to JSON API Converter
Effortlessly transform CSV data into structured JSON with this versatile n8n workflow. Integrate it into any application as a custom API endpoint, supporting various input methods including file uploads and raw text.
On-Demand Microsoft SQL Query Execution
This workflow allows you to manually trigger and execute any SQL query against your Microsoft SQL Server database. Perfect for ad-hoc data lookups, administrative tasks, or quick tests, giving you direct control over your database operations.