Daily job digest from the Arbeitsagentur Jobsuche API to Telegram (no API key needed)

The job board of the German Federal Employment Agency (Arbeitsagentur) has a public API that a lot of people don’t know about — no registration, no key of your own. I use it in n8n to get one short morning digest in Telegram instead of checking job portals. A few things that weren’t obvious:

The API itself

  • Endpoint: https://rest.arbeitsagentur.de/jobboerse/jobsuche-service/pc/v6/jobs, parameters was (search term), wo (postcode or city), umkreis (radius in km), size.
  • It needs the header X-API-Key: jobboerse-jobsuche — that is the public key from their own docs, not a secret.
  • One search term per request. For several keywords, make one request each (HTTP Request node with batching, ~500 ms apart) and merge.
  • veroeffentlichtseit (published since) did not filter reliably for me, so I check datumErsteVeroeffentlichung / aenderungsdatum in a Code node instead.

Ranking and duplicates

  • The same posting comes back for several keywords — merge by refnr and count how many keywords matched.
  • Matching “KI” as a keyword hit half the German language (Kinder, Kita…). A word boundary with \p{L} fixed it: new RegExp('(^|[^\\p{L}])' + kw + '($|[^\\p{L}])', 'iu').
  • Score: matched keywords × 10, +15 if a keyword is in the title, +5 for home office, minus distance/10.

Remembering what was already sent
$getWorkflowStaticData('global') works well for a “seen” list (I keep 60 days). The gotcha: static data is only saved in active, scheduled runs — manual test runs don’t persist it, which looks like a bug the first time.

Telegram messages are split at ~3800 characters so long digests don’t fail.

The workflow is on GitHub under DenisShokhirev041279 / n8n-arbeitsagentur-job-digest if you want to import it.

1 Like

Nice build @Denis_Shohirev :clap: The static data gotcha (it only persists in active runs) is a great tip, it trips up a lot of people.

On weighting: I’d add a recency boost (postings from the last 48h score higher, then decay) and weight a keyword match in the title more than one in the body, since the title usually reflects the actual role. A small penalty for distance instead of a hard cutoff also keeps good-but-far jobs from disappearing completely.

1 Like

Thanks, appreciate it! Two of those are actually in there already, just not very visible: a keyword hit in the title gets +15 on top of the per-keyword score, and distance is a soft penalty (km/10) rather than a cutoff. The only hard edge is the radius itself, since the API filters that server-side. So if you want the “good but far” jobs, you’d query with a bigger umkreis and let the penalty sort them down.

Recency is the one I don’t have. Right now old postings are just dropped by date, and everything inside the window counts the same. A 48h boost with decay makes a lot of sense, especially on the first run or with a longer window. I’ll probably add it once the template is through the creator review, don’t want to change it mid-review.

1 Like