Platform
Shopify
Working
Refik is a Shopify app and a theme app extension. Setup and the console are screens in your Shopify admin; the storefront surfaces are theme blocks you switch on in Shopify’s own theme editor. Shopper requests reach Refik through Shopify’s app proxy, and each one is signature-checked before Refik answers it.
What Refik reads, and the two things it writes, are listed step by step on the setup page.
The edges this install is held inside →
Catalogue changes
Product updates
Working
When you edit, unpublish or delete a product, Shopify tells Refik and the knowledge it answers from follows your catalogue instead of a nightly copy. Deletions are subscribed separately, because an update webhook fires only for a product that still exists.
Uninstalling the app, and Shopify’s mandatory data-request and deletion notices, arrive as webhooks too — each on its own route.
Your edit, and the minutes after it →
Product data
Complementary products
Working
The routine suggestion block on a product page is built from Shopify’s own complementary-products data. The model is out of this loop entirely: the block reads the metafield and renders in Liquid, and it checks stock once more before it shows a product.
Where that data is empty for a product the block stays closed, so every pairing a shopper sees is one you set in Shopify.
Your pairings, with nothing clever in between →
Back-in-stock
Klaviyo
Working
When a shopper asks about something that is out of stock, Refik can take their email and write it to Klaviyo twice: a sign-up at the moment they ask, and a second event when that exact variant is back. It waits for the exact variant, so the note goes out for the colour they asked about.
Back in Stock is the event your flow listens for, and Back in Stock Request is the sign-up. Your public site ID is the whole configuration; saving it records that ID, and the email itself goes out when a live flow in your own Klaviyo account is triggered by the event. An empty field leaves sign-ups off.
Two events, and who sends the email →