{ "name": "Instant job alert on Telegram (myLebenslauf)", "nodes": [ { "parameters": { "content": "## Instant job alerts on Telegram\n\nEach new job that matches your search on the myLebenslauf job board (Germany, Austria, Switzerland, Czechia) arrives as a Telegram message with a short excerpt and a link to the ad.\n\n### How it works\n1. **New job** (myLebenslauf Trigger) checks every hour for jobs that are new since the last check, either for your search words and filters or for a saved search from the job page. It starts from the moment you activate the workflow.\n2. **Format message** builds the message and escapes it for Telegram's HTML mode.\n3. **Send to Telegram** sends it to your chat.\n\n### Setup\n1. Create a **myLebenslauf API** credential with a personal API key from mylebenslauf.online → Settings → API (free account). Select it in **New job** and enter your search.\n2. Create a bot: message @BotFather, send `/newbot`, and copy the token it gives you. Add it as a **Telegram** credential (Access Token).\n3. Send your bot any message, open `https://api.telegram.org/bot/getUpdates` and copy `chat.id`. Put it in **Send to Telegram** instead of `YOUR_CHAT_ID`.\n4. Activate the workflow.\n\n### Customization\n- Keep the search narrow (a place, Remote) to avoid dozens of messages a day.\n- Swap Telegram for Slack, Discord or another messenger; the text is in `{{ $json.text }}`.\n\n**Community node:** [`n8n-nodes-mylebenslauf`](https://www.npmjs.com/package/n8n-nodes-mylebenslauf), tested with version 0.2.0 on n8n 2.50. Install it under **Settings → Community Nodes → Install** ([guide](https://docs.n8n.io/integrations/community-nodes/installation/)). Self-hosted n8n only until the node is verified.\n\nStep-by-step guide: https://mylebenslauf.online/en/blog/2026/n8n-job-alerts-telegram.html", "height": 720, "width": 520 }, "id": "b7e1c2d0-2a2b-4c3d-8e4f-1a2b3c4d5e01", "name": "Sticky Note", "type": "n8n-nodes-base.stickyNote", "typeVersion": 1, "position": [ -640, -200 ] }, { "parameters": { "pollTimes": { "item": [ { "mode": "everyHour" } ] }, "source": "search", "query": "data analyst", "filters": { "country": "DE" } }, "id": "b7e1c2d0-2a2b-4c3d-8e4f-1a2b3c4d5e02", "name": "New job", "type": "n8n-nodes-mylebenslauf.myLebenslaufTrigger", "typeVersion": 1, "position": [ 0, 0 ] }, { "parameters": { "mode": "runOnceForEachItem", "jsCode": "// Telegram's HTML mode needs &, < and > escaped in everything that comes from a job ad.\nconst esc = (s) => String(s ?? '').replace(/&/g, '&').replace(//g, '>');\nconst j = $json;\nconst where = [j.place, j.country].filter(Boolean).join(', ');\nconst lines = [\n `${esc(j.title)}`,\n [j.employer, where].filter(Boolean).map(esc).join(' · '),\n j.workplace ? esc(j.workplace) : null,\n j.excerpt ? `\\n${esc(j.excerpt).slice(0, 300)}` : null,\n `\\nOpen the job ad`,\n].filter(Boolean);\nreturn { json: { ...j, text: lines.join('\\n') } };" }, "id": "b7e1c2d0-2a2b-4c3d-8e4f-1a2b3c4d5e03", "name": "Format message", "type": "n8n-nodes-base.code", "typeVersion": 2, "position": [ 220, 0 ] }, { "parameters": { "chatId": "YOUR_CHAT_ID", "text": "={{ $json.text }}", "additionalFields": { "appendAttribution": false, "parse_mode": "HTML", "disable_web_page_preview": true } }, "id": "b7e1c2d0-2a2b-4c3d-8e4f-1a2b3c4d5e04", "name": "Send to Telegram", "type": "n8n-nodes-base.telegram", "typeVersion": 1.2, "position": [ 440, 0 ], "webhookId": "0c7a4f7e-3b9d-4d55-9c2e-7f1a2b3c4d04" } ], "connections": { "New job": { "main": [ [ { "node": "Format message", "type": "main", "index": 0 } ] ] }, "Format message": { "main": [ [ { "node": "Send to Telegram", "type": "main", "index": 0 } ] ] } }, "settings": { "executionOrder": "v1" }, "pinData": {}, "meta": { "templateCredsSetupCompleted": false } }