Piggy

Loyalty program management meets conversational AI with 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.

Chosen by 800+ global brands across industries

Loyalty operations powered by conversation

Your AI agent manages Piggy loyalty contacts, verifies member identities, merges duplicates, and extends your customer data model, turning loyalty administration into self-service.

Verify Contact Identity

A loyalty member asks to redeem points but needs to verify their account first. Your agent generates a secure auth token for the contact through Piggy's API, enabling identity verification before any sensitive loyalty operations proceed.

Send Verification Email

New member signs up through chat and needs to confirm their email address. Your agent triggers Piggy's verification email endpoint, sending a confirmation message directly to the customer. Account validation completed inside the conversation flow.

Merge Duplicate Contacts

A customer has two loyalty accounts from different purchases. Your agent merges the source contact into the destination contact through Piggy's API, consolidating their points and history into a single profile. Clean data without manual admin work.

Create Contact Attributes

Your loyalty program needs a new data field like 'preferred store location' or 'birthday month.' The agent creates custom contact attributes in Piggy with the right data type, label, and options, extending your member profiles dynamically.

Authenticate Member Sessions

Before showing a member their points balance or reward options, the agent retrieves an auth token for their contact UUID through Piggy. Secure session management ensures only verified members access sensitive loyalty information.

Manage Custom Data Fields

Your agent creates select, text, or date-type attributes in Piggy with custom options and labels. Build out your loyalty member profiles with the exact fields your business needs, configured through natural conversation with no dashboard navigation.

Piggy

Use Cases

Loyalty program self-service through chat

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.

Account Verification During Reward Redemption

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.

Consolidating Duplicate Loyalty Profiles

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.

Extending Member Profiles for Targeted Campaigns

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.

Try
Piggy

Piggy

FAQs

Frequently Asked Questions

How does the AI agent verify a loyalty member's identity through Piggy?

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.

Is merging contacts in Piggy reversible?

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.

What types of custom attributes can the agent create in Piggy?

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.

Does Tars store Piggy loyalty member data?

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.

Can the agent check a member's current points balance?

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.

How does the base URL configuration work for Piggy?

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.

Can the agent handle multiple loyalty programs in one Piggy account?

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.

How is this different from using Piggy's loyalty widget on my website?

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.

How to add Tools to your AI Agent

Supercharge your AI Agent with Tool Integrations

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

We’ll never let you lose sleep over privacy and security concerns

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

GDPR
ISO
SOC 2
HIPAA

Still scrolling? We both know you're interested.

Let's chat about AI Agents the old-fashioned way. Get a demo tailored to your requirements.

Schedule a Demo