Back to Catalog

Cross-platform content publisher: Telegram to WordPress, Facebook, X & LinkedIn

SpaGreen CreativeSpaGreen Creative
121 views
2/3/2026
Official Page

==Reason Of The Workflow==

This n8n workflow automatically shares content from a Telegram Channel to multiple platforms like WordPress, Facebook, X/Twitter, and LinkedIn. It uses a Switch node to detect the type of content—text, image, video, audio, or document—and sends it to the right processing and publishing nodes for each platform.

Who Is This For?

This workflow is ideal for content creators, marketers, and organizations who use a Telegram Channel as their main content hub. It eliminates the need for manual, repetitive posting across different social media and blogging platforms by instantly detecting new posts in Telegram and distributing them according to their content type.

What This Workflow Does

The SocialVibe workflow is a sophisticated automation designed to handle diverse media types and publishing requirements:

  • Real-Time Triggering: It instantly activates upon the detection of a new message (channel_post event) in your configured Telegram Channel.
  • Intelligent Content Detection: It uses a Switch node and a Code node to analyze the Telegram payload and correctly identify the type of content posted (e.g., plain text, image, video, audio, or document).
  • Platform-Specific Publishing: It tailors the publishing action for each platform, ensuring images go to the WordPress media library, text becomes a Tweet, etc.
  • Caption-as-Text: The Telegram post's caption is automatically used as the post body, Tweet text, or blog post content/excerpt.

Key Features

  • Versatile Media Support: Handles over 9 different content types (Text, Photo, Video, Audio, Document, etc.).
  • Dedicated WordPress Integration:
    • Creates a new post/article.
    • Uses an Edit Imageautomatically resize images to optimize for web upload.
    • Uploads the image to the WordPress Media Library via HTTP Request.
    • Sets the uploaded image as the post's Featured Image.
  • Broad Social Media Reach: Supports cross-posting to X/Twitter, Facebook Page, LinkedIn Profile, and LinkedIn Page.
  • Customizable Settings: Easily adjust WordPress categories, post status, and platform-specific settings like LinkedIn target IDs.

Required Credentials & Accounts

  1. Telegram Bot Token: The bot must be an administrator in the source channel.
  2. WordPress API Credentials: For REST API access (username/password or application password).
  3. Facebook Graph API Credentials: With permissions to post to the target Page.
  4. LinkedIn OAuth2 Credentials: To post on a Profile and/or Company Page.
  5. Twitter/X OAuth2 Credentials: For publishing tweets.

