A lesson is completed when you tick it, when you watch its video to the end or when you score 80% on its quiz. The certificate is issued online after the final assessment, from a score of 32 out of 40.
Lesson 26, module 7: A flow that lasts Keeping a log and being alerted the day a flow stops A flow that's stopped running sends you no error. How do you find out?
Two kinds of failure: the one that shouts, the one that keeps quiet. Error: an alert goes out Silence: nothing goes out The second costs the most The tool's log gets wiped. Keep your own, one line per run. [Diagram: Where the log lines come from] 1. Request received 2. Three outputs 3. One line in the log 4. Friday read-through Make can deactivate a scenario as soon as it hits its first error. Instant trigger: stopped immediately Zap: switched off at 95% failures Tasks used up: actions held The heartbeat check asks a single question every morning. [Diagram: Is the flow alive?] 1. A line in the log in the last 48 hours? 2. Is the server responding? Yes to all: Nothing to report, no email. On Fridays, the AI sums up the week's log in five lines. Prompt: Here is this week's log export. Give the number of requests, the share to follow up, the duplicates and the most common reason. Five lines. Response: "23 requests, 3 to follow up (13%), 1 duplicate. Most common reason: no way to get back in touch (2). No day without requests." In the exercise, you give an osteopathy practice's flow its log.
Your turn: The log and heartbeat check for an osteopathy practice The written lesson, the worked exercise and the quiz are below the video.
Lesson 26 of 50 · module 7, a workflow that lasts
Keep a log and be alerted the day a workflow stops
A workflow fails in one of two ways: it fails and says so, or it stops running without a word. The tool’s log is soon erased; keep your own, one line per run. Set up error alerts, then add a heartbeat check that writes to you each morning if the workflow has been silent for too long.
28 min of reading
1 min 44 of video
6 diagrams
2 demandes to copy
3 exemples pratiques
4 exercices answerss
5 questions
1 ressource
By the end of this lesson, you will know how to
Read the execution history in n8n, Make and Zapier and know how long it is kept
Keep a log with one line per run, without copying unnecessary data into it
Set up a liveness check that warns the owner when a flow goes quiet
What’s covered
Each tool’s built-in log
Your own log, one line per run
Alerts that shout
The heartbeat check, for the silent breakdown
3 worked examples, followed from start to finish
Exercise with answers · An osteopathy practice’s log and liveness check
3 practice exercises, from guided to demanding cases
The quiz
Key points
A workflow that no longer runs sends no errors: zero alerts can mean zero executions.
The tool’s history is for understanding a breakdown; it is deleted after 7 days on the n8n Cloud Starter plan.
A log with one line per run, with no personal data, proves the workflow is running and provides the week’s counts.
Every morning, the heartbeat check compares the last log row with the flow’s normal rhythm, and stays quiet when all is well.
A self-hosted server is monitored from outside, never from itself.
The Pessac joinery’s flow can now retry and set aside its difficult cases. One failure remains that none of the settings from the previous lesson can see: the flow that has stopped running altogether. The website form has been rebuilt and no longer calls the webhook; the Google account’s password has changed; the plan’s quota runs out on the 20th of the month. No executions, so no errors, so no alerts. Quote requests pile up in a void, and Thierry finds out from an annoyed customer who calls back ten days later.
The loud breakdown, the silent breakdown
It’s loud
The flow runs and a step fails
A failed execution appears in the history
The error workflow or the notification is sent
You fix it within the hour
It’s silent
The flow no longer starts at all
The history stays empty, with nothing in red
No alert, since there is no execution
You hear about it from a customer, days later
Error alerts cover the left-hand column. Only a liveness check covers the right-hand one.
Each tool’s built-in log
Every platform keeps a history of its executions: that is where you read what went in, what came out of each step and the exact error message. But this history has a limited lifespan, often shorter than you think, and it is read one flow at a time. It is for understanding a breakdown, not for tracking a month’s activity.
Where to read the history, and for how long (as at 15/11/2026)
Tool
Where to read it
What it keeps
n8n Cloud
“Executions” tab on the “Overview” page or in the workflow, filters by workflow, status and date
Starter: 7 days and 2,500 executions at most; Pro: 30 days and 25,000; beyond that, the oldest are deleted
Self-hosted n8n
Same “Executions” tab
What you set on your server, within the limits of your disk
Make
Scenario “History” tab: date, status, duration, credits used, data size
A period that depends on the plan; with “Keep data confidential”, the run is recorded without its content
Zapier
“Zap history”, run by run, with the data from each step
A period set by Zapier’s retention rules, to be checked on its privacy page
In n8n, find the week’s failed executions
In the left-hand menu, open “Overview”, then the “Executions” tab.
In the filters, choose the workflow “Classer les demandes de devis”.
Set the status to “Failed” and the start date to the last seven days.
Open an execution: the failed node is marked in red; click it to read the error message and the data received.
Record in the “À reprendre” tab anything not already there, with the execution number.
Your own log, one line per run
The flow log is a “Journal” tab in the spreadsheet, or an n8n Data table, that receives one row on every run, whichever output is taken: normal request, case to be reprocessed, duplicate. It does three jobs: it proves the flow is running, it provides the week’s counts and it keeps a record when the tool’s history is deleted. The last node of each output adds the row. Here are the columns and the expressions to paste into n8n’s Google Sheets “Append row” node.
Log columns and their n8n expressionsText
Date {{ $now.toFormat('dd/MM/yyyy HH:mm') }}
Exécution {{ $execution.id }}
Flux {{ $workflow.name }}
Mode {{ $execution.mode }}
Demande {{ $json.reference }}
Chemin normal (à écrire en dur dans la sortie normale ;
« à reprendre » ou « doublon » dans les autres)
Raison {{ $json.raison }}
// Pas de nom, pas de téléphone, pas de texte de la demande :
// la référence suffit pour retrouver la ligne dans « Demandes de devis ».
Variables checked on 15 November 2026 in the n8n documentation ($execution.id, $execution.mode, $workflow.name). “reference” and “raison” are fields in the joinery firm’s workflow: replace them with your own.
Alerts that shout
Each tool warns you in its own way when an execution fails, and each has a behaviour you need to know before it catches you out. The most confusing is Make’s: in the scenario settings, “Errors before deactivation” sets the number of failures tolerated, but a scenario that starts with an instant trigger, such as a webhook, is deactivated on its first unhandled error. Hence the value of the error handlers covered in the lesson on errors and retries.
Tool
What it does on its own
What you set
n8n
Nothing by default: the failed execution stays in the history
An error workflow starting with “Error Trigger”, selected in each workflow’s settings
Make
Deactivates the scenario after the set number of errors, from the first one with a webhook
Error handlers on fragile modules, and regular review of the list of active scenarios
Zapier
Email on every error by default; Zap switched off if it fails 95% of the time and has run more than 20 times in 7 days; actions held when the task quota is reached
Notification frequency (immediate, hourly summary); rules per Zap or per folder on paid plans
In Zapier, notifications are set in the settings, under “Notifications”, then “My notification settings”. The default setting, “Immediately”, sends one e-mail per error to the account address. If that address belongs to someone who has left the company, nobody reads the alerts: check it on the day you build your first Zap.
The heartbeat check, for the silent breakdown
The heartbeat check is a second, very short flow that runs at a set time and asks a single question: has the main flow written to its log recently? The joinery firm receives several requests per working day; 48 hours without a single row is not a quiet spell, it is a breakdown. Set the threshold to your flow’s normal rhythm: 48 hours for daily requests, a week for a weekly flow. In n8n: a “Schedule Trigger” node Monday to Friday at 9am, a Google Sheets node that reads the “Journal” tab, the Code node below, an If node on “alerte”, then a Gmail node to Claire and Julien.
Liveness check Code nodeJavaScript
// Nœud Code, mode « Run Once for All Items », après la lecture de l'onglet Journal.
// Calcule depuis combien d'heures le flux n'a écrit aucune ligne.
const seuil = new Date().getDay() === 1 ? 72 : 48; // le lundi, le week-end compte en plus
// « 17/11/2026 09:42 » devient une date
const enDate = (t) => {
const [j, m, reste] = String(t).split("/");
if (!reste) return null;
const [a, hm] = reste.split(" ");
return new Date(a + "-" + m + "-" + j + "T" + hm + ":00");
};
const dates = $input.all().map((i) => enDate(i.json.Date)).filter((d) => d && !isNaN(d));
const derniere = dates.length ? new Date(Math.max(...dates)) : null;
const heures = derniere ? Math.round((Date.now() - derniere) / 3600000) : null;
// alerte vraie si aucune ligne, ou si la dernière est plus vieille que le seuil
return [{ json: { derniere: derniere ? derniere.toISOString() : "aucune", heures, seuil, alerte: heures === null || heures > seuil } }];
Tested on 15 November 2026 with Node on a three-line log, one line of which was empty. The calculation follows the server’s time zone: an hour either way makes no difference for a 48-hour threshold.Is the flow alive?
1Has the log received a row in the last 48 hours (72 hours on Mondays)?
No Email to Claire and Julien: test the website form, then read the history.
2Does the “To review” tab have fewer than 5 open rows?
No Email to Claire: too many cases pending, look for the common cause.
3Is the main workflow still published?
No Email to Claire: republish it after checking.
Yes to allNo email: the flow is running normally.
The heartbeat check stays quiet when all is well: an email received always means action is needed.
Monitoring over a week
Every working day, 9amHeartbeat check
Silent if all is well, an e-mail if not.
On every errorError workflow
Immediate email to Claire, copy to Julien.
Friday, 4pmReading the log
Ten minutes: counters, reasons, cases still to review.
First Monday of the monthFlow review
Rate of cases to review, usage, record sheet up to date.
The Friday review, from the log export
You are doing the weekly review of an automated workflow that sorts quote requests for a 12-person joinery firm.
Here is the CSV export of the “Journal” tab for the week of [date] to [date] (columns: Date, Exécution, Flux, Mode, Demande, Chemin, Raison): [paste the export].
Give:
1. the number of runs per working day, flagging any day at zero;
2. the number and share of cases “to review” (“à reprendre”) and of duplicates;
3. the reasons, from most to least frequent;
4. a single action to take next week, if the figures justify one.
Count by running code if you can. Do not invent any cause: if the data does not support a conclusion, say so.
Roughly what you should get
A five-to-ten-line summary, with figures day by day, the share of cases to review as a percentage, and either one specific action or the words “no action needed”. Recount one total by hand before passing it to Thierry.
The log contains no names or contact details: it can be pasted into the company’s AI assistant without exposing customers.
“Classer les demandes de devis” sheet, Monitoring box after this lesson
Box
Content
Trigger
Website Tally form submitted, received by the n8n Cloud Webhook
Data
Client contact details and request (personal data: yes). Log: reference, date, path and reason only
Decisions
Classification and extraction by AI; doubtful cases to “To review”; duplicates set aside
Actions
Search, row in “Demandes de devis”, Gmail draft, follow-up at D+7, then a row in “Journal” at each output
Inspection
Orange. Error workflow to Claire, cc Julien. Liveness check every working day at 9am, 48-hour threshold (72 hours on Mondays). Log read on Fridays at 4pm. n8n history kept 7 days (Starter)
Mistakes to avoid
Concluding that all is well because no error alert has arrived for two weeks.
Error alerts are only sent if the flow runs. A webhook that no longer receives anything, a rebuilt form or a deactivated scenario produce perfect silence, with nothing red anywhere.
Add a heartbeat check that compares the last log row with the flow’s normal rhythm, and emails you when the silence goes beyond the threshold.
Relying on the n8n Cloud Starter history to find a request from three weeks ago.
On Starter, history is kept for 7 days and 2,500 executions at most; the oldest are deleted. The request and its trace have disappeared.
Have the flow write a log row on every run, with a reference that points to the full row in the main spreadsheet.
Copy each request’s name, phone number and full text into the log, “to have everything to hand”.
The log is shared and kept for a long time: it becomes a second personal database, less protected than the first, and sometimes holding sensitive data such as the reason for a consultation.
Keep the date, the execution, a reference, the path and the reason in the log. Everything else lives in one place only.
Running the heartbeat check on the same n8n server as the flows it monitors.
If the server stops, the heartbeat check stops with it and nobody is alerted: exactly the case it was meant to cover.
Have another tool call the server’s /healthz address, for example a Make scenario scheduled every hour, which alerts a named person.
3 SME situations followed from start to finish: the prompts exactly as they were written, the model answer to aim for, and what was checked before sending.
Example 1
A concierge service’s bookings: three days of silence avoided
Élodie runs a 7-employee holiday rental concierge service in Lacanau. A Make scenario receives bookings by webhook from her property management software and creates cleaning jobs in a Google Sheets file shared with the teams. In July, the scenario deactivated itself one Friday after an error, and three days of cleaning were not scheduled.
A booking, from the software to the log
1Webhook
The rental management software sends the booking.
2Cleaning job
Row in Google Sheets, Retry on failure.
3Log
Date, identifier, path taken.
48am check
Email if no row for 24 hours.
Request 1
Retry handler on the Google Sheets module, 3 attempts every 15 minutes; “Store incomplete executions” set to “Yes”; at the end of each route, a module that adds a row to the “Journal” tab with the date, the booking ID and the path.
Model answer
Log, Saturday 12 July
09:14 | R-58213 | normal
09:41 | R-58217 | normal
10:02 | R-58220 | incomplete, retry scheduled
10:17 | R-58220 | normal (2nd attempt)
Booking R-58220 hit a transient error, but the scenario stayed active and the job was created on the second attempt.
Request 2
Second scenario, scheduled daily at 8am: read the last log row; filter “date of last row earlier than 24 hours ago”; email to Élodie and her deputy. In high season, the concierge service receives several bookings a day.
Model answer
Subject: [Liveness check] No bookings received for 26 hours
Last log row: 14/08 06:12, R-60114.
Check: is the “Réservations vers missions” scenario active? Is the management software still sending its notifications?
In August, the email arrived only once: the management software vendor had changed the sender address for its notifications. Élodie fixed it in an hour, instead of finding out when the holidaymakers arrived.
What was checked before sending
Error triggered deliberately on a copy of the spreadsheet: the scenario stays active and the execution appears among the incomplete ones.
Liveness check threshold reviewed every season: 24 hours in summer, 72 hours in winter, when bookings are scarce.
The log contains only the booking ID, not the holidaymakers’ names or phone numbers.
Order of magnitude: a failure spotted in under a day instead of three, and a morning of emergency cleaning rescheduling avoided each time.
Example 2
A cleaning company’s alerts, sent to the right person
Patrice is the administrative manager of a 45-employee cleaning company in Mérignac. Eight Zaps, on the Team plan, handle job sheets, absences and product orders. Error alerts were going to the former assistant’s address, and she left in March; nobody was reading them.
Alerts before and after
Before
Alerts sent to an abandoned address
Errors discovered by the teams
Task quota never checked
After
Folder-based alerts to two managers
Fix and replay during the morning
Monthly review of errors and quota
Request 1
In Zapier’s settings, under “Notifications”, “My notification settings”: frequency “Immediately, then hourly summary”; in “Custom notifications”, a rule for the “Exploitation” folder that alerts Patrice and the team leader.
Model answer
Email from Zapier received on a Tuesday at 7.48am:
The Zap “Bons d'intervention vers planning” encountered an error at step 3.
Google Sheets: the column “Site client” cannot be found.
View the run and replay it.
The team leader had added a column to the schedule. Patrice fixes the field mapping, republishes the Zap and replays the three runs from that morning.
Request 2
Monthly review: in Zap history, filter on the month’s held or errored runs; check the team’s task usage.
Model answer
October review
8 active Zaps, 2,140 runs
11 errors, all replayed
0 Zaps switched off automatically
Tasks used: 86% of the monthly quota at 28 October
At 86% of the quota on the 28th, Patrice knows that November, a busier month, may go over: he raises it with the manager before any actions are held.
What was checked before sending
Alert recipient address checked by triggering a deliberate error on a test Zap.
Each Zap filed in a folder matching an owner, so that the notification rule also covers future Zaps.
The 95% failure threshold over 7 days isn’t awaited: an error is dealt with the same day.
Order of magnitude: errors dealt with during the morning instead of being discovered by the field teams, and a month-end with no held runs.
Example 3
A cosmetics manufacturer’s n8n server, monitored from outside
Sébastien is IT manager at a 25-employee cosmetics manufacturer in Cestas. Twelve n8n workflows run on a rented server, including the one for reseller orders. One weekend in May, a system update stopped the server; the error workflows and the liveness check stopped with it.
A night of downtime, spotted in time
Saturday 3amServer stopped
A system update blocks the restart.
Saturday 3:15amExternal alert
Make gets no response from /healthz.
Saturday 9amRestart
Sébastien restarts the server remotely.
Monday 8.30amHeartbeat check
All workflows are back to their usual rhythm.
Request 1
Make scenario, scheduled hourly: HTTP module that calls https://[votre-instance]/healthz; filter “response code other than 200”; email and SMS to Sébastien.
Model answer
Subject: [n8n server] No response
Call to https://[votre-instance]/healthz at 03:15: timed out.
Last successful response: 02:15.
Sébastien did the maths before choosing the frequency: one call every 15 minutes is nearly 2,900 runs a month, each billed in credits; one call an hour, about 720. An hour’s delay at worst is enough for him.
Request 2
In n8n, heartbeat check workflow: every working day at 8.30am, it reads the “Journal” Data table of the twelve workflows, then a Code node calculates, for each workflow, the hours since the last row and compares them with that workflow’s own threshold.
Model answer
Heartbeat check, 18/11, 8.30am
Reseller orders: last row 2 h ago, threshold 24 h, OK
Supplier invoices: last row 53 h ago, threshold 48 h, ALERT
Other workflows: OK
The supplier invoice flow had stopped after access to the inbox was revoked. Sébastien restores it and adds this case to the flow’s record sheet.
What was checked before sending
Server deliberately stopped one evening, with management’s agreement, to check that the external alert goes out.
Threshold set workflow by workflow, based on two months of log data, rather than a single threshold for all.
The monitoring scenario’s credit usage reviewed every month in Make.
Order of magnitude: a stopped server spotted in under an hour instead of a weekend, and reseller orders processed on Monday morning rather than Tuesday.
Nadège is the secretary of a practice of 5 osteopaths in Le Bouscat. A Make scenario receives appointment requests from the website form via webhook, adds them to a “Demandes” Google Sheet and sends the patient an acknowledgement. The practice receives 15 to 25 requests a week, none on Sundays. In October, the scenario was deactivated on a Tuesday after a Google Sheets module error; Nadège found out on the Thursday, when a patient called. Build the log and the monitoring for this flow.
Fill in the five boxes of the flow sheet, detailing the Control box.
Explain why the scenario was deactivated on the first error and what would have prevented it.
Define the log columns, leaving out anything that does not belong there, given the sector.
Set the heartbeat check threshold based on the rhythm of requests, and describe the scenario that runs it.
Write the prompt that will produce the weekly summary from the log export.
See the answers
The sheet for the “Record appointment requests” flow
Box
Content
Trigger
Website form submitted, received by Make's Custom webhook
Data
Name, phone, email, preferred practitioner, possible slots, reason in free text. Personal data: yes, and the reason may reveal health data
Decisions
No AI decision; request already received within the hour with the same email: duplicate
Actions
1. Row in “Requests”; 2. acknowledgement of receipt to the patient; 3. row in “Log”. Account: reception team inbox
Inspection
Green (acknowledgement with fixed text, no appointment commitment). Retry handler on Google Sheets. Heartbeat check Monday to Saturday at 9am, threshold 48 hours (72 hours on Mondays). Log reviewed on Fridays. Stand-in: the partner osteopath
The scenario starts with a webhook, an instant trigger: without an error handler, Make deactivates it at the first unhandled error, whatever the “Errors before deactivation” setting. A Retry handler on the Google Sheets module, with “Store incomplete executions” enabled, would have kept the request and left the scenario active.
Log columns
Column
Kept?
Why
Date and time
Yes
Proves the flow is running
Make execution ID
Yes
Find the run in the history
Request reference
Yes
Points to the row in “Demandes”
Path (normal, duplicate, error)
Yes
Weekly counters
Patient’s name and phone number
No
Already in “Requests”, not needed here
Reason for consultation
No, never
Possible health data: it is not duplicated
Threshold: 15 to 25 requests a week, i.e. three or four per working day. 48 hours without a row doesn’t happen in normal times; on Mondays, 72 hours to cover Sunday. The liveness check is a second Make scenario, scheduled daily at 9am, which reads the last log row, compares its date with the threshold using a filter and, if needed, emails Nadège and the partner osteopath. It uses a few credits a day, well within the practice’s plan.
Nadège’s weekly review
Here is the CSV export of the log for the workflow that records appointment requests at our practice, for the week of [date] to [date] (columns: Date, Exécution, Référence, Chemin): [paste the export].
Give the number of requests per day, flagging any working day at zero, the number of duplicates and errors, and compare with the usual rate of 15 to 25 requests a week.
Count by running code if you can. Five lines at most, with no conclusion the figures do not support.
Roughly what you should get
Five lines: requests per day, weekly total compared with the usual range, duplicates, errors, and any day flagged if it is at zero.
Practise
Three more exercises, from the most guided to the most demanding. The material is provided in full: copy it into your tool, then check your work against the criteria before opening the answers.
Level 1 · guided10 min
Read a log and spot the failure
Here is an extract from the log of the quote request workflow of a 6-person kitchen fitter in Libourne, which usually receives two to five requests per working day. Answer three questions: has the workflow failed, since when, and what kind of failure? Then say what the heartbeat check, set to 48 hours, would have done and when.
The material to work on
Date;Execution;Request;Path;Reason
03/11/2026 09:12;4811;DV-0301;normal;
03/11/2026 14:40;4812;DV-0302;normal;
04/11/2026 08:55;4813;DV-0303;to review;no way to get back in touch
04/11/2026 11:20;4814;DV-0304;normal;
04/11/2026 16:02;4815;DV-0305;normal;
05/11/2026 10:31;4816;DV-0306;normal;
05/11/2026 10:33;4817;DV-0306;duplicate;
(no rows after 05/11/2026 10:33; it is now Monday 10/11/2026 at 9am)
Check your work
You conclude it is a silent failure: no lines for three working days
You date the start of the failure after Wednesday 5 November at 10:33am
You do not mistake the duplicate or the case “to review” for the failure
You place the heartbeat alert on Monday 10 November at 9am, and you see that the 48-hour threshold let Friday slip by
See the answers
The flow has been silently down since Wednesday 5 November after 10:33am: Thursday, Friday and Monday have no rows, whereas the usual pace is two to five requests per working day. The “to be reprocessed” case on the 4th and the duplicate on the 5th are normal behaviour: if anything, they prove the flow was running. With a 48-hour threshold, the check on Thursday 6 at 9am measures 22.5 hours of silence and stays quiet; the one on Friday 7 at 9am measures 46.5 hours and stays quiet again; the one on Monday 10 at 9am measures 118.5 hours, beyond Monday’s 72 hours, and finally alerts. Three working days lost: for a flow of two to five requests a day, a 30-hour threshold would have alerted on Friday morning.
Have an AI read the log
Here is an extract from the log of a workflow that usually receives two to five requests per working day: [paste the log]. It is now [date and time].
Say whether the workflow seems to have failed and since when, distinguishing normal behaviour (duplicate, case to review) from an absence of executions. Calculate the length of the silence in hours by running code.
Roughly what you should get
A diagnosis in a few lines: silent since 5 November at 10:33am, about 118 hours as of 10 November at 9am; duplicate and case to review judged normal.
Level 2 · independent20 min
Set up alerts in three tools for the same team
A 14-employee temping agency in Bordeaux uses three tools. For each of the three workflows described, say what the tool does by itself when something fails, what is missing and which settings to make, then name who receives the alerts and who stands in for them.
The material to work on
Flow 1, n8n Cloud Starter: “Record applications received by email”, about 40 per working day. No error workflow. Owner: Amélie, recruitment officer.
Flow 2, Make, Core plan: “Create assignment contracts from the client form”, Custom webhook trigger, 10 to 15 per day. No error handler. Owner: Yann, branch manager.
Flow 3, Zapier Professional: “Send Friday timesheets to clients”, a Schedule on Fridays at 5pm. Notifications go to contact@[agence].fr, which nobody checks at weekends.
Backups: Amélie and Yann cover for each other.
Check your work
Flow 1 gets an error workflow and a heartbeat check with a threshold suited to 40 requests a day
Flow 2 gets error handlers; otherwise the webhook deactivates it at the first error
Flow 3 gets notifications to a named person, plus a weekly check
Every alert has a named main recipient and a named backup
See the answers
Flow
What the tool does on its own
Settings to make
1. Applications (n8n)
Nothing: the failed execution stays in the history for 7 days
Error workflow to Amélie, copy to Yann; log; heartbeat check every working day at 10am, threshold of 4 working hours given the volume
2. Contracts (Make)
Deactivates the scenario on the first error, instant trigger
Retry handlers on fragile modules, incomplete executions enabled; log; daily heartbeat check to Yann, copy to Amélie
3. Timesheets (Zapier)
One e-mail per error to contact@, unread at weekends
Notification rule on this Zap to Yann and Amélie; check on Fridays at 5:30pm in Zap history
The heartbeat check email for flow 1Text
Objet : [Contrôle de vie] Candidatures : aucune depuis {{ $json.heures }} h
Amélie,
Le flux « Enregistrer les candidatures reçues par courriel »
n'a écrit aucune ligne dans son journal depuis {{ $json.heures }} heures
(dernière ligne : {{ $json.derniere }}).
À vérifier : la boîte candidatures reçoit-elle des courriels ?
Le workflow est-il toujours publié ?
Yann, en copie, prend le relais si Amélie est absente.
The heures and derniere fields come from the liveness check’s Code node presented in the lesson.
Level 3 · demanding case35 min
Design monitoring for a wholesaler’s five flows
A 30-employee building materials merchant in the Libourne area runs five workflows on a self-hosted n8n. Design their complete monitoring: shared log columns, the heartbeat threshold for each workflow, external server monitoring, alert recipients, review schedule. Then write the Check box of the record sheet for the most sensitive workflow.
The material to work on
Server: self-hosted n8n on a rented server, nightly backup at 2am.
Flow A: “Classer les demandes de prix” (sort price requests); 20 to 40 per working day; owner: Coralie, sales administration.
Flow B: “Enregistrer les bons de livraison signés” (record signed delivery notes); 60 to 90 per working day, none at weekends; owner: Marc, logistics.
Flow C: “Relancer les factures échues” (chase overdue invoices); every Monday at 8am; owner: Sylvie, accounts.
Flow D: “Alerter sur les ruptures de stock” (stock-out alerts); every day at 6am; owner: Marc.
Flow E: “Publier les promotions du mois” (publish the month’s promotions); on the 1st of each month; owner: Coralie.
Known absences: Coralie and Marc cover for each other; Sylvie is covered by the manager, Olivier.
September incident: flow C failed to start two Mondays in a row, and nobody noticed.
Check your work
The log is shared by all five flows, with a “Flux” column and no personal data
Each flow has a threshold suited to its rhythm: hours for A and B, days for C, D and E
The server is monitored from a tool other than n8n
Every alert has a recipient and a backup
The flow C incident is covered by a check specific to scheduled flows
See the answers
Liveness check thresholds
Flow
Frequency
Threshold
Alert to
Copy
A. Price requests
20 to 40 per working day
4 working hours
Coralie
Marc
B. Delivery notes
60 to 90 per working day
2 working hours
Marc
Coralie
C. Invoice reminders
Monday 8am
Monday 9am with no row for the day
Sylvie
Olivier
D. Stock-outs
Every day, 6am
7am without a row for the day
Marc
Coralie
E. Promotions
The 1st of the month
On the 1st at 10am without a row for the day
Coralie
Marc
Shared log: a “Journal” Data table with Date, Flow, Execution, Reference, Path, Reason; no client contact details.
Heartbeat check: a workflow running every hour from 7am to 7pm on working days, comparing each flow’s last row with its threshold.
External monitoring: a Make scenario calls /healthz every hour and alerts Marc and the server provider; at night, it allows for the 2-hour backup window.
Review: Friday at 4pm for A and B, Monday at 10am for C, the 2nd of each month for E.
Rule for a scheduled flow in the liveness check Code nodeJavaScript
// Pour un flux programmé, la question n'est pas « depuis combien d'heures ? »
// mais « a-t-il tourné aujourd'hui, après son heure prévue ? ».
const aujourdhui = new Date().toISOString().slice(0, 10); // AAAA-MM-JJ
const lignesDuJour = $input.all().filter(
(i) => i.json.Flux === "Relancer les factures échues" && String(i.json.DateISO).startsWith(aujourdhui)
);
// lancé le lundi à 9 h : alerte s'il n'y a aucune ligne du jour pour ce flux
return [{ json: { flux: "C", alerte: lignesDuJour.length === 0 } }];
Assumes a DateISO column (YYYY-MM-DD HH:mm) in the log, which is easier to compare than the French format.
Monitoring box for flow B, the most sensitive
Item
Setting
Level
Green: internal record, reversible
Errors
Retry On Fail on PDF reading and writing; error output to “À reprendre”
Alert
Error workflow to Marc, copy to Coralie
Heartbeat check
2 working hours without a row: email to Marc and Coralie
Server
Monitored externally by Make, every hour
Reading
Log reviewed on Fridays at 4pm, sheet reviewed every quarter
All the course prompts to copy, both for the assistant that helps you build and for the AI step of a flow, including answers, practical examples and practice tasks, sorted by module and lesson, with filters to find the right one.
For each lesson, the main exercise and the three graded practice tasks with their materials, to do on paper or alongside your automation platform; all the answers are grouped at the end.
The course’s practical examples, job by job: the situation, the prompt as it was written, the model answer and what was checked before letting the flow run.
All the lessons in a single PDF: objectives, written course with its diagrams, tables and requests, common mistakes, exercise and key takeaways. The practice exercises and answers are in the workbook, the examples in the collection.
Your notes stay on this device; they are not sent anywhere.
A question for the tutor
A result that doesn’t match the model answer, a prompt that gets you nowhere, a case specific to your business: write to us with your prompt and the response you got. A Bonbay Académie trainer replies within 24 working hours, on your case.