Send automatic unique "key" by email. I'm not creating code

Hi everybody,

First of all, I set up a market system in the application and the things I sell are “Keys”. Can a system be made that automatically sends keys to the e-mail of the person who buys keys from my store?

Keys can be used 1 time and unique keys must be sent sequentially.

Thank you for your time.

Pick some random numbers, letters and marge them - The key is ready. :slightly_smiling_face:

Are you kidding me?
I don’t ask how the key is, please read the topic, I will send it to people who buy the keys that are ready.

There are lots of keys and I have to send them automatically to the purchaser

I do not create the keys, I sell the keys.

So your question is how to know ‘who buy and buy what’, or ‘how to generate a unique key’?

I explained it for the last time, read well, please
Sample:
The things I sell in my grocery store
1-use codes:

$ 10 discount Codes: 1x3, 4fe, 56g 56f,
$ 20 Discount Code: 45f, 67f, 562

Codes ready, they will only be sent to the recipient’s email

For those who purchase a discount code of $ 10:

[email protected] will get 1x3 code

[email protected]
Will get the 4fe code

It will automatically delete 1x3 and 4fe codes and add code manually

It shouldn’t be that hard to explain

Please

Sorry still don’t understand what’s your question.

Here is what I will do.

I believe you have a system to generate codes, using some online databases.
Use this method to send an email to the user:

You can’t guarantee that the email is successfully sent. And none of the service on the world can.

3 Likes

All I want is to send this to the recipient’s email

** but this has to be automatic**

Also, the codes do not belong to me, I cannot create them, I can send pre-generated codes
I will send it.
The codes submitted must be different from each other. Otherwise, it is invalid, a code cannot be used more than once.

I CAN’T CREATE A CODE.

THX

What I can’t do is send everyone a different code

what about deleting the code you just sent or moving it to another list?

choose one of the email solutions
https://puravidaapps.com/sendmail.php

Taifun

1 Like

Please don’t be angry, understand me.
But how can I create this list? I need to change it remotely, so tell me how to create a list and send the code when sending an email.

Thank you.

Example Explanation using Airtable

  1. Create a Column named Alpha1 (Dummy), and store a-z values in it. Example : a, b, c, d, e…

  2. Create another Column named Alpha2 (Dummy), and store A-Z values into it. Example : A, B, C, D, E…

  3. Create another Column named Integer (Dummy), and store numbers into it. For example, you can finish adding max of 100 numbers (1 to 100).

  4. When Screen Initialize, call all these columns & store each column values in a separate list. Example : Store values of Column Alpha1 into a list named List1, Store values of Column Alpha2 into a list named List2 & Store values of Column Integer into a list named List3.

  5. Now, create create two more variables in your app named Old Keys (is an empty list) & New Key (socketed with a blank text block)

  6. For example, when Button1 click we’ll generate a new key each time (with a quick look into our old keys to ensure we get a unique key each time), to do so, use For Each Number block.

  7. {For Each Number <From 1 to 15 (your key length) by 1>
    Do <Set New Key to {Join :
    (Select List Item from List List1, where index is Random Integer from 1 to 26)
    (Select List Item from List List2, where index is Random Integer from 1 to 26)
    (Select List Item from List List3, where index is Random Integer from 1 to 100)

  8. Check if the newly generated Key already is in the Old Keys list. To run the check:

Drag If Contains block from Text section.
Socket Old Keys list into Text section of that block. And New Key list into the Piece section.

  1. If check = true, show alert that user have to generate a key again. If False, Show the New Key to user and allow them to proceeded with further process & add item to list Old Keys, Value is get New Key.

  2. Follow :

I know example blocks could help you much better than this explanation, but I’m unable to do so for now! Sorry for that. :pensive:

2 Likes

Thanks will try

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.