How to Use — Step-by-Step Setup

  1. Set Up All Credentials:
    • Configure all necessary API credentials (Telegram, WordPress, Facebook, LinkedIn, Twitter) within your n8n instance.
  2. Configure Telegram Trigger:
    • Ensure the Telegram Trigger node is set to listen for the channel_post update type.
  3. Customize WordPress Nodes:
    • Update the Create WordPress Post node with your desired Category ID (currently set to 1) and ensure the Status is set to publish (or draft for safety testing).
    • In the HTTP Request nodes (used for WordPress media upload), replace the placeholder URL (e.g., https://yourdomain.myshopify.com/) with your actual WordPress site domain.
  4. Update Social Media Target IDs:
    • LinkedIn: Update the Person ID (e.g., PghXXXXnRg) and Organization ID (e.g., 109XXX908) in the respective LinkedIn nodes to match your profile and company page.
    • Telegram Send/Repost: Update the chatId (e.g., -10025XXXX5258) in the sending Telegram nodes to match the channel or group you want to cross-post to.

Support & Help

n8n Cross-Platform Content Publisher: Telegram to WordPress, Facebook, X, & LinkedIn

This n8n workflow automates the process of publishing content received via Telegram to multiple social media platforms and a WordPress blog. It allows you to quickly disseminate updates, articles, or announcements across your digital channels from a single Telegram message.

What it does

  1. Listens for new Telegram messages: The workflow is triggered whenever a new message is received in a configured Telegram chat.
  2. Processes the message content: It extracts the text content from the Telegram message.
  3. Filters for specific commands (Implicit): Although not explicitly shown with a "Switch" node, the presence of a "Switch" node suggests a conditional logic where different actions might be taken based on the message content (e.g., a specific hashtag or command).
  4. Publishes to WordPress: The extracted content is then posted as a new blog post on a WordPress site.
  5. Publishes to Facebook: The content is also shared as a post on a Facebook page or profile via the Facebook Graph API.
  6. Publishes to X (formerly Twitter): The message is tweeted on a configured X account.
  7. Publishes to LinkedIn: The content is shared as a post on a LinkedIn profile or company page.
  8. Image Editing (Optional/Placeholder): An "Edit Image" node is present, which could be used to process any images attached to the Telegram message before publishing them to other platforms. However, without specific configuration, its exact role in this particular flow is a placeholder for potential image manipulation.
  9. HTTP Request (Optional/Placeholder): An "HTTP Request" node is included, which might be used for custom API calls or integrations not directly supported by n8n's built-in nodes. Its specific function is not defined in the provided JSON.
  10. Code Execution (Optional/Placeholder): A "Code" node is present, allowing for custom JavaScript logic to be executed. This could be used for advanced data manipulation, formatting, or conditional processing.
  11. Merge (Optional/Placeholder): A "Merge" node is included, suggesting that outputs from different branches of the workflow might be combined at some point.

Prerequisites/Requirements

To use this workflow, you will need:

  • n8n Instance: A running instance of n8n.
  • Telegram Bot Token: A Telegram bot configured with a token to listen for messages.
  • WordPress Account: Access to a WordPress site with appropriate API credentials.
  • Facebook Developer Account / Page: A Facebook Page and API access token for the Facebook Graph API.
  • X (formerly Twitter) Developer Account: An X Developer account with API keys and access tokens.
  • LinkedIn Developer Account: A LinkedIn Developer account with API keys and access tokens.

Setup/Usage

  1. Import the workflow: Download the JSON provided and import it into your n8n instance.
  2. Configure Credentials:
    • Set up your Telegram Bot credential with your bot token.
    • Configure your WordPress credential with your WordPress site URL, username, and application password.
    • Set up your Facebook Graph API credential with your access token.
    • Configure your X (Twitter) credential with your API keys and access tokens.
    • Set up your LinkedIn credential with your API keys and access tokens.
  3. Activate the workflow: Once all credentials are set up, activate the workflow.
  4. Send a Telegram Message: Send a message to your configured Telegram bot. The workflow will trigger and publish the content to WordPress, Facebook, X, and LinkedIn.
  5. Customize (Optional):
    • Modify the "Switch" node to add specific conditions or commands for different publishing behaviors.
    • Configure the "Edit Image" node if you need to process images from Telegram messages.
    • Utilize the "HTTP Request" or "Code" nodes for any custom integrations or advanced logic.

Related Templates

Generate song lyrics and music from text prompts using OpenAI and Fal.ai Minimax

Spark your creativity instantly in any chat—turn a simple prompt like "heartbreak ballad" into original, full-length lyrics and a professional AI-generated music track, all without leaving your conversation. 📋 What This Template Does This chat-triggered workflow harnesses AI to generate detailed, genre-matched song lyrics (at least 600 characters) from user messages, then queues them for music synthesis via Fal.ai's minimax-music model. It polls asynchronously until the track is ready, delivering lyrics and audio URL back in chat. Crafts original, structured lyrics with verses, choruses, and bridges using OpenAI Submits to Fal.ai for melody, instrumentation, and vocals aligned to the style Handles long-running generations with smart looping and status checks Returns complete song package (lyrics + audio link) for seamless sharing 🔧 Prerequisites n8n account (self-hosted or cloud with chat integration enabled) OpenAI account with API access for GPT models Fal.ai account for AI music generation 🔑 Required Credentials OpenAI API Setup Go to platform.openai.com → API keys (sidebar) Click "Create new secret key" → Name it (e.g., "n8n Songwriter") Copy the key and add to n8n as "OpenAI API" credential type Test by sending a simple chat completion request Fal.ai HTTP Header Auth Setup Sign up at fal.ai → Dashboard → API Keys Generate a new API key → Copy it In n8n, create "HTTP Header Auth" credential: Name="Fal.ai", Header Name="Authorization", Header Value="Key [Your API Key]" Test with a simple GET to their queue endpoint (e.g., /status) ⚙️ Configuration Steps Import the workflow JSON into your n8n instance Assign OpenAI API credentials to the "OpenAI Chat Model" node Assign Fal.ai HTTP Header Auth to the "Generate Music Track", "Check Generation Status", and "Fetch Final Result" nodes Activate the workflow—chat trigger will appear in your n8n chat interface Test by messaging: "Create an upbeat pop song about road trips" 🎯 Use Cases Content Creators: YouTubers generating custom jingles for videos on the fly, streamlining production from idea to audio export Educators: Music teachers using chat prompts to create era-specific folk tunes for classroom discussions, fostering interactive learning Gift Personalization: Friends crafting anniversary R&B tracks from shared memories via quick chats, delivering emotional audio surprises Artist Brainstorming: Songwriters prototyping hip-hop beats in real-time during sessions, accelerating collaboration and iteration ⚠️ Troubleshooting Invalid JSON from AI Agent: Ensure the system prompt stresses valid JSON; test the agent standalone with a sample query Music Generation Fails (401/403): Verify Fal.ai API key has minimax-music access; check usage quotas in dashboard Status Polling Loops Indefinitely: Bump wait time to 45-60s for complex tracks; inspect fal.ai queue logs for bottlenecks Lyrics Under 600 Characters: Tweak agent prompt to enforce fuller structures like [V1][C][V2][B][C]; verify output length in executions

Daniel NkenchoBy Daniel Nkencho
601

AI-powered code review with linting, red-marked corrections in Google Sheets & Slack

Advanced Code Review Automation (AI + Lint + Slack) Who’s it for For software engineers, QA teams, and tech leads who want to automate intelligent code reviews with both AI-driven suggestions and rule-based linting — all managed in Google Sheets with instant Slack summaries. How it works This workflow performs a two-layer review system: Lint Check: Runs a lightweight static analysis to find common issues (e.g., use of var, console.log, unbalanced braces). AI Review: Sends valid code to Gemini AI, which provides human-like review feedback with severity classification (Critical, Major, Minor) and visual highlights (red/orange tags). Formatter: Combines lint and AI results, calculating an overall score (0–10). Aggregator: Summarizes results for quick comparison. Google Sheets Writer: Appends results to your review log. Slack Notification: Posts a concise summary (e.g., number of issues and average score) to your team’s channel. How to set up Connect Google Sheets and Slack credentials in n8n. Replace placeholders (<YOURSPREADSHEETID>, <YOURSHEETGIDORNAME>, <YOURSLACKCHANNEL_ID>). Adjust the AI review prompt or lint rules as needed. Activate the workflow — reviews will start automatically whenever new code is added to the sheet. Requirements Google Sheets and Slack integrations enabled A configured AI node (Gemini, OpenAI, or compatible) Proper permissions to write to your target Google Sheet How to customize Add more linting rules (naming conventions, spacing, forbidden APIs) Extend the AI prompt for project-specific guidelines Customize the Slack message formatting Export analytics to a dashboard (e.g., Notion or Data Studio) Why it’s valuable This workflow brings realistic, team-oriented AI-assisted code review to n8n — combining the speed of automated linting with the nuance of human-style feedback. It saves time, improves code quality, and keeps your team’s review history transparent and centralized.

higashiyama By higashiyama
90

Auto-reply & create Linear tickets from Gmail with GPT-5, gotoHuman & human review

This workflow automatically classifies every new email from your linked mailbox, drafts a personalized reply, and creates Linear tickets for bugs or feature requests. It uses a human-in-the-loop with gotoHuman and continuously improves itself by learning from approved examples. How it works The workflow triggers on every new email from your linked mailbox. Self-learning Email Classifier: an AI model categorizes the email into defined categories (e.g., Bug Report, Feature Request, Sales Opportunity, etc.). It fetches previously approved classification examples from gotoHuman to refine decisions. Self-learning Email Writer: the AI drafts a reply to the email. It learns over time by using previously approved replies from gotoHuman, with per-classification context to tailor tone and style (e.g., different style for sales vs. bug reports). Human Review in gotoHuman: review the classification and the drafted reply. Drafts can be edited or retried. Approved values are used to train the self-learning agents. Send approved Reply: the approved response is sent as a reply to the email thread. Create ticket: if the classification is Bug or Feature Request, a ticket is created by another AI agent in Linear. Human Review in gotoHuman: How to set up Most importantly, install the gotoHuman node before importing this template! (Just add the node to a blank canvas before importing) Set up credentials for gotoHuman, OpenAI, your email provider (e.g. Gmail), and Linear. In gotoHuman, select and create the pre-built review template "Support email agent" or import the ID: 6fzuCJlFYJtlu9mGYcVT. Select this template in the gotoHuman node. In the "gotoHuman: Fetch approved examples" http nodes you need to add your formId. It is the ID of the review template that you just created/imported in gotoHuman. Requirements gotoHuman (human supervision, memory for self-learning) OpenAI (classification, drafting) Gmail or your preferred email provider (for email trigger+replies) Linear (ticketing) How to customize Expand or refine the categories used by the classifier. Update the prompt to reflect your own taxonomy. Filter fetched training data from gotoHuman by reviewer so the writer adapts to their personalized tone and preferences. Add more context to the AI email writer (calendar events, FAQs, product docs) to improve reply quality.

gotoHumanBy gotoHuman
353