DashboardSign inStart your trial

Piggy

Reference

14 actions for Piggy workflows.

01. Operations

Act on Piggy from a workflow

Operations are the actions a workflow can take in Piggy, grouped by category. Each lists its method, parameters, and a template you can drop it into.

Authentication

1 operation

Obtain secure access tokens for authenticated API requests within your Piggy integration workflows. This enables your automation to safely interact with protected endpoints and maintain session security.

Action

Get Contact Auth Token

PIGGY_GET_CONTACT_AUTH_TOKEN

Retrieves a secure authentication token for a specific contact, enabling you to verify their identity and perform protected operations on their behalf.

1 input

Bookings

1 operation

Manage and modify customer booking records to reflect changes in reservations or appointments. Use this when your workflow needs to update booking details in response to customer actions or system events.

Action

Update Bookings

PIGGY_UPDATE_BOOKINGS

Modify the details of an existing booking in Piggy, including party size, status, and company name. Use this when you need to adjust reservation information after the booking has been created.

10 input

Contacts

5 operations

Handle customer identity and profile management across your integration workflows. These operations let you verify contacts, merge duplicate profiles, manage identifiers, and build out custom attributes to enrich customer data.

Action★ Featured

Update Contact Identifiers

PIGGY_UPDATE_CONTACT_IDENTIFIERS

Modify how a contact identifier appears in your system by updating its display name or toggling its active status, without changing the underlying identifier value itself.

3 input
Action

Claim Anonymous Contact

PIGGY_CLAIM_ANONYMOUS_CONTACT

Convert anonymous contacts into verified customer records by associating them with real email addresses, enabling you to follow up with and nurture actual leads.

2 input
Action

Create Contact Attribute

PIGGY_CREATE_CONTACT_ATTRIBUTE

Allows you to create custom fields for your contacts to capture information specific to your business needs beyond standard contact data.

5 input
Action

Merge Contacts

PIGGY_MERGE_CONTACTS

Consolidates duplicate customer records by merging a source contact into a destination contact, transferring all associated data like attributes, balances, and transaction history while removing the source record.

2 input
Action

Send Contact Verification Email

PIGGY_SEND_CONTACT_VERIFICATION_EMAIL

Sends a verification email to a contact in Piggy to confirm their identity and grant them access to your Contacts Portal. Use this to secure your customer communications and ensure only verified contacts can access sensitive information.

1 input

Credits

2 operations

Track and manage customer credit balances and transactions within your loyalty or rewards system. Use these operations to monitor account balances and record credit receipts from customer activities or purchases.

Action★ Featured

Get Contact's Credit Balance

PIGGY_GET_CONTACTS_CREDIT_BALANCE

Check how much credit a contact currently has available in your system. This helps you determine eligibility for rewards, discounts, or other credit-based offers before processing transactions.

1 input
Action

Create Credit Reception

PIGGY_CREATE_CREDIT_RECEPTION

Award credits to your customers based on purchases or fixed amounts, helping you build loyalty and encourage repeat business.

4 input

Forms

1 operation

Retrieve available forms configured in your Piggy workspace for use in automation workflows. This helps you reference form definitions when building integrations that need to interact with customer-facing data collection.

Action

List Forms

PIGGY_LIST_FORMS

Retrieve all forms available in your Piggy account to see what customer interaction tools you have set up. Use this when you need to find specific forms or audit your existing form collection.

Perks

1 operation

Access the list of perks or rewards available in your Piggy loyalty program. Use this to reference reward offerings in your automation workflows or present them to customers.

Action

List Perks

PIGGY_LIST_PERKS

Retrieve all available perks that can be offered to your customers or associated with their transactions and profiles. This helps you understand what rewards and incentives are available to engage and retain customers.

Products

1 operation

Locate existing products or create new ones in your system to ensure accurate catalog synchronization. This operation is essential when your workflow needs to match or register products across platforms.

Action★ Featured

Find or Create Products

PIGGY_FIND_OR_CREATE_PRODUCTS

Automatically finds an existing product in your Piggy loyalty system by its external identifier, or creates it if it doesn't exist, ensuring your product catalog stays synchronized for rewards and loyalty programs.

4 input

Vouchers

2 operations

Generate and retrieve promotional voucher codes for distribution in your automation workflows. These operations support bulk voucher creation and code lookup to power discounting and promotional campaigns.

Action★ Featured

Create Vouchers Batch

PIGGY_CREATE_VOUCHERS_BATCH

Generate multiple vouchers simultaneously for a promotional campaign, with batch processing handled asynchronously to save time versus creating them individually.

6 input
Action

Find Voucher By Code

PIGGY_FIND_VOUCHER_BY_CODE

Retrieve detailed information about a specific voucher using its code, including redemption status and validity. Useful for validating voucher codes and checking their current availability before processing transactions.

1 input
What now

Use Piggy in a workflow

Drop a trigger and an action into a template; approve from your phone; the workflow runs.