Automatic IRL review with n8n + the synergieloc API

A ready-to-import n8n workflow: every month, it calculates the IRL review of your leases through the synergieloc API (exact result, legal basis included) and alerts you — no forgotten review, no manual calculation.

Download the template: n8n-revision-irl.json — then in n8n: Workflows → Import from File.

What the workflow does

  1. Scheduled trigger — runs on the 1st of each month.
  2. Your leases — a Code node lists the leases to review (replace it with your source: Google Sheets, Airtable, SQL database…). Each lease = current rent + reference IRL + latest published IRL.
  3. synergieloc API call — POST https://synergieloc.fr/api/v1/irl/revision with your key X-API-Key : returns the new capped rent, the detailed formula and legal warnings (F/G energy-rating freeze, limitation period).
  4. Notification — a summary e-mail per reviewed lease (connect it to your SMTP/Gmail mailbox, or replace it with Slack, your CRM…).

Step-by-step setup

1 · Get an API key (free). On synergieloc.fr/api-ia : the Discovery plan (€ 0, 100 units/month) is enough for ~100 reviews a month. You receive a slk_live_… key by e-mail.
2 · Import the template. In n8n: Workflows → ⋯ → Import from File → select n8n-revision-irl.json.
3 · Paste your key. Open the “IRL review (synergieloc API)” node → header X-API-Key → replace slk_live_VOTRE_CLE_ICI.
4 · Connect your leases and your e-mail. Replace the examples in the “Leases to review” node with your data source, and configure the e-mail node (SMTP/Gmail). Activate the workflow — that's it.

Going further

Frequently asked questions

Where can the IRL indices be found?

Quarterly INSEE publication (mid-January, mid-April, mid-July, mid-October). Store each lease's reference index in your data source; the API checks consistency and applies the caps.

Is the calculation legally reliable?

Each API response includes the formula applied and the legal basis (art. 17-1 of Act 89-462, Climate Act freeze) — that is precisely what sets it apart from a “home-made” calculation or one hallucinated by a general-purpose AI.