🔓 Unlock all 10,000+ workflows & prompts free Join Newsletter →
✅ Full access unlocked — explore all 10,000 AI workflow and prompt templates Browse Templates →
Home n8n Workflow
January 22, 2026

Telegram + Google Sheets: LinkedIn drafts on demand

Lisa Granqvist Partner Workflow Automation Expert

You find a great article, think “I should post about this,” then it disappears into 14 open tabs. Later, you’re staring at a blank LinkedIn draft, trying to remember what the piece even said.

This Telegram Sheets drafts automation hits marketers hardest, but founders and solo consultants feel it too. You’ll turn random links into a searchable library, then request a LinkedIn-ready draft on demand without reopening the article.

Below you’ll see exactly how the workflow captures links, summarizes them with AI, saves them to Google Sheets, and sends you a clean post draft when you type one simple command.

How This Automation Works

The full n8n workflow, from trigger to final output:

n8n Workflow Template: Telegram + Google Sheets: LinkedIn drafts on demand

The Problem: Good articles don’t become good posts

Saving links isn’t the hard part. The hard part is turning those links into something you can actually publish. You skim an article, you think you’ll remember the hook, then client work happens and it’s gone. When you finally sit down to write, you’re re-reading the same content, re-highlighting the same points, and still second-guessing the angle. Worse, your “swipe file” lives across bookmarks, DMs, screenshots, and notes. The result is inconsistent posting, and a weird feeling that you’re always behind.

It adds up fast. Here’s where it breaks down in real life.

  • You lose at least 15 minutes per article re-finding and re-reading key parts.
  • Your ideas aren’t searchable, so “I know I saved something on this…” becomes a time sink.
  • Draft quality swings because you’re writing from memory instead of structured notes.
  • Posting slows down since writing starts from zero every time.

The Solution: Telegram in, LinkedIn drafts out

This workflow gives you a simple habit: when you see an article worth sharing, you just send the link to your Telegram bot. n8n grabs the URL, fetches the content, and hands it to an AI “insight gatherer” that summarizes the piece and pulls out the main arguments in a structured way. Then it maps those outputs into consistent fields and appends a new row in Google Sheets, so you’re building a real content library over time. When you’re ready to post, you type “generate” in Telegram. The workflow retrieves rows from your sheet and uses AI again to compose a LinkedIn-ready post draft, then sends it back to Telegram for quick editing and copy/paste.

The workflow starts with a Telegram message. If it’s a link, it gets analyzed and saved to Google Sheets with a clean summary and commentary. If it’s “generate,” the workflow pulls from the sheet and delivers a formatted LinkedIn draft back to you in Telegram.

What You Get: Automation vs. Results

Example: What This Looks Like

Say you save 10 articles a week. Manually, you might spend about 20 minutes per article to re-open it, pull quotes, and write a rough draft, which is roughly 3 hours. With this workflow, you spend maybe 1 minute sending each link to Telegram, and later you type “generate” and wait a minute for the draft to return. That’s about 15 minutes of effort for the same 10-post pipeline, with the research already captured in your sheet.

What You’ll Need

  • n8n instance (try n8n Cloud free)
  • Self-hosting option if you prefer (Hostinger works well)
  • Telegram for collecting links and requesting drafts
  • Google Sheets to store summaries and insights
  • OpenAI API key (or another LLM provider) (get it from your AI provider dashboard)

Skill level: Beginner. You’ll connect accounts, paste API keys, and match a few Google Sheet columns.

Don’t want to set this up yourself? Talk to an automation expert (free 15-minute consultation).

How It Works

A Telegram message kicks it off. The Telegram bot is your single input. Drop an article URL when inspiration hits, or type “generate” when you want a draft back.

The workflow decides what you meant. An “If” check routes the message: links go to analysis, while the generate command goes to drafting. Small detail, big usability win because you don’t need separate commands for “save” versus “write.”

AI turns raw content into usable notes. The Insight Gatherer agent plus the OpenAI chat model analyzes the page (or PDF), summarizes it, and pulls out key arguments and context. Then “Set” and normalization steps shape the data so every row in Sheets follows the same structure.

Google Sheets becomes your content library. New links are appended as rows with fields like date, title, link, summary, and insights commentary. When you request a post, the workflow retrieves rows and sends them into a second AI agent that composes a LinkedIn-style draft, which is delivered right back to Telegram.

