n8n: ready-made workflows - AI bot, lead form, website monitor

The server ships with three workflows. Each has a green note with a short guide on the left. Common steps: put keys into the nodes marked with a red icon, fill in the Settings node, press Publish in the top right corner.

The Publish button enables the workflow
The Publish button enables the workflow

1. Telegram AI bot (OpenRouter)

The bot answers any message through an AI model and remembers the last 10 turns of each chat.

Telegram bot workflow: trigger, AI Agent, model, memory, reply
Telegram bot workflow: trigger, AI Agent, model, memory, reply
  1. Nodes Telegram Trigger and Send reply: Connect to Telegram -> bot token (see keys).
  2. Node OpenRouter Chat Model: Connect to OpenRouter -> key. Default model openai/gpt-4o-mini; other models are in the Model field.
  3. Press Publish and message the bot in Telegram.

The bot personality is set in AI Agent -> Options -> System Message, for example "you are the assistant of an online shop ...".

2. Lead form -> Telegram

n8n hosts a form page itself (name, contact, message). Every submission arrives in your Telegram.

Lead form workflow
Lead form workflow
  1. Node Settings: put your chat ID into chatId.
  2. Node Send to Telegram: select the credential with the bot token.
  3. Press Publish. Open the Form node, tab Production URL - this is the address of your form. Link it from your website.
Form node: form URLs and fields
Form node: form URLs and fields

Form fields are edited in the Form node, block Form Elements. The Telegram message text is in the Send to Telegram node.

3. Website monitor -> Telegram

Every 5 minutes n8n requests your site. If it does not respond or returns an error (status 400 and above), you get a message.

Website monitor workflow
Website monitor workflow
  1. Node Settings: site address in url and your chat ID in chatId.
  2. Node Alert to Telegram: credential with the bot token.
  3. Press Publish. To test, temporarily enter a non-existent address and press Execute at the bottom.
Settings node: site address and chat ID
Settings node: site address and chat ID

The check interval is in the Every 5 minutes node.

Checking that a workflow works

The Executions tab on the home screen lists every run: green is success, red is an error; clicking a row opens the workflow with the data of every node. This is the quickest way to see what went wrong.

Workflows can be freely edited and copied ("..." -> Duplicate). Broke one? Delete it and contact support, we will restore the original.

Questions and answers
n8n has a template library: "+" -> Templates, over a thousand workflows. Import from a file: "..." -> Import from File.
Yes. Add the bot to the group, get its ID via @userinfobot (a number with a minus) and use it as chat ID.
Depends on the model: gpt-4o-mini costs fractions of a cent per message. Usage is visible in the OpenRouter dashboard.