Skip to content
Notis

Auto-Tag New Members for Segmented Loyalty Campaigns

New members join your Telegram group. Notis automatically tags them in Piggy with the join date or source. Now you can segment campaigns by membership cohort without manual work.

Trigger

New Chat Member

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

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

Without structured tagging, founders lose track of when customers joined and can't segment loyalty campaigns or identify inactive cohorts.

  • Automatically segments customers by join date without manual effort
  • Enables cohort-based loyalty campaigns
  • Tracks membership duration for tiered rewards

Setup

Build it in a few focused steps.

  • 1Ensure your Telegram bot has Privacy Mode disabled in BotFather
  • 2Connect Telegram and Piggy to Notis
  • 3Create an automation named 'Tag new members with join info' with this instruction: 'When a new member joins the group, create a contact attribute marking their join date and source as group_member'
  • 4Select the trigger: New Chat Member in Telegram
  • 5Test by having someone join and verifying the tag appears in Piggy

Questions about this workflow

What attributes should I use for tagging?

Common options are: join_date, source, membership_cohort, or group_name. Specify what works for your Piggy setup in the automation instruction.

Can I tag based on who referred them?

If referral info is in the join message or context, yes. Otherwise, Notis will use the bot's default info.

Can I apply different tags to different groups?

Yes. Create separate automations for each group with different tag names, like 'vip_group_member' or 'beta_group_member'.

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.