Give each person their own discount code in a flow
A discount pool holds codes you created in your store. An email step that uses a pool gives each person a code of their own, once, and the email shows it with {{ event.discount_code }}. Sendsational does not create codes in your store: you make them there and add them here.
Set it up
- Create a batch of single-use codes in your store.
- In Sendsational, open Flows > Time zone and discount codes.
- Under Discount codes, type a name under New pool, for example “Welcome 10%”, and press Make the pool.
- Paste your codes under Add codes, one per line and press Add codes. A code already in the pool is skipped. Codes can also be added with the API:
POST /v1/discount_pools/{id}/codes, up to 10,000 a request; the pool’s id is shown beside it. - In a flow, open an email step and choose the pool under Discount code.
- Set The code is good for this many days, and what to do When the pool has no codes left.
- In the template, put
{{ event.discount_code }}where the code should appear.
When the pool runs out
- Hold the email (the default): people wait at that step until codes arrive, then go on, longest-waiting first.
- Skip it: people carry on without that email.
Each pool shows how many codes are left and how many were given out. Either way, the workspace’s owners get one email a day per pool saying it is empty and how many people are waiting. A code that would expire before the number of days you set is not handed out.