Piggy
marketing automation 14 tools availablePiggy offers cashback and loyalty program integrations for online stores, letting users earn points or discounts and encouraging repeat purchases
About this integration
Connect Piggy to Definable to build sequences, sync segments, roll up daily campaign performance. Personas call Piggy's 14 tools directly from chat or scheduled flows. Connect it to a marketing persona to plan campaigns, score leads, and send personalised follow-ups.
Connect Piggy to Definable and it becomes a set of typed tools your agents plan with — triggered by events, run on schedules, or invoked mid-conversation. Every write is checked by the verifier before it lands.
Piggy · in workflows
What teams actually run.
Three patterns teams run with Piggy on day one. Each one is a plain-English prompt — no canvas, no glue code — and you can remix them into anything.
Daily campaign roll-up
Segment refresh
14 tools available
The Piggy toolbox.
Every Piggy capability your agents can call, each with a typed schema the planner reads. The router picks the right tool per step; the verifier checks the result.
Claim Anonymous Contact Tool to claim an anonymous contact by associating it with a real email address. Use when converting an anonymous contact (with a fictional email) into a verified contact with a real email address.
Create Contact Attribute Tool to create a custom Contact Attribute. Use when you need to define new fields for contacts after initial setup.
Create Credit Reception Tool to create a credit reception for a contact. Use when awarding credits to customers based on purchases or fixed amounts.
Create Vouchers Batch Tool to create a batch of vouchers for a promotion. Use when you need to generate multiple vouchers at once for a specific promotion. Batch processing is asynchronous and returns a PENDING status initially.
Find or Create Products Tool to find an existing product by external_identifier or create a new one if it doesn't exist. Use when you need to ensure a product exists in Piggy's system for loyalty programs or rewards.
Find Voucher By Code Tool to find a voucher by its unique code. Use when you need to retrieve voucher details, check redemption status, or validate a voucher code.
Get Contact Auth Token Tool to get an auth token for a Contact. Use after obtaining a Contact UUID and needing to verify identity for secure operations.
Get Contact's Credit Balance Tool to get a Contact's credit balance. Use when you need to check a contact's current credit balance before processing rewards or promotions.
List Forms Tool to list all forms in the Piggy account. Use when you need to retrieve available forms for customer interactions.
List Perks Tool to list all available perks in Piggy. Use when you need to retrieve the catalog of perks that can be associated with contacts or transactions.
Merge Contacts Merges a source contact into a destination contact in Piggy's CRM. The source contact's data (attributes, balances, transactions) is transferred to the destination contact, and the source contact is removed. This operation is irreversible and processed asynchronously via a job queue. Use this when consolidating duplicate customer records.
Send Contact Verification Email Send a verification email to a Piggy contact for identity verification. The contact must exist in the system with a configured Contacts Portal. Returns success message with email sent confirmation. Use this when implementing email-based authentication workflows or when contacts need to verify their email address to access the Contacts Portal.
Update Bookings Tool to update an existing booking in Piggy. Use when you need to modify booking details such as party size, status, or company name. Note: Shop and contact cannot be updated after creation.
Update Contact Identifiers Tool to update a contact identifier in Piggy. Use when you need to modify the display name or active state of an existing contact identifier. Only the name and active properties can be updated; the identifier value itself cannot be changed.
See it run
One prompt, start to finish.
A real prompt, the Piggy tools it calls, and what comes back. This is the whole interface — describe the outcome, agents handle the rest.
Run a real Piggy task end-to-end — plan it, execute across the API, and hand back a verified result.
piggy.claim_anonymous_contact Tool to claim an anonymous contact by associating it with a real email address. Use when c piggy.create_contact_attribute Tool to create a custom Contact Attribute. Use when you need to define new fields for cont piggy.create_credit_reception Tool to create a credit reception for a contact. Use when awarding credits to customers ba · verified Done. Piggy responded across 3 calls, the verifier signed off, and the result is logged with every payload.
FAQ · Piggy
Questions, answered.
What teams ask before connecting Piggy.
01 What can I automate with Piggy on Definable?
Anything Piggy exposes through its API. Common marketing automation workflows on Definable include build sequences, sync segments, roll up daily campaign performance. Personas can call any of the 14 Piggy tools directly, then chain the result into another integration without you writing code.
02 How does Piggy authentication work?
Piggy uses API_KEY on Definable. You connect once from the integrations page, scoped to the permissions you choose, and from then on any persona that has the integration enabled can act on your behalf. Tokens are encrypted at rest and rotated automatically.
03 Is the Piggy integration included in my Definable plan?
Yes — every Definable plan, including Starter, includes access to all 14 Piggy tools. You only need a separate Piggy subscription if Piggy itself charges per seat or per API call.
04 Is using Piggy through Definable secure?
Every call from a persona to Piggy is logged with the user, persona, prompt, and response. Tokens never leave Definable's secrets vault, scopes are configurable per persona, and you can revoke access at any time from the integration page.
05 How do I get started with Piggy on Definable?
Sign up for Definable, open the integrations page, find Piggy, and connect via OAuth or API key. You can immediately attach Piggy to any persona and start running workflows. The free Starter plan includes 5,000 credits/month.
06 What Piggy actions does Definable expose?
Definable exposes all 14 Piggy actions as callable tools — including `Claim Anonymous Contact`, `Create Contact Attribute`, `Create Credit Reception`, plus 11 more. Each tool gets a typed parameter schema so personas know exactly how to call it.
Put Piggy to work tonight.
Connect in two clicks, describe an outcome, and your first workflow is live in minutes. Free plan included — no card required.