visit
The concepts of social distancing, contactless approach and safety first have now become the new normal in our present COVID induced downturn.
We have already started adapting by finding new ways to interact with new technologies or by enhancing the existing ones. One such technology which is already popular and has made a comeback is the QRCode. During this COVID time, QRCode helps in ensuring social distancing and business operations go hand in hand.
QR Codes can easily be scanned from a short distance. QR Codes have a minimum radius of 25 cm (10 in), which then scales up depending on the size of the QR Code.QR Codes are the perfect tool for use cases such as:In this article we will be creating a Kumologica API that will generate and host a QRCode which when read using a QRCode scanner will direct you to a simple floor access form. is a free low-code development tool to build serverless integrations. You can learn more about Kumologica in this or subscribe to our YouTube for the latest videos.
Use case
In this use case an employee approaches the service desk for an access to a floor. The service desk operator checks the employee id and generates a QRCode which is displayed on a screen in front of the service desk operator.The employee needs to scan the QRCode which will direct to the URL for a floor access form which needs to be completed by the employee and submitted to get the clearance.Prerequisite
Kumologica designer installed in your machine.Implementation
Open Kumologica Designer, click the Home button and choose Create New Kumologica Project.
Enter name (for example QRCodeDemo), select directory for project and switch Source into From Existing Flow …
2. Copy and Paste the following3. press Create Button.
You should be seeing two flows as given below on the designer canvas.First flow is for generating the QRCodeIn order to add the QRCode to the flow, go to Add more nodes option on the palette section which will open a page for you to select the nodes of your interest . In this case we will select the QRCode node and click Install. Post installation designer needs to be restarted. Once restarted the first flow will be completed with QRCode node.
QR String : //<<gatewayid>>.xyz.amazon.com/test/access
The URL provided as the QR string is the endpoint URL of the second flow.Note: The second flow endpoint URL can be known only once the flow is deployed to your AWS account. After the first deployment update the QR string in QRCode node with the second endpoint URL and redeploy. This is done because both the QRCode generation API and Access From API are in the same project.
Testing
Invoke the First flow (QRCode generation API) endpoint URL on your browser to see the QRCode displayed.QRCode displayed on the screenConclusion
This article presented how easy Kumologica Designer to build an API to generate and host a QRCode. Remember Kumologica is totally free to and use. Go ahead and give it a try, we would love to hear your feedback.
In the meantime, if there is any specific use case that you would like to see in a future article please let us know in the comments section.