Integrations
Shopify
Sync customers and order events from Shopify into Deel Flows, then automate WhatsApp follow-ups.
Easiest: via Zapier
The fastest path is Zapier's native Shopify triggers combined with the Deel Flows actions — see the Zapier guide. New customer → upsert contact; new order → order_placed event.
Direct: Shopify webhooks → Deel Flows API
For a code-level integration, point Shopify webhooks at a small endpoint of yours that forwards into the Deel Flows API:
app.post("/shopify/orders-create", async (req, res) => {
const order = req.body;
const phone = order.customer?.phone;
if (phone) {
// 1. Upsert the contact
await deelflows("/contacts", {
phone,
properties: { firstName: order.customer.first_name },
});
// 2. Track the order event — journeys take it from here
await deelflows("/events", {
phone,
event: "order_placed",
properties: { orderId: order.id, total: order.total_price },
});
}
res.sendStatus(200);
});
async function deelflows(path, body) {
return fetch("https://app.deelflows.com/api/v1" + path, {
method: "POST",
headers: {
Authorization: "Bearer " + process.env.DEELFLOWS_API_KEY,
"Content-Type": "application/json",
},
body: JSON.stringify(body),
});
}Playbooks
- Order confirmation — journey on
order_placedsends a template instantly. - Abandoned checkout — track
checkout_started; a journey waits an hour and nudges if noorder_placedfollows. - Review request — wait 7 days after
order_placed, then ask on WhatsApp.
Remember consent: only message customers who opted in to WhatsApp updates — collect the opt-in at checkout and set it via the contact properties.