Automation library · Chat assistants

Promo seeker: Auto-find promo codes with SerpAPI and Gemini

Started by an incoming Telegram message, and works across Gmail, Telegram and n8n data table. It hands the judgement calls to OpenRouter. 16 steps, 1 branch: a working afternoon to understand properly.

MediumCalls a model: OpenRouter

16 stepsMedium: a working afternoon
1Branch: places the flow splits
0Loops or waits
3Services it connects to

The flow

Starts it 5Model 4Logic 3Service 4

The steps in the order they run, from what starts it.

  1. 1SerpAPITool Serp ApiModel
  2. 2Gemini 2.5ProLm Chat Open RouterModel
  3. 3Schedule TriggerSchedule triggerStarts it
  4. 4Telegram TriggerTelegram triggerStarts it
  5. 5Structured Output ParserOutput Parser StructuredModel
  6. 6On form submissionForm triggerStarts it
  7. 7WebhookWebhookStarts it
  8. 8Promo Seeker AgentAgentModel
  9. 9No Operation, do nothingNo OpLogic
  10. 10Upsert row(s)Data TableService
  11. 11PlatformSetLogic
  12. 12Get row(s)Data TableService
  13. 13Code Exist?IfLogic
  14. 14notify telegramTelegramService
  15. 15Send a messageGmailService
  16. 16Respond to WebhookRespond To WebhookStarts it

How it's built

Starts on
An incoming Telegram message
Steps
16, with 1 branch
Size
Medium: a working afternoon
Connects to
Gmail, Telegram, n8n data table
Model
OpenRouter

Questions

What does it need to run?

An n8n account, plus your own Gmail and Telegram accounts, and a key for OpenRouter. You connect your own accounts after importing it; none are included.

What starts it?

It starts on an incoming Telegram message.

Does it use AI?

Yes. It calls OpenRouter. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Plan an afternoon. 16 steps is enough that you should read each one before running it.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

Before you run it

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 16 steps before you point it at anything that matters.