# Piggy

Piggy offers cashback and loyalty program integrations for online stores, letting users earn points or discounts and encouraging repeat purchases

- **Category:** marketing automation
- **Auth:** API_KEY
- **Tools:** 4
- **Triggers:** 0
- **Slug:** `PIGGY`
- **Version:** 20260211_00

## Tools

### Create Contact Attribute

**Slug:** `PIGGY_CREATE_CONTACT_ATTRIBUTE`

Tool to create a custom Contact Attribute. Use when you need to define new fields for contacts after initial setup.

### Get Contact Auth Token

**Slug:** `PIGGY_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.

### Merge Contacts

**Slug:** `PIGGY_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

**Slug:** `PIGGY_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.
