Scheduled / seasonal campaigns
A campaign that should only run for a specific date range (Black Friday, Mother's Day, end-of-summer clearance) doesn't need a code-level scheduler. Use Shopify Flow to enable and disable the campaign at exact moments.
How it works
- Create the campaign normally. Save it as Draft - do not enable.
- In Shopify Flow, create two workflows:
- Workflow A - Black Friday open: Trigger = "Scheduled time" set to Friday 00:00 EST. Action = "Valotrix Cart Rewards → Enable promotion campaign" with the campaign you just made selected.
- Workflow B - Cyber Monday close: Trigger = "Scheduled time" set to Tuesday 00:00 EST. Action = "Valotrix Cart Rewards → Disable promotion campaign" with the same campaign selected.
When the scheduled times fire, Flow calls Valotrix Cart Rewards's enable/disable actions, which flip the campaign's status and re-sync the storefront discount. The transition happens in one step - no in-flight cart sees a half-applied state.
Why not just enable manually?
You can. The Flow approach buys two things: precision (the campaign starts at the exact second you specified, not whenever you remember to log in), and resilience (you can be in an airport on Black Friday and the campaign still runs).