
Piggy
Your customers ask about their loyalty points, want to verify their account, or need help merging duplicate profiles. Your AI agent handles all of it through Piggy's API, managing contacts, sending verification emails, and keeping your loyalty data clean, all within a single chat.




Your AI agent manages Piggy loyalty contacts, verifies member identities, merges duplicates, and extends your customer data model, turning loyalty administration into self-service.
Piggy
See how online stores use Piggy through their AI agent to let customers manage their loyalty accounts, verify identities, and resolve data issues without contacting support staff.
A loyalty member wants to redeem their accumulated points for a discount code. Your AI Agent asks for their email, triggers Piggy's verification email, and waits for confirmation. Once verified, the agent retrieves their auth token and proceeds with the redemption flow. The member earns their reward without a support call. Your team processes zero manual verification requests.
A customer realizes they have two Piggy loyalty accounts, one from in-store purchases and another from online orders. They ask the AI agent to combine them. The agent identifies both contact UUIDs, merges the source into the destination, and confirms the points and history are unified. The customer sees their full loyalty balance in one account. No admin panel needed.
Your marketing team wants to segment loyalty members by preferred product category. The AI agent creates a new 'preferred category' select attribute in Piggy with options like 'electronics,' 'clothing,' and 'home goods.' Future conversations with members capture this preference automatically. Your next email campaign targets the right segment because the data was collected conversationally, not through a separate survey.

Piggy
FAQs
The agent uses two mechanisms. First, it can send a verification email to the member's registered address through Piggy's Send Contact Verification Email endpoint. Second, it can generate an auth token for a contact UUID using the Get Contact Auth Token endpoint. These tokens enable secure operations like viewing balances or redeeming rewards.
No. Contact merges in Piggy are permanent and irreversible. The source contact is deleted after merging into the destination. The agent confirms both contact UUIDs and asks for user confirmation before executing the merge. All points, transaction history, and attributes from the source transfer to the destination contact.
The agent supports creating text, select, multi-select, date_time, and other data types. For select and multi-select fields, you can define options with labels and values. This allows you to extend member profiles with fields like 'favorite store,' 'membership tier,' or 'communication preference' through a simple conversation.
No. Tars interacts with Piggy's API in real-time during conversations. Member contact information, points balances, and transaction histories remain in your Piggy account. The agent reads and writes data through the API but does not maintain a separate copy of your loyalty database.
The current integration focuses on contact management operations: verification, merging, and attribute creation. Points balance lookups and reward redemptions are handled through Piggy's broader loyalty API. Configure additional Piggy endpoints in your Tars setup to extend the agent's capabilities to balance inquiries and redemptions.
Piggy requires both an API key and a base URL because different accounts may use different API endpoints depending on their region or plan. Enter your specific base URL from your Piggy account settings along with your API key in the Tars dashboard. The agent sends all requests to your configured base URL.
Yes. Piggy supports multiple programs within a single account. The agent can manage contacts and attributes across your different loyalty programs. When creating attributes or merging contacts, the operations apply within the context of the connected Piggy account and its configured programs.
Piggy's widget lets customers view their points and rewards. Tars adds conversational intelligence on top. Customers can ask questions in natural language, get help with account issues, merge duplicate profiles, and complete verification flows, all within a guided conversation. The agent handles edge cases that a static widget cannot address.
Don't limit your AI Agent to basic conversations. Watch how to configure and add powerful tools making your agent smarter and more functional.

Privacy & Security
At Tars, we take privacy and security very seriously. We are compliant with GDPR, ISO, SOC 2, and HIPAA.