Zapier
How to connect Retiva to Zapier and run Zaps when a voucher is sold or redeemed, a ticket is checked in or a customer claims a coupon.
The Retiva app in Zapier connects your voucher shop to the other apps available in Zapier. You do not need a developer for it. A Zap can start when something happens in Retiva, for example when an order is paid. A Zap can also do something in Retiva, for example issue a voucher.
Connecting
- In the Retiva dashboard, open Integrations and click Create an API key on the Zapier card. The form already has the name “Zapier” 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 Zapier.
- In Zapier, add the Retiva app to a Zap and paste the key when Zapier asks you to connect. The connection takes your business’s name.
A business owner or admin can create the key.
Triggers
Retiva tells Zapier about each event itself, so the Zap starts at once.
| Trigger in Zapier | When it fires |
|---|---|
| Order Paid | An order has been paid |
| Voucher or Ticket Issued by Staff | Someone on your team issued a voucher or ticket by hand |
| Voucher Redeemed | A voucher has been redeemed in full or in part |
| Voucher Fully Redeemed | A voucher has been used up |
| Ticket Checked In | A ticket has been checked in at the door |
| New Loyalty Member | A customer joined your loyalty programme and confirmed their address |
| Loyalty Stamp Added | A customer got a stamp |
| Loyalty Card Completed | A stamp card is full |
| Coupon Claimed | A customer claimed a coupon |
Actions and searches
| Action in Zapier | What it does |
|---|---|
| Issue Voucher or Ticket | Issues a voucher or ticket from the product you pick |
| Redeem Voucher or Check In Ticket | Redeems a voucher or checks in a ticket by its code |
| Cancel Redemption | Reverses a redemption |
| Claim Coupon for Customer | Gives a customer a coupon from a coupon offer |
| Find Voucher, Ticket or Coupon by Code | Looks a voucher, ticket or coupon up by its code |
| Find Order | Looks an order up by its number |
Example: every sale in a Google Sheet
- Create a Zap with the Order Paid trigger from the Retiva app.
- Add the Create Spreadsheet Row action from the Google Sheets app.
- Map the columns: date, order number, product, amount, buyer email.
- Test the Zap and turn it on. From then on, every paid order adds a row to the sheet.
Things to watch
- Amounts are in minor units. Retiva sends an amount in the currency’s smallest unit. For
example,
5000is £50.00, so divide the amount by 100 in the sheet. - The issue action has an idempotency key field. Map it to the ID of whatever started the Zap, for example an order number from another system. When Zapier retries the step, Retiva does not issue a second voucher.
- An order says whether the buyer agreed to your newsletter. Before you add someone to a mailing list, add a filter on that consent to the Zap.
- The Zap sends personal data out of Retiva. It goes wherever the Zap sends it, and you decide where it may go.
- Revoking the key stops your Zaps. After you revoke the key, reconnect Retiva in Zapier with a new key.