Loop Subscriptions

Integration

The following is a guide on how to integrate Loop with Bloomreach Engagement.

Loop is a subscription management company focused on gamifying subscriptions and personalizing and automating user journeys and rewards.

1. Create API group

To integrate Loop within Bloomreach Engagement:

  1. In your Bloomreach account, go to your Project settings.
  1. Go to Access management > API and press + New group.
  1. Choose Public access and press Create group.
  1. Copy and save your Project token, API Base URL, and API Token. You will need these later.
  1. Scroll down to Group Permissions and enable all permissions for Customer properties and Events.

2. Connect Bloomreach with Loop

To connect the Bloomreach Engagement app within Loop:

  1. In your Loop account, go to Integrations, search for Bloomreach and press Connect.
  2. In the Set up instructions tab, paste your API Base URL, API token, and Project token.
  1. (Optional) Press Trigger sample events to see all events.

Track your integration

Once the Bloomreach and Loop accounts are successfully connected, you can view integration statistics, including details of Loop events synced during a specific period and any errors that may have occurred.

Synced data

The following are the data synced between Loop and Bloomreach.

Events triggered

Loop Subscription events which are synced with Bloomreach and can be used to trigger Bloomreach email flows.

TriggerExplanation
loop_subscription_createdA new subscription has been created.
loop_subscription_pausedThe subscription is temporarily paused.
loop_subscription_resumedThe paused subscription is resumed.
loop_subscription_cancelledThe subscription is canceled.
loop_subscription_delayedThe subscription is delayed.
loop_subscription_reactivatedA canceled subscription is reactivated.
loop_subscription_expiredThe subscription has reached its end date and is not renewed.
loop_subscription_rescheduledThe subscription has been rescheduled.
loop_subscription_marked_for_cancellationA prepaid subscription is marked for cancellation.
loop_order_upcomingAn upcoming order is scheduled under the subscription.
loop_order_skippedAn order under the subscription is skipped.
loop_order_unskippedAn order under the subscription is unskipped.
loop_order_processedAn order under the subscription is processed.
loop_order_partially_processedAn order under the subscription is partially processed.
loop_payment_attempt_failed_retryA payment attempt failed but will be retried.
loop_payment_attempt_failed_last_retryThe final attempt is left for a payment failed.
loop_payment_attempt_failedA payment attempt for the subscription failed.
loop_customer_activationA customer account associated with the subscription is activated.
loop_flow_completedA specific flow in the Loop is completed.
loop_send_customer_login_linkA customer has requested for customer portal login link.
gift_subscription_createdSent to the gifter when they purchase a gift.
gift_subscription_thanks_messageSent to the gifter with a thanks message written by the recipient.
gift_subscription_receivedSent to the recipient when they receive a gift from someone.
gift_subscription_upcoming_orderSent to the recipient when their recurring gift order is about to be placed.
gift_subscription_completedSent to the recipient after a certain time when all the orders as part of the gift are delivered.

Custom properties

Loop updates the subscription-related properties dynamically for Bloomreach profiles which can be used for customer segmentation and filtering.

TriggerExplanation
$loop_active_subscriberIndicates if the customer is currently an active subscriber.
$loop_active_subscription_countShows the total count of active subscriptions the customer has.
$loop_cancelled_subscription_countNumber of subscriptions the customer has canceled.
$loop_customer_idUnique identifier for the customer in Loop.
$loop_expired_subscription_countCounts the customer's subscriptions that have expired.
$loop_external_customer_idAn external identifier used for the customer, if applicable.
$loop_next_billing_dateThe date when the customer will be billed next for their subscription.
$loop_next_billing_date_displayA formatted version of the next billing date for display purposes.
$loop_paused_subscription_countThe number of subscriptions the customer has currently paused.
$loop_subscribed_variant_shopify_idsShopify IDs of the variants the customer is subscribed to.
$loop_customer_portal_linkA direct link to the customer portal.
$loop_session_tokenA session token for the customer's current subscription session.
$loop_subscription_revenueTotal revenue generated from the customer's subscriptions.
$loop_processed_order_countNumber of subscription orders that have been successfully processed for the customer.
$loop_subscribed_line_item_namesList of product names the customer is subscribed to.