Make
How to connect Retiva to Make and build scenarios on Retiva events, with voucher issuing, redemption and customer search.
The Retiva app in Make lets you build scenarios that start when something happens in Retiva. A scenario can also issue, redeem or look up a voucher itself.
Connecting
- In the Retiva dashboard, open Integrations and click Create an API key on the Make card. The form already has the name “Make” and the permissions the app uses. Click Create key and copy the key. You can read more about keys in API keys.
- On the same card, click Open in Make.
- In your scenario, add a Retiva module, create a new connection and paste the key. Make checks the key and names the connection after your business.
Trigger modules
Each of these modules starts at once because it has its own webhook. Make sets up the webhook in Retiva when you add the module. When you delete the webhook in Make, Make removes it from Retiva too.
| Module | When it fires |
|---|---|
| Watch paid orders | An order has been paid |
| Watch vouchers issued by staff | Someone on your team issued a voucher or ticket by hand |
| Watch redeemed vouchers | A voucher has been redeemed in full or in part |
| Watch fully redeemed vouchers | A voucher has been used up |
| Watch checked-in tickets | A ticket has been checked in |
| Watch new loyalty members | A customer joined your loyalty programme |
| Watch loyalty stamps | A customer got a stamp |
| Watch completed loyalty cards | A stamp card is full |
| Watch claimed coupons | A customer claimed a coupon |
Actions and searches
| Module | What it does |
|---|---|
| Create a voucher or ticket | Issues a voucher or ticket from the product you pick |
| Redeem a voucher or check in a ticket | Redeems a voucher or checks in a ticket by its code |
| Cancel a redemption | Reverses a redemption |
| Claim a coupon for a customer | Gives a customer a coupon from a coupon offer |
| Get a voucher or ticket | Gets a voucher or ticket by its code |
| Get an order | Gets an order |
| Search orders | Searches orders |
| Search customers | Searches customers, for example those who agreed to your newsletter |
| Make an API call | Calls any operation of the Retiva API |
Example: buyers with consent join your mailing list
- Add the Watch paid orders module from the Retiva app.
- Set a filter that lets through only orders where the buyer ticked marketing consent.
- Add your newsletter tool’s module, for example Add/Update a Subscriber from the Mailchimp app, and map the buyer’s email and name.
- Run the scenario once as a test, then turn it on.
Things to watch
- Amounts are in minor units. For example,
5000is £50.00. - The issue module has an idempotency key field. Map it to the ID of the record that started the scenario. When Make retries the module, Retiva does not issue a second voucher.
- The scenario sends personal data out of Retiva. It goes wherever the scenario sends it, and you decide where it may go.
- Revoking the key stops your scenarios. Scenarios using that connection stop working.