Skip to main content

Deep research assistant with Perplexity AI and Telegram citations

Workflow preview

Workflow preview
100%
Deep research assistant with Perplexity AI and Telegram citations preview
Open on n8n.io

Important notice

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

1. Workflow Overview

Turn your Telegram bot into a real time research assistant with this intelligent n8n workflow. Designed for founders, analysts, and knowledge workers, this automation uses Perplexity Sonar and Sona...

Best for

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

Tools used

@n8n/n8n-nodes-langchain.agent, @n8n/n8n-nodes-langchain.lmchatopenai, @n8n/n8n-nodes-langchain.memorybufferwindow, n8n-nodes-base.perplexitytool, n8n-nodes-base.telegramtrigger, n8n-nodes-base.telegram, n8n-nodes-base.filter, n8n-nodes-base.stickynote

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Deep research assistant with Perplexity AI and Telegram citations
Workflow name
Deep research assistant with Perplexity AI and Telegram citations

Turn your Telegram bot into a real-time research assistant with this intelligent n8n workflow. Designed for founders, analysts, and knowledge workers, this automation uses Perplexity Sonar and Sonar Pro to deliver concise, citation-rich answers to complex queries — directly inside Telegram.


🔍 What It Does

  • ✅ Smart Query Routing
    Automatically selects the right tool based on query complexity — Sonar for fast lookups, Sonar Pro for multi-source synthesis.

  • 📚 Cited Research Summaries
    Includes clickable URLs from Perplexity’s source data for transparency and auditability.

  • 🧠 Session Memory
    Maintains chat context using Telegram chat ID for follow-up questions and threaded insight.

  • 🔐 Secure Access Filter
    Restricts bot usage to authorized Telegram users.

  • ⚙️ Customizable Agent Behavior
    Easily adjust tone, tool preferences, and citation style via system message.


🚀 Use Cases

  • Market research & competitor analysis
  • Academic and scientific deep-dives
  • Legal and transcript summarization
  • Podcast, video, and trend monitoring
  • Personal AI assistant for founders and consultants

🛠 Setup Instructions

  1. Create a Telegram bot via @BotFather and add your token.
  2. Add your OpenAI and Perplexity API keys.
  3. Update the filter node with your Telegram user ID.
  4. Deploy and start chatting — responses appear in Telegram.

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 - AI Agent

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

Block 2 - OpenAI Chat Model

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

Block 3 - Window Buffer Memory

Type / Role
@n8n/n8n-nodes-langchain.memoryBufferWindow - memoryBufferWindow
Config choices
Version 1.3

Block 4 - Perplexity Sonar

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

Block 5 - Perplexity Sonar Pro

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

Block 6 - Telegram Trigger

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

Block 7 - Telegram

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

Block 8 - Filter

Type / Role
n8n-nodes-base.filter - filter
Config choices
Version 2.2

Block 9 - Workflow Overview

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

Block 10 - Telegram Setup

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

Block 11 - Security Filter

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

Block 12 - AI Agent Config

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

Block 13 - Telegram Response

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

Block 14 - OpenAI Setup

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

Block 15 - Memory Config

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

Block 16 - Perplexity Pro

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

3. Summary Table

Workflow Deep research assistant with Perplexity AI and Telegram citations
Complexity advanced
Nodes 16
Categories AI Chatbot, Multimodal AI
Author BizThrive.ai
Published 27 Aug 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/7939/7939.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 Deep research assistant with Perplexity AI and Telegram citations do?

Turn your Telegram bot into a real time research assistant with this intelligent n8n workflow. Designed for founders, analysts, and knowledge workers, this automation uses Perplexity Sonar and Sona...

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 AI Chatbot, Multimodal AI use case.