We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

Custom Alerts for Merchant When no Orders

Custom Alerts for Merchant When no Orders

aramirezdecruz
Shopify Partner
5 0 0

Hello all!

 

So we recently updated some settings in our shopify headless store that meant customers were unable to purchase anything for a period of 2 hours until we noticed and fixed the issue.

This prompted us to have a post mortem and realized that it would be good to have an alert in our shopify store for our team set up as follows: if there are no orders created over a period of an hour send an email alert to our team.

We have used shopify flow for a few different scenarios and I am trying to figure out if I can use it for these alerts, but I am having trouble finding a trigger that basically watches the overall store and will do an action if there are no orders after an hour.

And if I can't use shopify flow, does anyone have any other ideas for how I might get this set up? Been googling and looking at different shopify apps, and I keep coming up with nothing.

Thanks!

Replies 4 (4)

sahilakos
Shopify Partner
5 1 4

If you're using Cloudflare for DNS management for your headless stores, this can be done using workers for FE checkout URIs to send Slack or Email notifications. If the checkout is all custom-built on MultiPass, pretty sure you can setup workers to test against those URIs too. Or even fetch a JSON response using Storefront API.

Building things for Enterprise Shopify at akosweb.com

mashkovtsev
Shopify Partner
44 1 27

Alertly app could help here

All the best.
Alex, Team Lead at INSO.codes Shopify Studio
https://inso.codes/

roterhut
Visitor
3 0 0

here is a flow that send you an email if no order has be placed within the last 2 hours. obviously you can adjust the time frame 😉 unfortunately i can't upload the flow script here.. but basically this is what it does.

 

fetch all the orders from the last two hours:

created_at:<='{{ scheduledAt }}' AND created_at:>'{{ scheduledAt | date_minus: "2 hours" }}'

 

check if at least one of the orders has a total sum bigger than 0.

 

if not, send an email saying that there hasnt been an order placed for two hours

KaiKu
Shopify Partner
2 0 0

I know your request is a bit old, but I think the app Analertics  might be a good fit. It allows you to define custom alerts, so you can get notified by email or SMS when orders drop below a certain threshold over a specific time period. You can fully customize the alerts to suit your needs. If you decide to try it out, I’d be curious to hear your feedback 🙂

Helping you being the first to know when something unexpected happens in your store.
Kai, Lead Developer of Analertics.
https://landing.alertapp.dev/