We are preparing a series of how to set up different features using Abracadalo APIs, our first video will be available very soon and will be about verification codes.
In the meantime, below you can find a quick explanation about how to set up verification code via sms and email.
Create the custom action for Random API ( you can watch our tutorial « Creating an API Request »
Create the custom action for the Notifications API (you can watch our tutorial «[Notification API](Notification API Tutorial Notification API Tutorial - YouTube) »
3.1. Go to the Abracadalo Dashboard under Email template and create your verification email template
In the custom action of the Notification API under the input of the « verification code » variable select as magic text the results of the Random API
Add to the screen a text box
Add a link action and update logged in user action (in order to switch to true the boolean « Verified user?)
Set the conditions in order to trigger the last 2 actions if the « text box field » = the result of the Random API ( you can also save the results of the random api in the user collection)
We hope that this will help you achieve your goal with ease!
If you have any questions do not hesitate to contact us!
That’s exactly the one. I have used it and it works just fine.
I did make some modifications to it to fit my needs. For example, the “type”: I changed it to “text/html”. That way, in “value” I can have actual HTML to customise the email body to my liking.
Hi ali,
I just followed the tutorial yesterday. I used mailgun instead of sendgrid because I already paid for it. It works just fine and was easy to use as smtp services go. I am able to send code and receive it in email. The problem for is that the visibility is working backward on the verify page. I get to the page and the verify button is there as if the code was enter but the input field is empty. If enter the code the button goes away, Any ideas here? It feels l like that even thought code is getting sent to email it is not getting to where it can be verified therefore it is sending empty which would make the true from the visibility activate therefore exposing the button. Am I on the right track? if so what am I missing?
Regarding your concern about the code not being verified even though it’s sent to the email, it might be helpful to check the backend integration where the code is being compared. Double-check the logic that handles the verification process—it should compare the user-entered code with the one sent via email accurately. If you haven’t already, you might want to consider using an email checker tool like Bulk Email Checker bulkemailchecker.com to ensure that your email addresses are valid and properly formatted. It could help streamline your verification process by confirming that emails are deliverable before sending out codes.