1. Requesting a promo code from the user
Add a Question block where the bot asks the user to enter a promo code.
Save the subscriber’s answer in a user variable (for example, promo_code
).
This variable will be used solely to store promo codes.
2. Restricting repeated promo code generation
It is not possible to check the validity or one-time use of a promo code using the bot alone. However, you can limit repeated generation:
In the block where the subscriber receives a promo code, add a condition:
-
If the subscriber already has a tag (for example,
promo_issued
) → the promo code will no longer be issued. -
If the tag is absent → the bot generates a promo code.
After generating the promo code, assign the subscriber the tag promo_issued
.
3. Maintaining an offline promo code database
To track the validity and usage of codes, you can create a table in Google Sheets. Record the following:
-
The promo code itself
-
Subscriber name/ID
-
Issue date
-
Expiration date
-
Status (used / unused)
-
If necessary – usage channel
This allows you to control which codes have already been issued and keep a usage history.
You can also use the ready-made Promo Code Generator template.
If you haven’t found the answer to your question, ask us in the chat inside your account, write to us in Telegram at @BotHelpSupportBot, or email us at hello@bothelp.io.
Get 14 days of full access to BotHelp — a platform for creating newsletters, automated funnels, and chatbots.