Back
Author: Philipp

Job alerts on Telegram with n8n

n8n workflow: myLebenslauf Trigger, Code node and Telegram

In short: The myLebenslauf Trigger checks every hour for new jobs matching your search, and n8n sends each one as a Telegram message with a link to the ad. You need your own Telegram bot: get its access token from @BotFather with /newbot, and your chat ID from https://api.telegram.org/bot<TOKEN>/getUpdates.

Step by step

1. Install the node and connect your API key

Once, for every workflow in this series. Explained in detail in the getting-started guide:

  1. In n8n: Settings → Community Nodes → Install, package name n8n-nodes-mylebenslauf.
  2. On mylebenslauf.online: profile menu → Settings → API → create a key and copy it (it is shown only once).
  3. In n8n: Credentials → Create → myLebenslauf API, paste the key, save.

2. Create a Telegram bot and copy its token

  1. In Telegram, open the official @BotFather account (blue tick) and send /newbot.
  2. Pick a display name such as "My jobs", then a username that ends in bot, e.g. my_jobs_123_bot.
  3. BotFather replies with the token, something like 123456789:AAH…. That is your access token. Treat it like a password.

3. Find your chat ID

  1. Send your new bot any message in Telegram, such as "hi". (A bot may only message you after you have messaged it.)
  2. Open this address in your browser, with your token instead of <TOKEN>:
    https://api.telegram.org/bot<TOKEN>/getUpdates
  3. The answer contains "chat":{"id":123456789,…}. That number is your chat ID.

If the answer is empty ("result":[]), send the bot another message and reload. For a group: add the bot to the group and write something there; group IDs start with a minus sign.

4. Import the workflow

Open a new workflow in the n8n editor, choose Import from URL… in the menu (⋯) and paste https://raw.githubusercontent.com/philippo-source/n8n-nodes-mylebenslauf/main/workflows/02-instant-job-alert-telegram.json. Or download the JSON file and load it with Import from File…. A note on the canvas repeats every setup step.

5. Enter your search and Telegram details

  1. In the New job node, pick your myLebenslauf credential and enter search words and filters (data analyst, Germany in the example). Or set Trigger On to a saved search from the job page.
  2. In the Send to Telegram node, create a new Telegram credential and paste the token into Access Token.
  3. In Chat ID, replace YOUR_CHAT_ID with the number from step 3.

6. Activate

Switch the workflow to Active (top right). From now on every new matching job arrives as a message with title, employer, place, a short excerpt and an "Open the job ad" link.

Good to know

  • The trigger starts when you activate it. Jobs already on the board do not fire; you only get what is new from then on.
  • Checking every hour is enough. The job board is refreshed once a day, so messages usually arrive together in the morning.
  • Keep the search narrow. A very broad search like "manager" quickly means dozens of messages a day. A place or "Remote" helps.

How the workflow is built

NodeJob
New jobmyLebenslauf Trigger: new jobs for search words and filters or for a saved search, checked hourly
Format messageBuilds the message and escapes special characters so Telegram accepts it as HTML
Send to TelegramSends the message to your chat ID

Download the workflow

Free, no sign-up. In n8n, open the workflow menu (⋯, top right), choose Import from URL… and paste this address:

https://raw.githubusercontent.com/philippo-source/n8n-nodes-mylebenslauf/main/workflows/02-instant-job-alert-telegram.json

Import into n8n (JSON) View on GitHub

Frequently asked questions

How do I get the access token for Telegram?
From @BotFather in Telegram: send /newbot, pick a name and a username ending in "bot". BotFather replies with the token, e.g. 123456789:AAH…; that is the access token for the Telegram credential in n8n.
Where do I find my Telegram chat ID?
Send your bot a message and open https://api.telegram.org/bot/getUpdates in your browser. The number after "chat":{"id": is your chat ID.
Why is getUpdates empty?
Because the bot has not received a message from you yet, or it was already fetched. Send a new message and reload. If the bot has a webhook (for example from a Telegram Trigger in n8n), getUpdates does not work; use a separate bot for notifications.
Will I get old jobs too?
No. The trigger starts when you activate it and only reports jobs that appear on the board after that.
Does this work with WhatsApp, Slack or Discord?
Yes. Replace the Telegram node with the Slack, Discord or another messenger node in n8n; the text is in {{ $json.text }}.

All parts of the n8n series

  1. Getting started: automate your job search with n8n
  2. New jobs every morning by email
  3. Job alerts on Telegram
  4. Track applications in Google Sheets
  5. An AI application for every new job
  6. AI career assistant chat
Try it out yourself with our modern Online CV Editor App!
Register for free
Alternatively, let us create your complete application or resume for you.
Enquire here