Skip to main content
The Loops app connects your StellarTools organization to Loops, letting you send transactional emails and trigger automated workflows when things happen — payments confirmed, subscriptions started, refunds processed, and more. With it you can:
  • Send transactional emails triggered by any StellarTools event
  • Trigger Loops workflows from payment and subscription events
  • Auto-sync new customers to your Loops audience and mailing lists
  • View a live activity log of emails sent inside the dashboard

Supported events

The app fires on any of the following StellarTools events:
EventWhen it fires
customer.createdA new customer is added
customer.updatedA customer’s details change
customer.deletedA customer is removed
payment_method.createdA wallet is linked to a customer
payment_method.deletedA wallet is removed
checkout.createdA checkout session is opened
payment.pendingA payment is initiated
payment.confirmedA payment is confirmed on-chain
payment.failedA payment fails
refund.succeededA refund is processed
refund.failedA refund attempt fails
subscription.createdA subscription starts
subscription.updatedA subscription changes
subscription.canceledA subscription is canceled

Connect your account

  1. Open the Loops app from the StellarTools Marketplace.
  2. Enter your Loops API key. Find it at Loops → Settings → API.
  3. Click Connect. The app validates the key and activates.

Transactional emails

Open Notification rules in the app dashboard. For each event type, you can assign a Loops transactional email. When that event fires in StellarTools, Loops sends the matched email to the customer. Leave an event set to None to skip sending for it.

Loops workflows

You can also trigger Loops workflows directly — no template selection needed. Create a workflow in Loops and set its trigger to the event name with dots replaced by underscores:
StellarTools eventLoops trigger name
payment.confirmedpayment_confirmed
subscription.createdsubscription_created
refund.succeededrefund_succeeded
The workflow fires automatically when that event occurs.

Contact sync

Enable Contact sync to automatically add new StellarTools customers to your Loops audience when customer.created fires. When contact sync is on, you can also select a mailing list to subscribe them to immediately. Toggle it off to stop syncing.

Disconnect

Click Disconnect in the top-right of the app dashboard. This removes your API key and pauses all email delivery.

Examples

Payment confirmed email

Send a receipt when a customer’s payment goes through.
  1. Create a transactional email in Loops for payment confirmations.
  2. In the Loops app, open Notification rules and assign it to payment.confirmed.

Subscription welcome email

Send a welcome email when a customer starts a subscription.
  1. Create a transactional email in Loops.
  2. Assign it to subscription.created in Notification rules.

Subscription canceled — win-back workflow

Trigger a Loops workflow to attempt to win back a customer who canceled.
  1. Create a workflow in Loops with trigger subscription_canceled.
  2. Add your win-back email sequence to the workflow.
  3. The workflow fires automatically — no template selection needed in the app.

Failed payment alert

Notify a customer when their payment fails so they can retry.
  1. Create a transactional email in Loops for payment failures.
  2. Assign it to payment.failed in Notification rules.