🔓 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 to Google Sheets, clean TikTok and LinkedIn

Lisa Granqvist Partner Workflow Automation Expert

Building a list of TikTok creators or LinkedIn prospects sounds simple until you’re 30 profiles deep, juggling tabs, reformatting URLs, and second-guessing whether you copied the right follower count.

This hits marketers hardest, but recruiters and sales teams feel it too. With this Telegram Sheets automation, you send a handle or profile link in Telegram and it lands in Google Sheets as a clean, structured row.

No more “I’ll fix the sheet later.” You’ll see how the workflow routes TikTok vs. LinkedIn, extracts the right fields, and logs everything where your team actually works.

How This Automation Works

The full n8n workflow, from trigger to final output:

n8n Workflow Template: Telegram to Google Sheets, clean TikTok and LinkedIn

The Problem: Messy Profile Data Ruins Your Lists

When you’re collecting profiles for influencer outreach, competitor research, or lead enrichment, the sheet is the source of truth. Except it rarely stays truthful. Someone pastes a TikTok handle without the “@”. Another person grabs an old LinkedIn URL that redirects. Follower counts get typed by hand, bios get chopped, and profile pictures never make it in. Then you try to segment creators by reach or filter prospects by location and… it’s chaos. Honestly, the worst part is the doubt: you’re never fully sure your list is accurate.

The friction compounds. Here’s where it breaks down in real life.

  • Copy-pasting from TikTok and LinkedIn forces you to format data twice, once for capture and again for analysis.
  • Manual entry invites small errors that become big ones when you’re sending outreach or reporting results.
  • Teams collect data in different places, so the “final” sheet turns into five versions floating around.
  • Voice notes and quick messages get ignored because nobody has time to turn them into structured rows.

The Solution: Send a Profile in Telegram, Log It Cleanly

This workflow turns Telegram into your intake inbox for TikTok and LinkedIn profile research. You send either a TikTok username (like @creatorname) or a LinkedIn profile URL, and the automation handles the rest. If the message is a voice note, it gets transcribed first. Then an AI agent figures out which platform you meant, triggers the correct scraper, and pulls the public profile details you actually need for analysis. Finally, it writes a clean, consistent row into the right Google Sheets tab (TikTok or LinkedIn), and sends a completion email so you know it finished. One input. Structured output.

The workflow starts with a Telegram message (text or voice). From there, OpenAI handles transcription and routing logic, Dumpling AI scrapes the profile, and Google Sheets receives the final row. Gmail sends the confirmation once the data is safely stored.

What You Get: Automation vs. Results

Example: What This Looks Like

Say you’re building a list of 40 TikTok creators and 20 LinkedIn prospects for a campaign. Manually, even a “quick” capture is maybe 5 minutes per profile once you copy follower counts, bios, links, and paste everything into the right columns, so you’re looking at about 5 hours of busywork. With this workflow, you can drop each handle or URL into Telegram in a few seconds and let it run. Even if you budget about 1 minute per profile to submit and sanity-check, you’ve turned half a day of copy-paste into a short batch you can do between calls.

What You’ll Need

  • n8n instance (try n8n Cloud free)
  • Self-hosting option if you prefer (Hostinger works well)
  • Telegram to receive handles, links, and voice notes.
  • Google Sheets to store TikTok and LinkedIn rows.
  • OpenAI API Key (get it from your OpenAI dashboard).
  • Dumpling AI API Key (get it from your Dumpling AI account).
  • Gmail to send the “done” notification email.

Skill level: Intermediate. You’ll connect accounts, paste a spreadsheet ID, and verify the column headers match.

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

How It Works

A Telegram message triggers the run. You send a TikTok handle or a LinkedIn URL to your bot. If it’s text, it moves straight into processing.

Voice notes get transcribed. When the workflow detects audio, it pulls the voice file from Telegram and uses OpenAI Whisper to turn it into usable text.

