Skip to content
Notis

Weekly Automated Contact Deduplication

Set a schedule and Notis runs a weekly check in Piggy for duplicate contacts and merges them. Your customer database stays clean without you doing anything.

Trigger

Recurring schedule

Notis starts this workflow on a schedule, such as daily, weekly, or during business hours.

Action

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.

Why this helps

Duplicate contacts accumulate over time, fragmenting points and creating confusion. Manual cleanup is tedious and easy to skip.

  • Customer database stays clean on a predictable schedule
  • Prevents points from scattering across duplicate records
  • No manual intervention required

Setup

Build it in a few focused steps.

  • 1Connect Piggy to Notis
  • 2Create an automation named 'Weekly contact deduplication' with this instruction: 'Every week, scan Piggy for duplicate contacts and merge them, consolidating points into the primary record'
  • 3Select the trigger: Notis Cron (recurring schedule)
  • 4Set the schedule to weekly (e.g., every Monday morning)
  • 5Choose a reporting channel where Notis logs how many contacts were merged

Questions about this workflow

How does Notis identify duplicates?

By matching email addresses, phone numbers, and similar names. Notis is conservative to avoid false positives.

What if Notis merges the wrong records?

Notis reports which merges happened. If needed, you can manually unmerge in Piggy (check Piggy docs for that). Most merges are correct.

Can I run this more or less frequently?

Yes. Set it to daily, bi-weekly, or monthly depending on how fast duplicates accumulate in your system.

When this happens · Trigger

Do this · Action

Supported Triggers and Actions

Notis builds workflows that link Telegram to Piggy. A trigger fires from one place; an action lands in another.

Telegram triggers

Piggy actions

New Message Received

Triggered when your bot receives a new message in a private chat, group, or supergroup. To receive every message in a group, Privacy Mode must be disabled for the bot in BotFather.

TriggerInstant

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.

ActionInstant

New Channel Post

Triggered when a new post is published to a channel where your bot is an administrator.

TriggerInstant

Create Contact Attribute

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

ActionInstant

Callback Query Received

Triggered when a user taps an inline keyboard button attached to one of your bot's messages.

TriggerInstant

Create Credit Reception

Tool to create a credit reception for a contact. Use when awarding credits to customers based on purchases or fixed amounts.

ActionInstant

Message Edited

Triggered when a message in a chat your bot can see is edited by its sender.

TriggerInstant

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.

ActionInstant

New Chat Member

Triggered when a new member joins a group or supergroup the bot belongs to, including when the bot itself is added.

TriggerInstant

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.

ActionInstant

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.

ActionInstant

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.

ActionInstant

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.

ActionInstant

Connect any two apps with Notis in the middle.

Not just Telegram and Piggy. Any combination from 1,000+ integrations.

When this happens · Trigger

Do this · Action

Save your first hour today.

7 days free trial with 20$ free usage included.
No card. Works with personal or business Piggy.