Deal workflows¶
Run counts cover 2026-11-16 → 2026-11-30 (n8n keeps 14 days).
Create BL Affaire¶
swssGmeS5yQS1GkDIvr7t · active · webhook · 72 runs (3 errors)
Builds and sends the delivery note (BL) of a deal.
flowchart TD
T[BL requested<br/>for a deal] --> R[Read Affaires, Personne,<br/>Entreprise, Employé, units]
R --> X[Cloud Run auto-bl:<br/>XLSX]
X --> O[OneDrive + Microsoft Graph:<br/>PDF]
O --> V[Create or update<br/>Opération vente]
V --> U[Units marked ordered]
U --> E[E-mail BL PDF + XLSX<br/>to operations and logistics]
Called by |
an Airtable button on the deal |
Airtable |
|
Services |
Cloud Run |
Sends |
the BL to operations, logistics, sales and tech |
Errors go to |
Error workflow |
Two branches: a new BL, or a modified one. Its webhook is named “create-bc-affaire” although it makes a BL.
Failures¶
When |
What happened |
Cause |
Fix |
Came back? |
|---|---|---|---|---|
2026-10-18 → 10-19 |
no BL could be made for 32 h |
no |
||
2026-11-16 → 11-30 |
3 errors in 72 runs |
not investigated |
Create Devis¶
QCoBqH-kU0H2Y-Edzg6K3 · active, dormant (no run in 14 days) · webhook
The former quote generator: Cloud Run auto-devis (XLSX), OneDrive for the PDF, a Devis record,
e-mail to tech. Replaced by Create Devis Qonto: candidate for removal.
Failures¶
None recorded.
Create Devis Qonto¶
7pLef8fiJS89tNN3 · active · webhook · 48 runs (3 errors)
Creates a deal’s quote in Qonto.
flowchart TD
T[Quote requested] --> R[Read deal, contact,<br/>company, units]
R --> C{Client in Qonto?}
C -->|no| N[Create it,<br/>keep its Qonto ID on Entreprise]
C -->|yes| Q
N --> Q[Create the Qonto quote]
Q --> P[Download its PDF]
P --> D[Create the Devis record]
D --> E[E-mail sales]
Called by |
an Airtable button on the deal |
Airtable |
|
Services |
Qonto |
Sends |
the quote to sales and tech |
Errors go to |
Error workflow |
On an update, the previous Qonto quote and Devis record are deleted. A leftover node deletes a
fixed quote id: remove it.
Failures¶
When |
What happened |
Cause |
Fix |
Came back? |
|---|---|---|---|---|
2026-10-18 → 10-19 |
no quote could be made for 32 h |
no |
||
2026-11-16 → 11-30 |
3 errors in 48 runs |
not investigated |
Tunnel Enchères → Opération reprise¶
F04sBdorJ8VSiOrF · active, dormant (auctions are occasional) · webhook
Turns a won auction’s invoice into Airtable records. Calls the API.
flowchart TD
T[Invoice PDF of a won auction<br/>Surplus Solutions or EquipNet] --> A[API: POST /internal/invoice/analysis]
A --> L[One item per lot]
L --> F{Lot in Lots favoris?}
F -->|no| C[Create it]
F -->|yes| K[Check the amounts]
C --> K
K --> U[Create the unit<br/>and the Opération reprise]
U --> P[Link the auction, update prices,<br/>fees, GBP exchange rate]
K -->|mismatch| E[E-mail tech]
Called by |
RewakeApp |
API |
|
Airtable |
|
Services |
an exchange-rate API |
Sends |
“Lot remporté non trouvé”, “Erreur de correspondance dans les enchères”, “Plateforme d’enchère non valide” to tech |
Errors go to |
Error workflow |
To fix: the exchange-rate API key is written in a URL (move it to a credential); two sender addresses are misspelled.
Failures¶
None recorded.