You can easily modify the selection logic to pull the latest item, a random row, or a specific topic based on your needs. See the full implementation guide below for customization options.

Step-by-Step Implementation Guide

Step 1: Configure the Telegram Trigger

Set up the workflow entry point so Telegram messages can kick off the automation.

  1. Add and configure Telegram Intake Trigger to listen for updates of type message.
  2. Credential Required: Connect your telegramApi credentials in Telegram Intake Trigger.
  3. Verify the trigger is connected to Detect Link or Command so the workflow can branch based on message content.

Tip: Keep Flowpast Branding as a visual label only—it doesn’t affect execution.

Step 2: Connect Google Sheets

Link your spreadsheet to store and retrieve content summaries and insights.

  1. Open Append Sheet Row and select the target Document and Sheet in documentId and sheetName.
  2. Set operation to append in Append Sheet Row.
  3. Credential Required: Connect your googleSheetsOAuth2Api credentials in Append Sheet Row.
  4. Configure Retrieve Sheet Rows with the same documentId and sheetName values so the AI can access existing records.
  5. Credential Required: Connect your googleSheetsOAuth2Api credentials (this is an AI tool for Compose LinkedIn Post—ensure credentials are added at the parent agent configuration, not the tool node).

⚠️ Common Pitfall: Leaving documentId or sheetName empty will cause the append and tool calls to fail.

Step 3: Set Up Routing and Input Mapping

Ensure Telegram messages are classified and routed to the correct branch, then mapped into structured fields.

  1. In Detect Link or Command, set the first condition to compare chat IDs using {{ $json.message.chat.id }} equals {{ $json.message.from.id }}.
  2. Set the second condition in Detect Link or Command to check if {{ $json.message.text }} contains =https:// to detect article links.
  3. In Assign Chat Input, create chatInput with value {{ $('Telegram Intake Trigger').item.json.message.text }}.
  4. In Check Generate Command, keep the equality check between {{ $json.message.chat.id }} and {{ $json.message.from.id }}, and confirm the second condition checks if {{ $json.message.text }} contains generate.

Tip: This structure lets Detect Link or Command route links to summaries and route the “generate” command to the post generator.

Step 4: Set Up AI Insight Processing

Configure the AI agent to read the article and map its outputs into structured fields for storage and messaging.

  1. In Insight Gatherer, set text to =Read the article {{ $json.chatInput }} and do as requiered by your role and keep promptType as define.
  2. Attach OpenAI Chat Engine A as the language model for Insight Gatherer and ensure it uses model gpt-4.1-mini.
  3. Credential Required: Connect your openAiApi credentials in OpenAI Chat Engine A. This model powers Insight Gatherer.
  4. In Map Output Fields, map structured outputs using these expressions: Title {{$json.output.match(/Title:\s*([\s\S]*?)(?:\n|$)/)?.[1]}}, Link {{$json.output.extractUrl()}}, Summary {{$json.output.match(/Summary:\s*([^]+?)Insight & Commentary:/s)?.[1]?.trim()}}, and Insight & Commentary {{$json.output.match(/Insight & Commentary:\s*([^]+)/s)?.[1]}}.
  5. In Normalize Records, keep the code as const fields = $input.all().map((item) => item.json); return fields; so the output matches the Google Sheets append format.

Step 5: Configure Output and Delivery

Send summaries and generated posts back to Telegram, and store summaries in Google Sheets.

  1. Connect Map Output FieldsNormalize RecordsAppend Sheet Row to log insights to your sheet.
  2. In Send Summary Message, set text to {{ $('Map Output Fields').item.json.Summary }} and chatId to {{ $('Telegram Intake Trigger').item.json.message.chat.id }}.
  3. Credential Required: Connect your telegramApi credentials in Send Summary Message.
  4. In Compose LinkedIn Post, keep the prompt text for post generation and ensure OpenAI Chat Engine B is attached as the language model.
  5. Credential Required: Connect your openAiApi credentials in OpenAI Chat Engine B. This model powers Compose LinkedIn Post.
  6. In Deliver LinkedIn Post, set text to {{ $json.output }} and chatId to {{ $('Telegram Intake Trigger').item.json.message.chat.id }}.
  7. Credential Required: Connect your telegramApi credentials in Deliver LinkedIn Post.

⚠️ Common Pitfall: If Check Generate Command doesn’t match the word generate, Compose LinkedIn Post and Deliver LinkedIn Post will never run.

