Skip to content
Notis

Secure Identity Verification From Telegram

Customer says 'I need to access my loyalty account.' Tap a button and Notis issues an auth token so they can enter Piggy securely. No manual verification steps.

Trigger

Callback Query Received

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

Action

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.

Why this helps

Identity verification is confusing when split across channels, and customers often get stuck without clear access paths.

  • Streamlines customer access to loyalty portal
  • Reduces support requests for access issues
  • Maintains security with automated verification

Setup

Build it in a few focused steps.

  • 1Connect Telegram and Piggy to Notis, ensuring your Piggy Contacts Portal is configured
  • 2Create an automation named 'Issue portal access tokens' with this instruction: 'When a customer requests portal access or taps a verification button, generate an auth token in Piggy to let them enter securely'
  • 3Select the trigger: Callback Query Received in Telegram
  • 4Add a 'Get Portal Access' button to your messages
  • 5Test by tapping the button and verifying a token is issued

Questions about this workflow

How long are the auth tokens valid?

Token expiration depends on your Piggy settings. Typically, tokens last until the customer verifies their email or for 24 hours, whichever comes first.

Can I issue tokens for other users (like customer support on behalf of someone)?

For security, Notis will issue tokens only for the person requesting access. You'd need a separate admin workflow to issue on behalf of others.

What if verification fails?

Notis will explain the issue and guide the customer on next steps, like confirming their email is correct.

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.