useLoyalty
Integrations

Integrations Overview

Connect useLoyalty with your e-commerce platform and Discord

useLoyalty integrates seamlessly with popular e-commerce platforms and Discord to automatically award points for purchases and community engagement.

Available Integrations

Integration Features

E-Commerce (Shopify & WooCommerce)

FeatureDescription
Automatic PointsAward points for purchases based on order value
Points Per DollarConfigure earning rate (e.g., 1 point per $1)
MultipliersProduct/collection-specific earning rates
Refund HandlingAutomatic point deduction on refunds
Guest CheckoutOptional exclusion for guest orders
Minimum OrderSet minimum order value for earning
Coupon RewardsGenerate discount codes as rewards

Discord

FeatureDescription
Message PointsReward chat participation
Voice ActivityPoints for voice channel time
Event AttendanceReward scheduled event attendance
Server BoostsBonus points for boosters
Account LinkingConnect Discord to loyalty account
Role MultipliersBonus earning for specific roles

Points Multiplier Events

All integrations support points multiplier events:

Base Points × Multiplier = Total Points Earned

Configure multipliers per source:

SourceApply Setting
QuestsapplyToQuests
ShopifyapplyToShopify
WooCommerceapplyToWooCommerce
ReferralsapplyToReferrals
GamesapplyToGames
ReviewsapplyToReviews
DiscordapplyToDiscord

Security

All integrations use secure webhook verification:

  • Shopify: HMAC-SHA256 signature validation
  • WooCommerce: HMAC signature with secret key
  • Discord: Signed webhooks with timestamp validation

Quick Setup

Shopify

  1. Install from Shopify App Store
  2. Authorize OAuth permissions
  3. Configure points settings
  4. Webhooks auto-registered

WooCommerce

  1. Upload WordPress plugin
  2. Enter API credentials
  3. Configure points settings
  4. Test webhook connection

Discord

  1. Create Discord bot
  2. Connect guild to useLoyalty
  3. Configure activity points
  4. Deploy bot to server

Data Flow

Platform Event → Webhook → useLoyalty API → Process → Award Points
  1. Event Trigger: Order placed, message sent, etc.
  2. Webhook Sent: Platform sends signed webhook
  3. Verification: useLoyalty verifies signature
  4. Processing: Calculate points with multipliers
  5. Award: Update member points balance
  6. Activity Log: Record transaction

Member Identification

PlatformIdentifier
ShopifyCustomer email
WooCommerceCustomer email or user ID
DiscordDiscord user ID (linked account)

Members are matched by email or external ID. If no member exists, one is created automatically on first purchase/activity.

On this page