English
New EPC published
Starts the workflow for each EPC received by ADEME in your municipalities, filtered by rating. The certificate lands in data.ademe_dpe, with no triggering email.
The New EPC published trigger checks ADEME’s public database of energy performance certificates at regular intervals and starts one run for each certificate received in the chosen municipalities, filtered by rating. Use it to spot the F- or G-rated homes of your area (sale, renovation, letting), or to follow the certificates of the buildings you manage.
It is an open public API: nothing to connect. The run has no triggering email: nodes that act on the triggering email cannot follow, and Send works when you choose the sending mailbox on the node.
At a glance
- Type:
trigger.ademe_dpe· version 1 - Category: Triggers
- Kind: Trigger — starts a run
- Effect: No external effect (
none) — nothing is written outside Loop & Roll; safe to replay - Needs a carrier email: No
- Connection: None
- Outputs:
main
Parameters
citycodes
Municipality INSEE codes — One or more five-character codes, separated by commas (not postcodes).
- Type: Text (
string) - Required: Yes
- Default:
""(empty) - 200 characters at most
- Example:
80021, 80001 - Expressions:
{{ }}not accepted
labels
Energy ratings — Empty = all. F and G are the most energy-hungry homes.
- Type: Several choices (
multiOptions) - Required: No
- Default:
["F","G"] - Options:
A— AB— BC— CD— DE— EF— FG— G
everyMinutes
Check every (minutes) — The ADEME database is not updated continuously: a few hours is enough.
- Type: Number (
number) - Required: No
- Default:
360 - Whole number, from 60 to 10080
Outputs
main— Taken once per new certificate found by a check: each certificate starts its own run.
Data produced
What this node adds to the run data, and how to read it in an expression. <step> stands for the step key: the node name turned into an identifier (see Data and expressions).
{{ data.ademe_dpe.number }}—string. The certificate number, for example2680E2798423Y.{{ data.ademe_dpe.label }}—string. The energy rating, A to G.{{ data.ademe_dpe.ghgLabel }}—string. The climate (greenhouse gas) rating, A to G.{{ data.ademe_dpe.address }}—string. The address of the home, as ADEME’s database normalises it.{{ data.ademe_dpe.receivedOn }}—string. The date ADEME received the certificate (YYYY-MM-DD): the trigger follows this date.{{ data.ademe_dpe.validUntil }}—string. The certificate expiry date.{{ data.ademe_dpe.livingAreaM2 }}—number. The living area of the home, in m² (null when not filled in).{{ data.ademe_dpe.buildingType }}—string. The building type (maison,appartement,immeuble).{{ data.ademe_dpe.citycode }}—string. The INSEE code of the municipality. The other fields (energyKwhPerM2,constructionYear,floor,lat,lon…) follow the shape described for the EPC (ADEME) node.
Example
An Amiens agency wants an alert for each new poorly insulated home in two municipalities:
text
citycodes 80021, 80001
labels F, G
everyMinutes 360Every six hours, each new F or G certificate starts a run; a Notify node can post “New EPC {{ data.ademe_dpe.label }}: {{ data.ademe_dpe.address }}”.
Tips
- INSEE codes. Enter the municipality codes (Amiens: 80021), not their postcodes; the Base Adresse Nationale node returns them. Twenty municipalities at most per trigger.
- Start position. On publication the trigger starts from the same day: older certificates are not replayed, and those received earlier that day go out on the first check. Publishing again keeps the position reached.
- Cadence. From 60 minutes to one week, six hours by default. ADEME’s database is not updated continuously: checking more often brings nothing. The instance may impose a higher floor.
- Volume. A check returns at most 100 certificates; the rest waits for the next check and is not lost.
- No duplicates. A run is identified by the certificate number: the same certificate never starts two runs.
- Known limit. The trigger follows the date the certificate was received. A certificate ADEME published late, under a reception date already passed, would not be caught up.
- Testing. Testing from this trigger really queries ADEME and runs the draft on the most recent certificates, without ever moving the position (see Test runs).