3 templates found
Category:
Author:
Sort:

Telegram bot starter template setup & AI agent chatbot

Telegram Bot Starter template workflow + n8n AI Agent Chatbot provides a foundational setup for creating powerful Telegram bots with n8n. It handles incoming messages, photos, files, and voice notes, making it an excellent starting point for developers looking to create bots for customer engagement, support, or interactive services. Sign up to n8n now → and try it! Key Features: Dynamic Message Handling: Respond to text messages, photos, files, and more. Modular Design: Easily integrate additional workflows such as user registration, payment modules, or custom commands. Error Handling: Ensure the bot gracefully manages errors and user inputs. Extensibility: This workflow is the base for building any Telegram bot. Additional modules, such as a user registration module, payment integration, and user profile management, are available for easy connection to expand the bot’s functionality. ✍🏻Use the Telegram user registration workflow → 💵Use the Telegram Payment, Invoicing and Refund Workflow for Stars → Who Can Use This Workflow? Developers looking for a quick way to build and customize Telegram bots. Businesses and service providers who need customer interaction automation. Setup Instructions: Replace Telegram credentials with your own API credentials. Customize responses for different message types (text, photo, file). If integrating with external services (like Google Sheets), update the necessary credentials and links. UPDATES: 🔥 Get the most up-to-date and expanded version → June 25: New! AI Agent + Setup Instructions Simple setup instructions and examples are included inside the workflow as sticky notes. Sep 24: Improved message handler: Updated logic to handle various types of messages using Switch (text, photo, file, voice, and callback). Payment processing: Added new nodes for sending invoices and handling payments via Telegram Aug 24: Changed processing of system events: “new user” and ‘user who blocked bot’ events Please reach out to Victor if you need further assistance with your n8n workflows and automations! Sign up to n8n →, you have to try it!

Victor GoldBy Victor Gold
35288

Chat with your event schedule from Google Sheets in Telegram

What it is Chat with your event schedule from Google Sheets in Telegram: "When is the next meetup?" "How many events are there next month?" "Who presented most often?" "Which future meetups have no presenters yet?" This workflow lets you chat with a telegram bot about past, present and future events that are scheduled in a Google Spreadsheet. (Info: This proof-of-concept was created as a demo for a hackathon of an AI & Developer Meetup in Da Nang (Vietnam) that uses a telegram group to organize) Who it is for If you want an easy way for your audience to get information about your events, you can us this workflow for the same purpose, or easily adapt it to your needs and different use-cases where you want to query smaller amounts of tabular data in natural language. How it works Upon getting triggered by a chat message to a telegram bot, the schedule of meetups is retrieved from Google Spreadsheets, converted into a markdown table syntax and fed into the system prompt of an LLM (we're using OpenRouter in this example), whose output is posted back as answer into the same telegram chat. Setup steps TO REVIEWING IN ACTION As the reviewer of this workflow, you can temporarily use it via an existing telegram bot, simply point your telegram client to https://t.me/AiDaNangBot and start to ask questions like: "When is the next meetup?" "What future meetings do not have presenters?" "Who presented on Future of Human Relationships?" To build upon this workflow: Import the workflow Customize the Google Docs credentials for your individual access Create a telegram bot and connect it to the workflow by entering its API token into the credentials used in the telegram trigger node In the "Settings" node, replace the "scheduleURL" with the URL of your own copy of the Google Spreadsheet or a copy of the Event Schedule Template Sheet to spin off your own – whereby the structure of the spreadsheet doesn't matter, it's just important that you semantically structure your information in dedicated columns clearly labeled in the header row.

Daniel NoldeBy Daniel Nolde
4568

Research business leads with Perplexity AI & save to Google Sheets using OpenAI

Automatically research new leads in your target area, structure the results with AI, and append them into Google Sheets — all orchestrated in n8n. --- ✅ What this template does Uses Perplexity to research businesses (coffee shops in this example) with company name + email Cleans and structures the output into proper JSON using OpenAI Appends the new leads directly into Google Sheets, skipping duplicates > Trigger: Manual — “Start Workflow” --- 👤 Who’s it for Sales & marketing teams who need to prospect local businesses Agencies running outreach campaigns Freelancers and consultants looking to automate lead research --- ⚙️ How it works Set Location → define your target area (e.g., Hershey PA) Get Current Leads → pull existing data from your Google Sheet to avoid duplicates Research Leads → query Perplexity for 20 businesses, excluding already-scraped ones Write JSON → OpenAI converts Perplexity output into structured Company/Email arrays Split & Merge → align Companies with Emails row-by-row Send Leads to Google Sheets → append or update leads in your sheet --- 🛠️ Setup instructions Follow these sticky-note setup steps (already included in the workflow): 1) Connect Google Sheets (OAuth2) In n8n → Credentials → New → Google Sheets (OAuth2) Sign in with your Google account and grant access In the Google Sheets node, select your Spreadsheet and Worksheet Example sheet: https://docs.google.com/spreadsheets/d/1MnaU8hSi8PleDNVcNnyJ5CgmDYJSUTsr7X5HIwa-MLk/editgid=0 --- 2) Connect Perplexity (API Key) Sign in at https://www.perplexity.ai/account Generate an API key: https://docs.perplexity.ai/guides/getting-started In n8n → Credentials → New → Perplexity API, paste your key --- 3) Connect OpenAI (API Key) In n8n → Credentials → New → OpenAI API Paste your OpenAI API key In the OpenAI Chat Model node, select your credential and a vision-capable model (e.g., gpt-4o-mini, gpt-4o) --- 🔧 Requirements A free Google account An OpenAI API key (https://platform.openai.com) A Perplexity API key (https://docs.perplexity.ai) n8n self-hosted or cloud instance --- 🎨 How to customize Change the Search Area in the Set Location node Modify the Perplexity system prompt to target different business types (e.g., gyms, salons, restaurants) Expand the Google Sheet schema to include more fields (phone, website, etc.) --- 📬 Contact Need help customizing this (e.g., filtering by campaign, sending reports by email, or formatting your Google Sheet)? 📧 robert@ynteractive.com 🔗 Robert Breen 🌐 ynteractive.com

Robert BreenBy Robert Breen
746
All templates loaded