Skip to main content

Monitor and book visa appointments with GPT-4.1-mini, Telegram and Sheets

Workflow preview

Workflow preview
100%
Monitor and book visa appointments with GPT-4.1-mini, Telegram and Sheets preview
Open on n8n.io

1. Workflow Overview

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 option...

Best for

  • Personal Productivity automation workflows
  • AI Summarization automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

n8n-nodes-base.stickynote, n8n-nodes-base.scheduletrigger, n8n-nodes-base.set, n8n-nodes-base.code, @n8n/n8n-nodes-langchain.agent, @n8n/n8n-nodes-langchain.lmchatopenai, n8n-nodes-base.telegram, n8n-nodes-base.wait

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Oneclick AI Squad.

Original n8n.io source

1.1 Workflow description

Title
Monitor and book visa appointments with GPT-4.1-mini, Telegram and Sheets
Workflow name
Monitor and book visa appointments with GPT-4.1-mini, Telegram and Sheets

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 final status update and preparing a Google Sheets log row.

How it works

  1. Runs every 10 minutes on a schedule.
  2. Loads user preferences like date range, location, urgency, auto-book threshold, Telegram chat ID, and Google Sheets ID.
  3. Parses the visa portal response (or mock data) into normalized slot items, filters to the preferred date range, and calculates helpful fields like days until the slot and location match.
  4. Sends each slot to OpenAI to return a JSON score (0–100), recommendation (AUTO_BOOK/NOTIFY/SKIP), and an alert message.
  5. Sends a formatted Telegram alert with the slot details, score, and recommendation.
  6. Waits 15 minutes, then attempts to book only when OpenAI recommends AUTO_BOOK and the score meets the threshold, and generates a row payload for logging.
  7. Sends a final Telegram message with the booking result (including confirmation ID when available) or the logged status.

Setup

  1. Add an OpenAI API credential (configured for a Chat Completions model such as gpt-4.1-mini) and a Telegram Bot credential.
  2. Update the “Set User Config” values, including your preferred dates/location, urgency level, autoBookThreshold, and your Telegram chat ID.
  3. Replace the placeholder booking endpoint (https://YOUR_BOOKING_ENDPOINT/reserve) and implement the real portal fetch/booking authentication (ideally via HTTP Request nodes) so the workflow can read availability and submit reservations.
  4. Provide a Google Sheets target (sheet ID and a place to append rows) or modify the logging step, since the workflow currently only prepares a sheet row payload.

1.2 Logical Blocks

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.

2. Block-by-Block Analysis

Block 1 - Sticky Note - Overview

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 2 - Sticky Note - Stage1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 3 - Sticky Note - Stage2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 4 - Sticky Note - Stage3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 5 - Poll Every 10 Min

Type / Role
n8n-nodes-base.scheduleTrigger - scheduleTrigger
Config choices
Version 1.2

Block 6 - Set User Config

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 7 - Code 1 - Fetch & Parse Slots

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 8 - AI - Score Slot

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 1.6

Block 9 - OpenAI Chat Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenAi - lmChatOpenAi
Config choices
Version 1.3

Block 10 - Send Telegram Alert

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 11 - Code 2 - Book & Log to Sheets

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 12 - Send Final Status

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 13 - Wait - Confirm Window (15 min)

Type / Role
n8n-nodes-base.wait - wait
Config choices
Version 1

3. Summary Table

Workflow Monitor and book visa appointments with GPT-4.1-mini, Telegram and Sheets
Complexity intermediate
Nodes 13
Categories Personal Productivity, AI Summarization
Author Oneclick AI Squad
Published 09 Jun 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/16204/16204.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

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.

Frequently asked questions

What does Monitor and book visa appointments with GPT-4.1-mini, Telegram and Sheets do?

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 option...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

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 Personal Productivity, AI Summarization use case.