An AI agent chooses the right scraper. The “Social Data Extraction Agent” looks at the content and decides if it should fetch TikTok profile metrics or LinkedIn profile details, then calls the matching Dumpling AI-powered HTTP request tool.

Google Sheets receives a clean row and Gmail confirms it. TikTok data goes to the TikTok tab with fields like followerCount and videoCount, while LinkedIn data goes to the LinkedIn tab with fields like location and recentPosts link. After the write succeeds, a completion email is sent so you don’t have to keep checking the sheet.

You can easily modify the fields you store to match your research goals (for example, add tags or a campaign name column). See the full implementation guide below for customization options.

Step-by-Step Implementation Guide

Step 1: Configure the Telegram Trigger

Set up the trigger that listens for incoming Telegram messages (text or voice) and downloads media if present.

  1. Add Telegram Message Intake as your trigger.
  2. In Telegram Message Intake, set Updates to message and enable Download in Additional Fields.
  3. Credential Required: Connect your telegramApi credentials in Telegram Message Intake.

Flowpast Branding is a visual sticky note and does not affect execution.

Step 2: Configure Voice/Text Routing

Route voice messages to transcription, and text messages directly to the agent pipeline.

  1. Open Voice Message Check and set the condition to check Exists for {{ $json.message.voice }}.
  2. Connect Telegram Message IntakeVoice Message Check.
  3. Ensure the True path from Voice Message Check connects to Retrieve Voice File, and the False path connects to Map Text Content.

Voice Message Check routes voice input to Retrieve Voice File and text input to Map Text Content, so only one branch runs per message.

Step 3: Set Up Audio Transcription and Text Mapping

Transcribe voice messages and normalize both voice and text into a shared Text field for the agent.

  1. In Retrieve Voice File, set Resource to file and File ID to {{ $json.message.voice.file_id }}.
  2. Credential Required: Connect your telegramApi credentials in Retrieve Voice File.
  3. In Whisper Audio Transcription, set Resource to audio and Operation to transcribe.
  4. Credential Required: Connect your openAiApi credentials in Whisper Audio Transcription.
  5. In Map Voice Text, create the field Text with value {{ $json.text }}.
  6. In Map Text Content, create the field Text with value {{ $json.message.text }}.

Step 4: Set Up Social Data Extraction Agent

Configure the AI agent to detect TikTok or LinkedIn requests, call scraping tools, and save results to Google Sheets.

  1. In Social Data Extraction Agent, set Text to User message: {{ $json.Text }} and keep Prompt Type as define.
  2. Attach OpenAI Chat Engine as the language model and set Model to gpt-4.1-mini.
  3. Credential Required: Connect your openAiApi credentials in OpenAI Chat Engine.
  4. Connect both Map Voice Text and Map Text Content into Social Data Extraction Agent.
  5. Add the tools TikTok Profile Fetcher, TikTok Sheet Recorder, LinkedIn Profile Fetcher, and LinkedIn Sheet Recorder to Social Data Extraction Agent as AI tools.
  6. Credential Required: Connect your httpHeaderAuth credentials for TikTok Profile Fetcher and LinkedIn Profile Fetcher in the parent Social Data Extraction Agent tool setup.
  7. Credential Required: Connect your googleSheetsOAuth2Api credentials for TikTok Sheet Recorder and LinkedIn Sheet Recorder in the parent Social Data Extraction Agent tool setup.

Step 5: Configure Data Storage and Notifications

