Monitor and book visa appointments with GPT-4.1-mini, Telegram and Sheets
Needs changesWhat this workflow does
This AI workflow has 9 nodes and runs on a schedule (cron */10 * * * *). Along the way it connects OpenAI Chat Model and Telegram.
How it runs
Trigger: On a schedule (cron */10 * * * *).
- Set User Config (Edit Fields (Set)): sets 12 fields: portalUrl, visaType, applicantName…
- Code: runs custom JavaScript code
- AI - Score Slot (AI Agent): runs an AI agent, with model: OpenAI Chat Model
- Send Telegram Alert (Telegram): uses Telegram
- Wait: pauses before continuing
- Code: runs custom JavaScript code
- Send Final Status (Telegram): uses Telegram
Services it uses
Before you upgrade to n8n 3.0
1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:
- AI Agent v1 (old agent modes) in AI - Score Slot (v1.6): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) AI - Score Slot (v1.6) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (7)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - Code
n8n-nodes-base.code - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Telegram
n8n-nodes-base.telegram - Wait
n8n-nodes-base.wait
From the author
Quick Overview This workflow runs every 10 minutes to check a visa appointment portal for available slots, uses OpenAI to score each slot against your preferences, sends Telegram alerts, and optionally attempts to auto-book high-scoring slots before sending a…