# Onboard frontline workers with Telegram and DeepSeek: n8n workflow

> Started by an incoming Telegram message, and works across Notion and Telegram. 35 steps, 3 branches: large, and worth reading before you trust it with...

Source: https://millionrounds.com/workflow/onboard-frontline-workers-with-telegram-and-deepseek (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [Alerts and monitoring](https://millionrounds.com/workflows?category=Alerts+and+monitoring#library)

# Onboard frontline workers with Telegram and DeepSeek

Started by an incoming Telegram message, and works across Notion and Telegram. 35 steps, 3 branches: large, and worth reading before you trust it with anything live.

Large

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fonboard-frontline-workers-with-telegram-and-deepseek)

**35 steps** Large: read it before trusting it with anything live

**3** Branches: places the flow splits

**0** Loops or waits

**2** Services it connects to

## The flow

Starts it 2 Logic 12 Service 21

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

- 1 **When New Telegram Message** Telegram trigger *Starts it*
- 2 **Schedule Daily Compliance Check** Schedule trigger *Starts it*
- 3 **Route by Message Type** Switch *Logic*
- 4 **Fetch Pending Onboarding Records** Notion *Service*
- 5 **Set Employee Fields** Set *Logic*
- 6 **Download Document from Telegram** Telegram *Service*
- 7 **Find Policy Page in Notion** Notion *Service*
- 8 **Send Help Message** Telegram *Service*
- 9 **Filter Overdue Records (48hrs)** Filter *Logic*
- 10 **Find Existing Record in Notion** Notion *Service*
- 11 **Check Document File Type** If *Logic*
- 12 **Update Notion Policy Status** Notion *Service*
- 13 **Send Reminder to Employee** Telegram *Service*
- 14 **Alert Manager of Overdue Docs** Telegram *Service*
- 15 **Normalize Existing Record Check** Code *Logic*
- 16 **Extract Text from PDF** Extract From File *Service*
- 17 **Convert Doc to Base64** Code *Logic*
- 18 **Send Shift Schedule** Telegram *Service*
- 19 **Check If Returning Employee** If *Logic*
- 20 **Prepare Text for DeepSeek Extraction** Code *Logic*
- 21 **Post to DeepSeek API** Http Request *Service*
- 22 **Notify Manager of Progress** Telegram *Service*
- 23 **Send Welcome Back Telegram** Telegram *Service*
- 24 **Create Notion Onboarding Record** Notion *Service*
- 25 **Parse DeepSeek Response** Code *Logic*
- 26 **Send Welcome and Checklist** Telegram *Service*
- 27 **Find Notion Page Using ChatId** Notion *Service*
- 28 **Update Notion Status to Submitted** Notion *Service*
- 29 **Create File Upload Request** Code *Logic*
- 30 **Send Doc Received Confirmation** Telegram *Service*
- 31 **Post File Upload to Notion** Http Request *Service*
- 32 **Attach Binary Data for Upload** Code *Logic*
- 33 **Post File Content to Notion** Http Request *Service*
- 34 **Build Notion Attach Block** Code *Logic*
- 35 **Attach File Block to Notion** Http Request *Service*

## How it's built

- **Starts on:** An incoming Telegram message
- **Steps:** 35, with 3 branches
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Notion, Telegram
- **Model:** None. This is plumbing, not judgement

## Questions

What does it need to run?

An n8n account, plus your own Notion and Telegram accounts. 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?

No. Every step is fixed logic or a call to a service, so it does the same thing every time.

How long does it take to set up?

Take your time. At 35 steps it is large: read it before trusting it with anything live.

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 35 steps before you point it at anything that matters.

## Run it in n8n

- **Create your n8n account** Free to start. n8n is where the workflow runs. [Create an n8n account ↗](https://millionrounds.com/n8n)
- **Download the workflow** Free with a Millionrounds account. [Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fonboard-frontline-workers-with-telegram-and-deepseek)
- **Paste it into n8n** Open a new workflow in n8n and paste. Then connect your own accounts.

Stored with the author's traces removed: canvas notes, instance identifiers, saved credential names and any live document they had left behind.

## Connects to

Each opens the other workflows that use it.

[Notion](https://millionrounds.com/workflows?service=Notion#library)[Telegram](https://millionrounds.com/workflows?service=Telegram#library)

## Workflows like it

Also alerts and monitoring, with the same services where possible, closest in size first.

- [**Manage on-campus event attendance with Google Sheets** 35 steps · Gmail, Google Sheets](https://millionrounds.com/workflow/manage-on-campus-event-attendance-with-google-sheets)
- [**Manage Supabase database records with Telegram** 34 steps · Supabase, Telegram](https://millionrounds.com/workflow/manage-supabase-database-records-with-telegram)
- [**Create and optimize B2B LinkedIn AI posts with Groq** 34 steps · calls a model · LinkedIn, Telegram](https://millionrounds.com/workflow/create-and-optimize-b2b-linkedin-ai-posts-with-groq)
- [**Automate PPOB business operations with Telegram Bot** 33 steps · Telegram](https://millionrounds.com/workflow/automate-ppob-business-operations-with-telegram-bot)
- [**Automated range trading with Uniswap V3 and Telegram** 37 steps · Telegram](https://millionrounds.com/workflow/automated-range-trading-with-uniswap-v3-and-telegram)
- [**Telegram giveaways among channel subscribers with Postgres** 37 steps · Postgres, Telegram](https://millionrounds.com/workflow/telegram-giveaways-among-channel-subscribers-with-postgres)