Define the scraping endpoints, map the output fields, and notify when extraction is complete.

  1. In TikTok Profile Fetcher, set URL to https://app.dumplingai.com/api/v1/get-tiktok-profile and Method to POST, with body parameter handle set to {{ /*n8n-auto-generated-fromAI-override*/ $fromAI('parameters0_Value', ``, 'string') }}.
  2. In LinkedIn Profile Fetcher, set URL to https://app.dumplingai.com/api/v1/linkedin/profile and Method to POST, with body parameter url set to {{ /*n8n-auto-generated-fromAI-override*/ $fromAI('parameters0_Value', ``, 'string') }}.
  3. In TikTok Sheet Recorder, set Operation to append, Sheet Name to gid=0 (TikTok), and map the fields using the existing expressions (e.g., {{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Username', ``, 'string') }}).
  4. In LinkedIn Sheet Recorder, set Operation to append, Sheet Name to 1956409676 (LinkedIn), and map the fields using the existing expressions (e.g., {{ /*n8n-auto-generated-fromAI-override*/ $fromAI('name', ``, 'string') }}).
  5. Set Document ID in both sheet recorder nodes to your Google Sheet (replace [YOUR_ID]).
  6. In Dispatch Completion Email, set Send To to [YOUR_EMAIL], Subject to Extraction complete, and Message to Extraction complete. I have scraped the profile and successfully saved all data points to your spreadsheet.
  7. Credential Required: Connect your gmailOAuth2 credentials in Dispatch Completion Email.

⚠️ Common Pitfall: Replace [YOUR_EMAIL] and [YOUR_ID] placeholders before testing, or the workflow will fail to send notifications or write to Sheets.

Step 6: Test and Activate Your Workflow

Validate the end-to-end flow with a test message, then activate for production use.

  1. Click Execute Workflow and send a Telegram message to your bot with either a TikTok username or a LinkedIn URL.
  2. For voice tests, send a voice note and confirm Whisper Audio Transcription produces text and that Map Voice Text passes it to Social Data Extraction Agent.
  3. Verify that the agent calls the appropriate tools and appends a new row in the matching Google Sheet.
  4. Confirm the email from Dispatch Completion Email arrives with subject Extraction complete.
  5. Toggle the workflow to Active to begin processing live Telegram messages.
🔒

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 the n8n Credentials panel and confirm the connected Google account still has edit access to the spreadsheet.
  • If you’re leaning on audio input, transcription and scraping times vary. If a downstream node receives an empty value, increase the wait time (or avoid sending very long voice notes).
  • The AI Agent prompt determines routing behavior. If your team sends shorthand like “LI: john smith” or messy URLs, tighten the system prompt early or you’ll be cleaning misrouted runs later.

Frequently Asked Questions

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

About 30 minutes if your keys and Google Sheet are ready.

Do I need coding skills to automate Telegram to Google Sheets logging?

No. You’ll mainly connect accounts and paste in your spreadsheet ID.

Is n8n free to use for this Telegram Sheets automation 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 API costs and Dumpling AI scraping costs.

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 automation workflow for adding Instagram profiles too?

Yes, but you’ll want to do it deliberately. Add a new HTTP Request scraping tool for Instagram, add a matching Google Sheets recorder node (new tab, new columns), then update the Social Data Extraction Agent instructions so it always follows the same pattern: scrape first, then save. Common customizations include tagging rows with a campaign name, adding an “owner” column for assignment, and sending the results back to Telegram instead of email.

Why is my Telegram connection failing in this workflow?

Usually it’s the bot token. Regenerate it in @BotFather and update it in the Telegram Message Intake node credentials. Also confirm the bot is added correctly and you’re messaging the right bot, not a personal account chat. If voice notes are failing but text works, the “Retrieve Voice File” node often needs permission to fetch files for that bot session.

How many profiles can this Telegram Sheets automation handle?

Practically, hundreds per day for most small teams.

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

For profile scraping and AI routing, n8n is usually a better fit because it handles branching logic cleanly, supports self-hosting for high volume, and makes it easier to keep the “scrape then save” sequence consistent. Zapier or Make can work, but the moment you add voice transcription, conditional routing, and two different data schemas (TikTok vs. LinkedIn), it gets fiddly and can get expensive. n8n also gives you more control over retries and data shaping, which matters when you care about clean rows. If you’re only logging plain text into one sheet tab, the simpler tools can be fine. Talk to an automation expert if you want a quick recommendation based on your volume.

Once this is running, your list stops being a fragile spreadsheet and starts acting like a system. The workflow handles the repetitive capture so you can focus on decisions, outreach, and results.

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