Auto-Tag Customers From External Data
Your CRM or support tool sends customer data via webhook. Notis automatically creates tags in Piggy based on that data. Your loyalty system stays in sync with everything else.
Trigger
Webhook received
Notis starts this workflow when an external tool or custom backend sends an HTTP request.
Action
Create Contact Attribute
Tool to create a custom Contact Attribute. Use when you need to define new fields for contacts after initial setup.
Why this helps
Customer data lives in multiple systems and doesn't sync, making loyalty segmentation impossible without manual work.
- Customer data from external systems automatically tags in Piggy
- Enables segmented loyalty campaigns without manual effort
- Keeps loyalty system in sync with other platforms
Setup
Build it in a few focused steps.
- 1Connect Piggy to Notis
- 2Create an automation named 'Tag customers from external data' with this instruction: 'When an external system sends customer data via webhook, create or update contact attributes in Piggy based on that data'
- 3Select the trigger: Notis Webhook
- 4Notis will provide you a webhook URL to configure in your external system
- 5Send a test payload from your external tool to confirm the automation works
Questions about this workflow
What format should the webhook data be in?
JSON is standard. Include customer identifier (email or ID) and the attributes to tag, like {"email": "user@example.com", "segment": "vip", "source": "crm"}.
Can I map webhook fields to Piggy attributes automatically?
Yes. In your automation instruction, specify the mapping like 'customer_type in the webhook becomes loyalty_tier in Piggy.'
What if a customer doesn't exist in Piggy yet?
Notis can create a new contact or skip if they don't exist (your choice in the instruction).
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.
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.
New Channel Post
Triggered when a new post is published to a channel where your bot is an administrator.
Create Contact Attribute
Tool to create a custom Contact Attribute. Use when you need to define new fields for contacts after initial setup.
Callback Query Received
Triggered when a user taps an inline keyboard button attached to one of your bot's messages.
Create Credit Reception
Tool to create a credit reception for a contact. Use when awarding credits to customers based on purchases or fixed amounts.
Message Edited
Triggered when a message in a chat your bot can see is edited by its sender.
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.
New Chat Member
Triggered when a new member joins a group or supergroup the bot belongs to, including when the bot itself is added.
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.
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.
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.
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.
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.