
A chatbot that can answer in one second 🗑️ “When will my trash be emptied?” and ♻️ “Where is the pizza tray going?” can eliminate many telephone and email inquiries that today end up at the waste office. Below you will find a step-by-step guide to setting one BR18-chatbot-similar solution up to waste management and collection times based on the APIs and open datasets most Danish municipalities already use.
| Data | Source | Example |
|---|---|---|
| Empty calendar / ICS feed | Most municipalities have one My Waste-/RenoWeb link, where the citizen can download an iCalendar file by address. | |
| REST/JSON-endpoints | Some companies (e.g. KLAR, Sonfor) deliver JSON with containers + next date. (klarforsyning.dk, sonfor.dk) | KLAR Supply, Sonfor |
| Sorting guide | The municipality's sorting portal or AffaldsApp database (barcode → fraction). (affald.kk.dk, stevns.dk) | Copenhagen and Stevn Municipality |
| National overview | borger.dk "Waste arrangements" links to all municipal self-service sites. (borger.dk, borger.dk) |
Tip: If you only have ICS files, but no JSON API, Promte can parse calendars "on the fly" and return the next date as structured JSON.
| Function name | What the input should be | What the output should be |
|---|---|---|
nextPickup(dateType, address) | dateType = leftovers/food, paper/cardboard, glass/metal ... ; address = road + no. | { "næsteDato": "2025-07-22", "beholder": "mad+rest" } |
sortItem(itemName) | itemName = “pizza tray” | { "fraktion": "papir/pap", "skalSkraldesClean": false } |
These two "function calls" can be built as webhook endpoints in Promte that retrieve calendar or barcode data and return easy-to-read JSON.
Persona and instructions
Du er AffaldsAssistenten for {{Kommune}}.
- Brug funktionen nextPickup når borgeren spørger om tømmedatoer.
- Brug funktionen sortItem til sorteringsspørgsmål.
Svar altid på dansk.
10-15 examples on questions and answers that can be used for testing:
User: "When will you pick up the glass container at Østergade 12?"
Assistant: <call nextPickup {"dateType":"glas","address":"Østergade 12"}>
Context knowledge
Put PDFs/HTML about local opening times at recycling sites in Promte, so that they can be picked up when the citizen asks about "recycling station on Saturday?".
SMS before collection – the webhook can call the municipality's existing message service. (borger.dk)
Storskrald-bestilling - link directly to RenoWeb/"Mit Affald" self-service (attach address parameter). (affaldplus.dk)
| Point | Check |
|---|---|
| Personal data | No CPR or sensitive data → typical no full DPIA required (address only). |
Day 1 morning: Import ICS parser webhook + sorting database.
Day 1 afternoon: Test and adjust the model with 15 examples; test at three addresses.
Day 2: Embed widget on the “Waste & Recycling” page; inform citizens via SMS service.
Completed webhook template for calendar parser (saves development time).
EU hosted & on-prem option = message content and output will be in Denmark.
version control, when waste fractions change, you can roll out a new model with a click.
One interface: same platform as e.g. your Children's Law and BR18 assistants; no additional training.
"Why stand in a telephone queue when the waste assistant already knows when the garbage truck will come?"