Skip to main content

Send complimentary gift cards automatically with Zapier or the API

Send complimentary gift cards from any app with Zapier, or from your own app or checkout with the Cardivo API, and override default settings for a single gift card.

Written by Roohbir

You can send complimentary gift cards automatically, without logging in to Cardivo, using Zapier or the Cardivo API. For example, send a $100 gift card when a customer refers a friend who becomes a new client, when they place their third order, or on their birthday from your CRM. Your customer gets the same branded gift card email as one you send from your dashboard.

New to complimentary gift cards? Start with Complimentary gift cards.

Before you start

  1. Go to Settings > Send gift cards, switch on Complimentary gift cards and save a payment card. Our fee is only charged to this payment card when a complimentary gift card is redeemed.

  2. Check your defaults in Complimentary gift cards > Default settings: currency, expiry, terms and how to use the gift card. Every gift card you send through Zapier or the API uses these unless you override them.

  3. Go to Settings > Integrations and switch on Zapier, the Redemption API, or both.

Send with Zapier

Use the Send Complimentary Gift Card action in the Cardivo Zapier app. Pick any trigger you like (a new Shopify order, a new row in Google Sheets, a form submission, a tag in your CRM), then add the Cardivo action and connect your Cardivo account.

Fill in the fields:

  • Gift Card Value (required). A whole number with no currency symbols or decimals, for example 100 for a $100 gift card.

  • Recipient Email (required). Where the gift card is sent.

  • Recipient First Name and Recipient Last Name (optional). Leave them blank and the email greets your customer with "Hi there".

  • Personal Note (optional but recommended). The body of your message, without a greeting or sign off. Leave it blank to use: "Here’s a gift card from [your business]. We hope you enjoy it."

  • From Name (optional). Who it’s from, for example "Sarah from Acme". Leave it blank to use the name of the Cardivo user who connected Zapier.

  • From Email (optional). Used for replies. Gift card emails are always sent from a cardivo.com address so they get delivered. Leave it blank to use the connected Cardivo user’s email.

  • Send Date (optional). Leave it blank to send straight away. Add a future date (YYYY-MM-DD) to schedule it. Scheduled gift cards show as Scheduled in your dashboard.

  • Gift Card Currency (optional). A three letter code like usd or cad. Leave it blank to use your default currency.

  • Does It Expire?, Expiry Period Days, Show Terms & Conditions?, Terms Text and Gift Card Redemption / Usage Instructions (optional). Override your default settings for gift cards from this Zap. Leave them blank to use your Default settings.

  • Campaign (optional). A label for your own reporting, like "post_purchase_reward".

Click Test step to send a real gift card to the email you entered, so use your own email while you test. Then publish your Zap.

If Zapier retries a step, Cardivo won't send a second gift card. A retry with the same recipient, amount and other fields within 10 minutes returns the gift card that was already created.

Send with the API

Use the API to send complimentary gift cards from your own app, website or checkout.

  1. In Settings > Integrations, switch on the Redemption API and copy your access token. Keep it private. If it leaks, click Generate a new token and update your app.

  2. Send a POST request to /api/v1/gift_cards/complimentary with your token in the Authorization: Bearer header and X-Channel-Type: api.

  3. Send recipient_email and value_original (the amount). Everything else is optional and matches the Zapier fields above: recipient_first_name, recipient_last_name, sender_message, sender_name, sender_email, scheduled_send_date, currency and campaign.

Field names, examples and every response are in our API documentation.

A few tips:

  • Send an idempotency_key with every request, such as your order or customer ID. If your app retries, you get the original gift card back and nothing is sent twice.

Override your default settings for one gift card

In Zapier or the API, you can give a gift card its own expiry, terms or instructions, just like clicking Override default settings on the send page. Leave these fields out and the gift card follows your Default settings. The API field names are:

  • expires: true or false. Turns the expiry period on or off for this gift card.

  • expiry_period_days: how many days after it's sent the gift card expires, for example 60.

  • show_terms: true or false. Shows or hides the gift card terms.

  • terms_text: your terms for this gift card.

  • how_to_use_instructions: how your customer redeems the gift card, for example "Enter your gift card number at checkout."

Anything you don't override is copied from your default settings when the gift card is sent, so changing your defaults later won't change gift cards you've already sent.

Where to find them in Cardivo

Every gift card you send through Zapier or the API shows up in Complimentary gift cards, along with the ones you send by hand. The Sent by column says Sent via Zapier or Sent via API, so you can tell them apart. Click a gift card to see its status, balance and redemptions.

If a gift card isn't sent

  • Complimentary gift cards are not turned on with a saved payment card for this account: switch them on and save a payment card in Settings > Send gift cards.

  • The Zapier integration (or public API integration) is not enabled: switch it on in Settings > Integrations.

  • The recipient opted out: your customer unsubscribed from complimentary gift cards from your business. Cardivo won't send them one, and retrying won't change that.

  • A valid amount must be passed without symbols or The amount must be a whole number without decimals: send a whole number with no currency symbol, like 100, not $100.00.

  • A valid currency code must be provided: use a three letter code like USD, or leave the currency blank to use your default.

  • scheduled_send_date must be today or a future date (in Zapier, Send Date): check the date format (YYYY-MM-DD) and that it isn't in the past.

Coming soon: automated gift card offers, so you can send complimentary gift cards automatically, for example after a customer's purchase, without setting up Zapier or the API.

Complimentary gift cards are for sending to individual customers, not bulk marketing. Need help setting up a Zap or an API call? Ask us via the chat icon.

Did this answer your question?