Step 6: Test and Activate Your Workflow

Validate the end-to-end flow from Telegram intake to summary storage and post delivery.

  1. Click Execute Workflow and send a Telegram message containing a URL to trigger Telegram Intake Trigger and the summary path.
  2. Confirm that Send Summary Message replies with a summary and that Append Sheet Row adds a new row in your Google Sheet.
  3. Send a Telegram message containing the word generate to trigger Check Generate Command and confirm Deliver LinkedIn Post returns the generated post.
  4. When successful, toggle the workflow to Active to run continuously in production.
🔒

Unlock Full Step-by-Step Guide

Get the complete implementation guide + downloadable template

Common Gotchas

  • Google Sheets credentials can expire or need specific permissions. If things break, check n8n’s Credentials panel and confirm the Google account still has edit access to the sheet.
  • If you’re using Wait nodes or external rendering, processing times vary. Bump up the wait duration if downstream nodes fail on empty responses.
  • Default prompts in AI nodes are generic. Add your brand voice early or you’ll be editing outputs forever.

Frequently Asked Questions

How long does it take to set up this Telegram Sheets drafts automation?

About 30 minutes if your Telegram bot and Google Sheet are ready.

Do I need coding skills to automate Telegram Sheets drafts?

No. You’ll mostly connect accounts and copy/paste credentials. A little comfort editing text prompts helps, but it’s optional.

Is n8n free to use for this Telegram Sheets drafts workflow?

Yes. n8n has a free self-hosted option and a free trial on n8n Cloud. Cloud plans start at $20/month for higher volume. You’ll also need to factor in OpenAI (or your LLM) API costs, which are usually just a few dollars a month at low volume.

Where can I host n8n to run this automation?

Two options: n8n Cloud (managed, easiest setup) or self-hosting on a VPS. For self-hosting, Hostinger VPS is affordable and handles n8n well. Self-hosting gives you unlimited executions but requires basic server management.

Can I customize this Telegram Sheets drafts workflow for a specific LinkedIn tone?

Yes, and you should. Update the prompt inside the “Compose LinkedIn Post” agent to match your voice (short punchy lines, more story-based, more technical, etc.). You can also change what gets stored by editing the “Map Output Fields” step, then adding or renaming columns in Google Sheets. Common tweaks include adding a “Topic” column, generating multiple hooks, or writing in a second language.

Why is my Telegram connection failing in this workflow?

Usually it’s the bot token. Recreate or re-copy the token from BotFather, then update the Telegram credentials used by the Telegram Trigger and send nodes in n8n. Also check that you’re messaging the correct bot, and that n8n can receive inbound webhooks (common issue on locked-down self-hosted setups). If it fails only sometimes, rate limits or long article fetch times can cause timeouts, so increasing timeouts in the HTTP request path can help.

How many articles can this Telegram Sheets drafts automation handle?

A lot. On n8n Cloud Starter, you’re typically fine for a personal workflow and a steady weekly pipeline, and bigger plans handle more volume. If you self-host, there’s no execution limit (it depends on your server). Practically, the bottleneck is AI and article fetching, so assume a handful of articles per minute, not hundreds.

Is this Telegram Sheets drafts automation better than using Zapier or Make?

Often, yes. This workflow relies on conditional routing (“link vs generate”), structured mapping, and AI agent steps, which is where n8n tends to feel more flexible and less paywalled. Zapier or Make can still do it, but multi-step AI workflows usually get expensive and harder to maintain. If you only want “save a link to Sheets,” those tools are fine. If you want the on-demand draft loop inside Telegram, n8n is a better fit. Talk to an automation expert if you’re stuck choosing.

Once this is running, your “I should post about this” moments stop evaporating. The workflow keeps the library organized and the drafts flowing, so you can focus on publishing and refining your point of view.

Need Help Setting This Up?

Our automation experts can build and customize this workflow for your specific needs. Free 15-minute consultation—no commitment required.

Lisa Granqvist

Workflow Automation Expert

Expert in workflow automation and no-code tools.

×

Use template

Get instant access to this n8n workflow Json file

💬
Get a free quote today!
Get a free quote today!

Tell us what you need and we'll get back to you within one working day.

Get a free quote today!
Get a free quote today!

Tell us what you need and we'll get back to you within one working day.

Launch login modal Launch register modal