Recipes
A recipe is a tested starting point for an event rule or a flow. You answer a few questions, such as which program and which activity, and the Hub builds the rule or flow for you to review. Your team can also save its own rules and flows as recipes.
For example, a coffee chain picks the Give points for an activity recipe, chooses its "Bean Street Rewards" program and the purchase activity, and gets a draft rule that gives points on every purchase.
Before you start
A rule recipe needs event-engine:event-rules:write, and a flow recipe needs event-engine:flows:write. Recipes you can't use don't show.
Where recipes come from
- Core recipes come with every program:
- Give points for an activity: members earn a fixed number of points each time an activity happens.
- Send an offer after an activity: members get a coupon from an offer each time an activity happens.
- Reward members can redeem: members spend points on a reward and get a coupon for it.
- Welcome series (a flow): new members get a welcome offer, then bonus points a week later.
- Industry recipes come with the industry packages you install, such as Points per purchase for retail, Points per check for restaurants, Points per stay for hospitality, and Punch card for visit-based programs.
- Your recipes are the ones your team saved.
Start from a recipe
- Select Create Rule or Flow.
- Under Start from a recipe, pick one of the three cards. Your recent recipes come first, then featured ones. To see them all, select Browse all recipes, search, and filter by Rule or Flow.
- Answer the questions the recipe asks, such as the program, currency and activity, and select Continue.
- Review the draft the Hub builds, then save and publish it as usual.
If recipes can't load, you can still describe what you want or start one yourself from the same dialog.
Save a rule or flow as a recipe
- Open a saved event rule, or open a flow in the builder.
- Select Save as recipe.
- Give it a name and a Description, one line on what it sets up.
- Under Ask about, choose which parts the next person should fill in, such as the program or offer. Everything else is copied as it is.
- Select Save recipe.
The recipe shows under Your recipes in every recipe chooser in your organization.