# Shopify workflows
Run counts cover 2026-11-16 → 2026-11-30 (n8n keeps 14 days).
## Accessory link
`g7-p497jfMOKzKjofHGjI` · active · webhook · 356 runs (353 ok, 2 crashed, 1 error)
When a unit's availability changes, rewrites the list of available compatible accessories on
every unit affected. Compatibility is a tree in Airtable (centrifuge → rotor → bucket): the
workflow walks it up and down, and keeps its state between loop iterations in the workflow's
static data. Below 3 levels it stops and e-mails the tech team.
```mermaid
flowchart TD
T[Unit availability changed] --> C[Read Compatibilité
parents and children]
C --> M[Read Model, Variation]
M --> U[Update available accessories
on each unit]
U -->|more levels, max 3| C
C -->|deeper than 3| E[E-mail tech]
```
| | |
|---|---|
| Called by | an Airtable automation on `Toutes les unités` |
| Airtable | `Compatibilité`, `Model`, `Variation` (read); `Toutes les unités` (read, update) |
| Sends | "Erreur workflow n8n" to tech when the loop limit is reached |
| Errors go to | Error workflow |
The busiest Airtable workflow. A sticky note still asks for "a loop limit with an e-mail": it
exists, check it matches the intent.
### Failures
| When | What happened | Cause | Fix | Came back? |
|---|---|---|---|---|
| 2026-10-18 → 10-19 | not triggered for 32 h | [platform outage](index.md#platform-incidents) | | no |
| 2026-11-16 → 11-30 | 2 crashed runs, 1 error | not investigated | | |
## Change product status on shopify
`fJK9NrGu43xHAkFi` · active · webhook · 2 runs
Sets a Shopify product's status (ACTIVE, DRAFT or ARCHIVED) with the Admin GraphQL API
(version 2026-04).
| | |
|---|---|
| Called by | an Airtable automation or button |
| Shopify | product status |
| Errors go to | Error workflow |
Replaces *Change to draft shopify*: move its remaining caller here, then delete the old one.
### Failures
| When | What happened | Cause | Fix | Came back? |
|---|---|---|---|---|
| 2026-10-18 → 10-19 | not triggered for 32 h | [platform outage](index.md#platform-incidents) | | no |
## Change to draft shopify
`n8OG92ehIU7ujq1g4yOC6` · active, dormant (no run in 14 days) · webhook
Older version of *Change product status on shopify* (ACTIVE / DRAFT only, Shopify API 2025-01,
which Shopify will retire).
### Failures
None recorded.
## Demande de devis - Shopify
`fdbpVkJgTtYZF2q9rJeLq` · active · webhook · 9 runs
A quote request from the Shopify site: e-mails the sales team, and sends the customer an
acknowledgement.
| | |
|---|---|
| Called by | the quote form of the Shopify site |
| Sends | "Nouvelle demande de devis" to sales; "Demande de Devis" to the customer |
| Errors go to | Error workflow |
### Failures
| When | What happened | Cause | Fix | Came back? |
|---|---|---|---|---|
| 2026-10-18 → 10-19 | quote requests from the site were lost for 32 h | [platform outage](index.md#platform-incidents) | | no |
## New user back-in-stock
`ZkqIYvbtfj9MjVGtWsNNA` · active, dormant · webhook
A customer asks to be told when a product is back: finds the `Variation` (Shopify id and
variant) and the `Personne` by e-mail, creates an `À prévenir` alert, e-mails the customer and
tells sales.
| | |
|---|---|
| Called by | the back-in-stock form of the Shopify site |
| Airtable | `Variation`, `Personne` (search); `À prévenir` (create) |
| Sends | "Nouvelle alerte Rewake" to the customer; "Nouvelle alerte" to sales |
Its counterpart *Product back-in-stock*, which warns the customers, is
[inactive](unused.md#product-back-in-stock): sign-ups are collected but nobody is told. Decide
whether to switch it back on or stop collecting.
### Failures
None recorded.
## Remove Shopify product after 2 month
`SFAcxww97DpWtu2jGTS8J` · active · webhook · 6,442 runs (3 errors)
For one `Annonces Shopify` record: depending on the listing's age, updates the record (listings
are taken down after two months).
| | |
|---|---|
| Called by | an Airtable automation, once per listing |
| Airtable | `Annonces Shopify` (read, update) |
| Errors go to | Error workflow |
By far the most runs. A single daily run over all listings would do the same with far fewer
calls.
### Failures
| When | What happened | Cause | Fix | Came back? |
|---|---|---|---|---|
| 2026-10-18 → 10-19 | not triggered for 32 h | [platform outage](index.md#platform-incidents) | | no |
| 2026-11-16 → 11-30 | 3 errors | not investigated | | |
## Sort Collection
`5Zr1SnS1rL7jj9QJDnqy0` · active · every day at 06:20 · 14 runs
Re-sorts 40 Shopify collections: products in stock first (most stock first), then out of stock.
Waits 30 s between collections (Shopify rate limit).
| | |
|---|---|
| Shopify | collections (API 2025-01) |
| Errors go to | Error workflow |
A sticky note says 07:00; the schedule is 06:20.
### Failures
None recorded.
## Sort collection all items
`EgO8nzhuXgygA-TpMTNM5` · active · every day at 06:00 · 14 runs
The same sort for the *All products* collection, by pages of 250 products, with batches of 250
moves 5 minutes apart. Not a duplicate of *Sort Collection*, which sorts the category
collections.
### Failures
None recorded.