n8n automations¶
n8n is the automation platform running on the same server as the API. It holds Rewake’s workflows: e-mails, Shopify collection sorting, invoices, quotes, delivery notes, CRM reminders. The API and n8n call each other, so they are documented together.
Instance: n8n.srv1336295.hstgr.cloud (log in to see a workflow from its id).
flowchart TD
Airtable[Airtable automations<br/>and buttons] -->|webhooks| N8N[n8n]
App[RewakeApp] -->|payroll, U3000 campaign,<br/>QR labels| N8N
Shop[Shopify site] -->|quote requests,<br/>back-in-stock| N8N
API[Rewake API] -->|buy-back and U3000 e-mails| N8N
N8N -->|invoice analysis| API
N8N --> AT[(Airtable)]
N8N --> SH[(Shopify)]
N8N --> Other[Gmail / SMTP, Qonto, OneDrive,<br/>Cloud Run, Gotenberg, Gemini]
Workflows¶
Group |
Workflows |
|---|---|
accessory links, product status, quote requests, back-in-stock sign-ups, old listings, collection sorting |
|
model research, lot photos, QR labels |
|
payment status, invoice sync, carrier invoices |
|
delivery notes, quotes, won auctions |
|
activities, project reminders, company form |
|
buy-back form e-mails, UltiMate 3000 e-mails |
|
UltiMate 3000 campaign |
|
payroll e-mails |
|
error handlers |
|
inactive workflows, candidates for deletion |
Links with the API¶
Direction |
Workflow |
Where in the code |
|---|---|---|
API → n8n |
|
|
API → n8n |
same file |
|
API → n8n |
|
|
API → n8n |
|
|
n8n → API |
|
Renaming or changing one of these API routes means changing the workflow too.
Errors¶
Most workflows name Error workflow as their error handler: when they fail, it e-mails the tech team with the workflow, the error, the last node and a link to the execution. Facture Transport Gmail uses Error workflow 2.
n8n keeps 14 days of executions. Anything older is only known if it was written down here.
Recording a failure¶
Each workflow has a Failures table. When something breaks, add a row:
When |
What happened |
Cause |
Fix |
Came back? |
|---|---|---|---|---|
date |
the symptom, as seen by its users |
why it happened |
what was changed |
dates it happened again, or “no” |
Platform incidents that hit every workflow are listed once below, and referenced from each affected workflow.
Platform incidents¶
When |
What happened |
Cause |
Fix |
Came back? |
|---|---|---|---|---|
2026-10-18 00:48 → 10-19 09:32 |
No webhook reached n8n (nor the API, the apps…) for 32 h; scheduled workflows kept running |
after a hypervisor reboot, a leftover nginx took port 80 and Traefik did not start |
nginx removed, Traefik recreated, PM2 boot service enabled |
no (as of 2026-11-30) |