Skip to main content

Generate AI LinkedIn Posts with Human Approval via Telegram and GPT

Workflow preview

Workflow preview
100%
Generate AI LinkedIn Posts with Human Approval via Telegram and GPT preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

Human in the Loop LinkedIn Post Generator (Telegram + AI) This n8n template demonstrates how to build a human in the loop AI workflow that helps you create professional LinkedIn posts via Telegram....

Best for

  • Content Creation automation workflows
  • AI Chatbot automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.telegramtrigger, @n8n/n8n-nodes-langchain.agent, @tavily/n8n-nodes-tavily.tavilytool, n8n-nodes-base.set, n8n-nodes-base.telegram, @n8n/n8n-nodes-langchain.textclassifier, @n8n/n8n-nodes-langchain.chainllm, n8n-nodes-base.googlesheets

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Yasser Sami.

Original n8n.io source

1.1 Workflow description

Title
Generate AI LinkedIn Posts with Human Approval via Telegram and GPT
Workflow name
Generate AI LinkedIn Posts with Human Approval via Telegram and GPT

Human-in-the-Loop LinkedIn Post Generator (Telegram + AI)

This n8n template demonstrates how to build a human-in-the-loop AI workflow that helps you create professional LinkedIn posts via Telegram. The agent searches the web, drafts content, asks for your approval, and refines it based on your feedback — ensuring every post sounds polished and on-brand.

Who’s it for

  • Content creators and marketers who want to save time drafting LinkedIn posts.
  • SaaS founders or solopreneurs who regularly share updates or insights.
  • Anyone who wants an AI writing assistant with human control in the loop.

How it works / What it does

  1. Trigger: The workflow starts when you send a message to the Telegram bot asking it to write a LinkedIn post (e.g., “Write a LinkedIn post about AI in marketing”).
  2. Research: The AI agent uses the Tavily tool to search the web and gather context for your topic.
  3. Drafting: An AI model (OpenAI or Gemini) creates a professional LinkedIn post based on the findings.
  4. Human-in-the-loop:
    • The bot sends the draft to you in Telegram and asks: “Good to go?”
    • If you approve → The post is saved to a Google Sheet, ready to publish.
    • If you disapprove and give feedback → The feedback is sent to a second AI agent that revises and improves the post.
    • The improved draft is sent back to you again for final approval.
  5. Finalization: Once approved, the post is appended to a Google Sheet — your ready-to-post content library.

This workflow combines AI creativity with human oversight to produce polished, authentic LinkedIn content every time.

How to set up

  1. Import this template into your n8n account.
  2. Connect your Telegram bot (via Telegram Trigger and Send Message nodes).
  3. Connect your Google Sheets account to store approved posts.
  4. Set up your AI model provider (OpenAI or Gemini) and Tavily API key for web search.
  5. Activate the workflow and start chatting with your AI writing assistant on Telegram!

Requirements

  • n8n account.
  • Telegram bot token.
  • OpenAI or Google Gemini account (for text generation).
  • Tavily API key (for web search).
  • Google Sheets account (for saving approved posts).

How to customize the workflow

  • Post Tone: Adjust AI prompts to match your personal voice (professional, storytelling, inspirational, etc.).
  • Approval Logic: Modify the approval step to allow multiple revision loops or add a “draft-only” mode.
  • Storage Options: Instead of Google Sheets, save approved posts to Notion, Airtable, or your CMS.
  • Multi-platform: Extend the same logic for X (Twitter) or Threads by changing the final output destination.
  • Branding: Add your brand guidelines or preferred hashtags to the AI prompts for consistent style.

This template helps you write better LinkedIn posts faster — keeping you in full control while AI does the heavy lifting.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Telegram Trigger

Type / Role
n8n-nodes-base.telegramTrigger - telegramTrigger
Config choices
Version 1.2

Block 2 - AI Agent

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 2.2

Block 3 - Tavily Tool

Type / Role
@tavily/n8n-nodes-tavily.tavilyTool - tavilyTool
Config choices
Version 1

Block 4 - Edit Fields

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 5 - Send a text message

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 6 - Text Classifier

Type / Role
@n8n/n8n-nodes-langchain.textClassifier - textClassifier
Config choices
Version 1.1

Block 7 - Basic LLM Chain

Type / Role
@n8n/n8n-nodes-langchain.chainLlm - chainLlm
Config choices
Version 1.7

Block 8 - Edit Fields1

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 9 - Append row in sheet

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 10 - OpenAI Chat Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenAi - lmChatOpenAi
Config choices
Version 1.2

Block 11 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 12 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 13 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 14 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 15 - Sticky Note4

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 16 - Sticky Note5

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Generate AI LinkedIn Posts with Human Approval via Telegram and GPT
Complexity advanced
Nodes 16
Categories Content Creation, AI Chatbot
Author Yasser Sami
Published 10 Oct 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/9472/9472.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Generate AI LinkedIn Posts with Human Approval via Telegram and GPT do?

Human in the Loop LinkedIn Post Generator (Telegram + AI) This n8n template demonstrates how to build a human in the loop AI workflow that helps you create professional LinkedIn posts via Telegram....

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Content Creation, AI Chatbot use case.