CarpeMessaging
Install on Shopify

Help · Settings

Connect Redeemly

Store credit is money your shoppers already have with you, and an email that says so is an easy reason to come back. If you give store credit with Redeemly, each credit reaches the right profile here, so you can count it, build segments on it and email people about it.

Redeemly tells Shopify Flow whenever somebody's store credit changes, and Carpe Messaging's actions there record it on the person's profile. No code needed.

Before you start

You need Carpe Messaging installed from the Shopify App Store, Shopify Flow (free), and Redeemly giving store credit. It works on every paid Shopify plan; Shopify Plus is not required.

What Redeemly reports, and what each one becomes

Each thing Redeemly reports is recorded as an event on the person's profile:

When Redeemly reportsOur actionThe event it records
Store Credit RewardedRecord store credit givenStore Credit Rewarded
Segment Campaign Credit RewardedRecord store credit givenStore Credit Rewarded
Abandoned Checkout Credit RewardedRecord checkout credit givenAbandoned Checkout Credit Rewarded
Store Credit Balance UpdatedRecord a store credit balanceStore Credit Balance Updated
Store Credit Expiration ThresholdRecord store credit about to expireStore Credit Expiring
Store Credit ScheduledRecord store credit scheduledStore Credit Scheduled

Campaign credit carries the campaign's name in campaign_name.

Setting it up in Shopify Flow

Each thing Redeemly reports needs one Shopify Flow workflow ending in the matching Carpe Messaging action. A ready-made template is quickest.

With the ready-made templates

Shopify Flow’s Browse templates page searched for Carpe Messaging, showing the six templates: record store credit when it is rewarded, record scheduled store credit, update the store credit balance when it changes, record campaign store credit, record expiring store credit, and record checkout credit for an abandoned checkout
The six templates in Shopify Flow's library.
  1. In Settings → Integrations, press Browse Carpe Messaging templates on the Redeemly card. Shopify Flow opens with the templates found.
  2. Open each template you want and press Install. Every box is already filled.
  3. Make sure it shows Active in Shopify Flow.

Building it yourself

  1. In your Shopify admin, open Shopify Flow and choose Create workflow.
  2. Choose one of Redeemly's triggers, such as Store Credit Rewarded.
  3. Add an action, search for Carpe Messaging, and choose the matching one from the table above.
  4. Fill each box with Add variable, choosing Redeemly's value of the same name. Number boxes take the plain figure, such as Balance; the formatted one, such as Formatted balance, goes in the box that says as shown.
  5. In Email address, add Customer → defaultEmailAddress → emailAddress, so the event is recorded even when the customer box is not enough.
  6. Press Turn on workflow, and repeat for each of the other things you want recorded.

An empty box records nothing and never blanks a value you have.

Emailing people about their credit

Three starting points in Automations → Create automation are built for this: Store credit earned, Store credit expiring soon and Credit for an unfinished checkout. Each opens with a draft email, and nothing sends until you apply your changes and enable it. The Starting points help page describes all three.

If Redeemly already emails your shoppers, keep one sender for each event, so nobody gets two.

What arrives, and where

The Redeemly card in Settings → Integrations shows when the last store credit event arrived. Each event appears on the profile's activity and the Metrics page, and is offered in the segment builder and as an automation's start.

EventProperties
Store Credit Rewardedamount, formatted_amount, currency, expires_at, campaign_id, campaign_name, reason
Abandoned Checkout Credit Rewardedamount, formatted_amount, currency, expires_at, checkout_url, checkout_total, formatted_checkout_total, item_count, campaign_id, campaign_name
Store Credit Balance Updatedbalance, formatted_balance, currency
Store Credit Expiringamount, formatted_amount, currency, expires_at, days_remaining
Store Credit Scheduledamount, formatted_amount, currency, expires_at, scheduled_at

Dates are kept exactly as Redeemly writes them.

The store credit kept on each profile

The latest figures are also kept on the profile, so an email can print them: store_credit_balance, store_credit_balance_formatted (such as $24.50), store_credit_currency, store_credit_balance_updated_at, store_credit_last_reward_formatted, store_credit_last_reward_expires_at, store_credit_last_reward_updated_at, store_credit_expiring_formatted, store_credit_expiring_expires_at and store_credit_expiring_updated_at.

Each event replaces its own figures in full, so a missing figure is cleared and your email prints its fallback.

When a step fails

The reason appears in Shopify Flow's run history, on the failed step:

Finish connecting this store in Carpe Messaging, then run this workflow again.

Open Carpe Messaging from your Shopify admin, then run it again.

This customer has no email address we can use. Add the Email box to this step and put their address in it.

Fill Email address as in step 5.

This step did not hand us a customer. Put the email address in the Email box instead.
Check the boxes on this step: one of them is empty or holds the wrong kind of value.
Balance needs a plain number of zero or more, such as 12.50, with no currency sign and no commas.
Amount needs a plain number, such as 12.50 or -12.50, with no currency sign and no commas.
Days left needs a whole number of zero or more, such as 3, with no currency sign and no commas.

The usual cause is a formatted variable, such as $12.00, where the plain one belongs.

Carpe Messaging does not have this action any more. Open the step in Shopify Flow and pick one of its actions again.

What to expect

Each event lands on the profile you already have. An address you have never seen creates an unconfirmed profile, kept out of counts and sends until something confirms it — the Verified identity page explains. Nothing here changes consent, and a step Shopify runs twice is recorded once.