Piggy

Syncs cashback rewards and loyalty points with your CRM, automates reward approvals for high value customers, and tracks point redemption trends to trigger personalized marketing emails.

Try Piggy in Ceven

Ask Ceven anything
Standard

Why use Ceven?

  1. AI native Piggy integration

    • Describe the outcome and Ceven picks the right Piggy calls, fills the parameters, and checks the result.
    • Structured, agent friendly tool schemas so each call runs reliably instead of by guesswork.
    • Rich coverage for reading, writing, and querying your Piggy data, across all 14 of its actions.
  2. Managed auth

    • Built in OAuth with automatic token refresh and rotation.
    • One place to manage, scope, and revoke Piggy access.
    • Per user and per environment credentials instead of shared keys.
  3. Agent optimized design

    • Actions are tuned from real success and error rates so reliability climbs over time.
    • Full execution logs so you always know what ran in Piggy, when, and on whose behalf.
    • The agent pauses and asks when Piggy is unclear instead of plowing ahead.
  4. Enterprise grade security

    • Fine grained access so you control which agents and people can reach Piggy.
    • Least privilege by default, read scopes first and only the writes a workflow needs.
    • A full audit trail of every Piggy action to support review and sign off.

Supported tools

Every action Ceven's agents can run on Piggy, and when to use it.

Get user points
Pull the current loyalty point balance and tier status for a specific user by email or ID.
Add points
Manually credit points to a user account. Use this for bonus rewards, referral bonuses, or customer service recovery.
Remove points
Deduct points from a user account. Use this when an order is returned or a reward is canceled.
Create reward
Define a new reward rule or discount code that users can redeem using their points.
List user rewards
Pull a history of all rewards a specific user has redeemed to analyze preference patterns.
Update user tier
Manually move a user to a different loyalty tier based on external criteria or VIP status.
Search users by points
Find all users who have a balance above or below a specific point threshold.
Validate reward code
Check if a specific reward code is still active and eligible for a particular user.
Trigger cashback payout
Initiate the payout process for a user who has requested their earned cashback.
Get loyalty settings
Pull the global configuration for point multipliers and tier thresholds.
Update loyalty settings
Change the points earned per currency unit spent across the entire store.
List pending payouts
Pull a list of all cashback requests awaiting administrator approval.

12 actions · scroll to see them all

Frequently asked questions

Ceven connects to the Piggy API to monitor point changes in real time. When a user earns points through a purchase or a specific action, Piggy sends a signal that Ceven intercepts. The agent then looks up the corresponding user in your connected CRM and updates their loyalty profile. This ensures that your marketing team sees the most current point balance when sending personalized emails. If a point update fails due to a network error, Ceven implements an exponential backoff retry logic to ensure the data eventually reaches your destination system without manual intervention from your team.
Yes. You can build a workflow where Ceven acts as the first line of audit. When a payout request arrives from Piggy, Ceven can check your ecommerce platform to verify the order was not returned and that the customer is not flagged for fraud. If all conditions are met, Ceven calls the payout trigger in Piggy to finalize the transaction. If any red flag is found, the agent can move the request to a manual review queue and notify your finance team via Slack, ensuring that cashback is only paid out on legitimate, completed sales.
Ceven handles multi currency setups by reading the base currency configuration from your Piggy settings. When calculating point earnings for a workflow, the agent converts the transaction value using the exchange rate defined in your store settings before applying the Piggy point multiplier. This prevents discrepancies where users in different regions earn disproportionate rewards. You can set up specific rules in Ceven to apply different point multipliers based on the currency of the transaction, allowing you to maintain margin consistency across different global markets while still rewarding loyalty.
Piggy employs a rate limiting system based on your subscription tier which can lead to 429 errors during high volume events like Black Friday. Ceven manages this by implementing a request queue that smooths out spikes in traffic. If your account hits the hard limit, Ceven will pause non critical updates and prioritize reward redemptions to ensure the customer experience is not impacted. We recommend checking your Piggy plan limits if you expect a massive surge in API calls, as exceeding these limits frequently can result in temporary IP blocks from the Piggy gateway.
Ceven can manage and update existing tiers, but the initial architecture of your loyalty program, such as the number of available tiers, is usually handled within the Piggy dashboard. Once the tiers are defined, Ceven can programmatically move users between those tiers based on complex logic that Piggy cannot handle natively. For example, you could move a user to a VIP tier not just based on spend, but based on a combination of spend, social media engagement, and referral count, which the agent calculates by pulling data from multiple sources.
Ceven uses industry standard encryption for all data in transit and at rest. We connect to Piggy using secure API tokens that are encrypted using AES 256. We do not store your customer passwords or sensitive payment information. The agent only accesses the specific data fields required to execute the workflow, such as email addresses and point balances. All access is logged in a detailed audit trail, so you can see exactly when the agent read or wrote data to Piggy, providing full visibility into how your loyalty data is being manipulated.
While Piggy manages the actual expiration date of the points, Ceven can be used to prevent the churn that happens when points vanish. You can set up a workflow that queries Piggy for users with points expiring in the next fourteen days. Ceven then triggers a reminder email through your marketing tool, encouraging the user to make a purchase to utilize their balance. This proactive approach turns a potential negative experience into a sales opportunity, driving a spike in conversion rates just before the points would have otherwise expired.
Absolutely. Ceven can be configured to perform regular extracts of your Piggy user data and reward history. The agent can pull the full list of users and their current balances, then map that data into a format compatible with BigQuery, Snowflake, or Redshift. This allows your data analysts to run complex LTV reports and cohort analyses that combine loyalty data with other business metrics. You can schedule these syncs to happen daily or hourly, ensuring your business intelligence tools always reflect the current state of your loyalty program.

Alternatives to Piggy

Other tools that solve a similar problem. Ceven supports these too, so you can switch or run more than one at once.

LoyaltyLion logoLoyaltyLionSmile.io logoSmile.ioYotpo logoYotpo

Try Ceven on your stack

Plug Ceven on top of the tools you already run. Connect Piggy and the rest of your stack, describe the outcome, and its agents handle the work end to end, days of it in minutes.

Get started for free