See llms.txt for all machine-readable content.

Back to Templates

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.