Watches for new Shopify orders over $100, posts a notification to Slack's #orders channel, and sends each qualifying customer a thank-you email — then produces a recap of what ran.
Each step shows the tools it's allowed to touch.
Fetch the latest orders from the connected Shopify store.
Keep only the orders whose total value is greater than the Order Threshold input (default $100). Set aside all others — they will not trigger a Slack post or email.
For each qualifying order, post a message to the specified Slack channel (e.g. #orders) with the customer name, order total, and order ID.
For each qualifying order, send the customer a warm thank-you email using the provided subject line, addressing them by first name and mentioning their order total.
Produce a plain-English recap listing: (1) each qualifying order with customer name and total, (2) each skipped order with customer name and total and the reason (under threshold), (3) count of Slack posts sent, (4) count of thank-you emails sent.
Every number here is platform-tracked, not self-reported.