Block 1 - Webhook Telegram
- Type / Role
- n8n-nodes-base.telegramTrigger - telegramTrigger
- Config choices
- Version 1
This workflow is provided as-is. Please review and test before using in production.
GiggleGPTBot — Witty Telegram Bot with AI & Postgres Overview GiggleGPTBot is a witty Telegram bot built with n8n , OpenRouter , and Postgres . It delivers short jokes, motivational one liners, ...
n8n-nodes-base.telegramtrigger, @n8n/n8n-nodes-langchain.lmchatopenrouter, n8n-nodes-base.postgres, n8n-nodes-base.scheduletrigger, n8n-nodes-base.code, @n8n/n8n-nodes-langchain.agent, n8n-nodes-base.if, n8n-nodes-base.telegram
This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Sergey Skorobogatov.
Original n8n.io sourceGiggleGPTBot is a witty Telegram bot built with n8n, OpenRouter, and Postgres. It delivers short jokes, motivational one-liners, and playful roasts, responds to mentions, and posts scheduled witty content. The workflow also tracks user activity and provides lightweight statistics and leaderboards.
/joke, /inspire, /random, /roast, /help, /stats, /top.@GiggleGPTBot.Triggers
Telegram Trigger — receives all messages and commands from a chat.Schedule Trigger — runs hourly to check for planned posts.Processing
Switch routes commands (/joke, /inspire, /random, /roast, /help, /stats, /top).Chat history fetches the latest context.Mention Analysis determines if the bot was mentioned.Generating an information response builds replies for /help, /stats, /top.AI response to command, AI response to mention, AI post generation) craft witty content via OpenRouter.Persistence
Init Database ensures tables exist (user_messages, bot_responses, bot_commands, message_reactions, scheduled_posts, user_stats).Delivery
Telegram Send nodes (Send AI response, Send info reply, Reply to Mention, Submit scheduled post).Create a Telegram Bot with @BotFather and get your API token.
Add credentials in n8n:
Telegram API (your bot token)OpenRouter (API key from openrouter.ai)Postgres (use your DB, Supabase works well).Run the Init Database node once to create all required tables.
(Optional) Seed schedule with the Adding a schedule node — it inserts:
chat_id to your group/channel ID.)Activate workflow and connect Telegram Webhook or Polling.
/joke → witty one-liner with light irony./inspire → short motivational phrase./random → unexpected witty remark./roast → sarcastic roast (no offensive targeting)./stats → shows your personal stats./top → displays leaderboard./help → lists available commands.@GiggleGPTBot + message → bot replies in context./quote, /fact, /news).📦 Import this workflow, configure credentials, run the DB initializer — and your witty AI-powered Telegram companion is ready!
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.
Showing the first 24 of 27 workflow blocks. Download the JSON for the full node graph.
| Workflow | Create a Witty Telegram Bot with AI-Powered Humor, Roasts & Stats using OpenRouter |
|---|---|
| Complexity | advanced |
| Nodes | 27 |
| Categories | AI Chatbot, Multimodal AI |
| Author | Sergey Skorobogatov |
| Published | 20 Aug 2025 |
Use the JSON export at /data/workflows/7655/7655.json as the source template for this automation.
Open n8n, import the downloaded JSON, and review each node before activating the workflow.
Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.
Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.
Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.
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.
GiggleGPTBot — Witty Telegram Bot with AI & Postgres Overview GiggleGPTBot is a witty Telegram bot built with n8n , OpenRouter , and Postgres . It delivers short jokes, motivational one liners, ...
Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.
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.