# 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. ```mermaid flowchart TD T[BL requested
for a deal] --> R[Read Affaires, Personne,
Entreprise, Employé, units] R --> X[Cloud Run auto-bl:
XLSX] X --> O[OneDrive + Microsoft Graph:
PDF] O --> V[Create or update
Opération vente] V --> U[Units marked ordered] U --> E[E-mail BL PDF + XLSX
to operations and logistics] ``` | | | |---|---| | Called by | an Airtable button on the deal | | Airtable | `Affaires`, `Personne`, `Entreprise`, `Employé Rewake` (read); `Toutes les unités` (read, update); `Opération vente` (create, read, update) | | Services | Cloud Run `auto-bl`, OneDrive, Microsoft Graph | | 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 | [platform outage](index.md#platform-incidents) | | 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. ```mermaid flowchart TD T[Quote requested] --> R[Read deal, contact,
company, units] R --> C{Client in Qonto?} C -->|no| N[Create it,
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 | `Affaires`, `Personne`, `Toutes les unités` (read); `Entreprise` (read, update); `Devis` (create, read, delete) | | 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 | [platform outage](index.md#platform-incidents) | | 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.** ```mermaid flowchart TD T[Invoice PDF of a won auction
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
and the Opération reprise] U --> P[Link the auction, update prices,
fees, GBP exchange rate] K -->|mismatch| E[E-mail tech] ``` | | | |---|---| | Called by | RewakeApp | | API | `POST /internal/invoice/analysis` (bearer token credential) | | Airtable | `Toutes les unités` (create); `Opération reprise` (create, read, update); `Prix des enchères` (update); `Lots favoris issus des enchères` (create, search, update); `Listes des enchères` (read, update) | | 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.