How to dynamically adapt the form associated with a QR code based on context

How to dynamically adapt the form associated with a QR code based on context

Ubiqod lets you create, in just a few clicks and without any code, a QR code linked to a web app for check-ins, checklists, feedback, or on-site visit tracking.

Using the Ubiqod API and the Ubiqod apps for Zapier, Make, or Power Automate, you can go further by dynamically changing the content of the page linked to the QR code based on the context, for example depending on the time of day or the result of a previous action.

In this article, we will show you how to do this using the Make app. More advanced users can implement the same logic directly with the API. The API documentation is available at:
https://api.ubiqod.com

Prerequisites

In order to follow this tutorial, you must:
  1. Have a Make account
  2. Have a Ubiqod account
If you are not familiar with Make, you can follow this video course for beginners.

What we want to achieve?

For demonstration purposes, we will create a simple scenario in which we switch between 3 different forms each time a user submit an input. You can see it in action on the hompage of the Ubiqod Website.

Create 3 different interfaces

Create three form-type interfaces in Ubiqod. For example, one interface for check-ins, one for customer feedback, and one for task validation.

Note the IDs of these interfaces. They appear in your browser’s URL bar and look like this:
f55bd8f3-aaaa-bbbb-cccc-23f68dd8395b


Implement the Make scenario

Add a Ubiqod Trigger

Create a new Make scenario and click on the big + button. Search for Ubiqod, select “Ubiqod by Taqt”, and add a trigger “Receive Data From Trackers”:



Click the “Add” button in front of the Webhook selection box. Click the “Add” button to create a connection to Ubiqod. You should see this screen:



You can find your Ubiqod Account’s API Key in the Account section of your Ubiqod interface.

Paste a valid API Key it to Make. Press Save.


Fill in the Webhook name field and click Save. This will automatically create a webhook dispatch in Ubiqod to send data to Make. 

Your scenario can now receive data from Ubiqod. You can save it before proceeding. Remember to associate trackers with this dispatch to trigger the scenario.

Add the logic

Create an array variable with a Set variable tool that will contain the IDs of the three interfaces created in Ubiqod:

Add an Increment function (this will create a variable that increments each time the scenario runs):

Set a new varible that will use a mod function (this will return 0/1/2 depending on the increment value):

Use the Update a tracker action to change the interface associated with the tracker dynamically:

You can now activate your scenario, assign a QR code tracker to any interface to start with (and also to the Make dispatch associated with this scenario), and test how it works.

    Try Ubiqod

    Get 100 free credits to start building with Ubiqod: sign up here

      • Related Articles

      • How to link a Microsoft Form to a Ubiqod Dynamic QR Code

        Using Microsoft Forms with Ubiqod Dynamic QR Codes allows you to collect data from multiple locations using a single form. By leveraging dynamic parameters, you can identify where each form submission comes from—without duplicating your form. This ...
      • Dynamic QR codes: Redirections

        What is a dynamic QR code? A dynamic QR code allows users to access content that can be changed without the need to modify the QR code itself. This type of QR code is especially useful for marketing and informational purposes where the underlying ...
      • Why are duplicated QR code trackers inactive by default?

        When you duplicate a QR code tracker from the Ubiqod platform, the new trackers are automatically set as inactive. This behavior is intentional and ensures that no credits are consumed before the trackers are effectively put into service. Purpose of ...
      • How Does Geolocation Work with QR codes?

        Geolocation in Ubiqod Forms Integrated forms in Ubiqod come with a geolocation option. When activated, the user is prompted to authorize geolocation. Their current position at the time of submission is then transmitted along with the submitted form ...
      • Advanced Service Request Management With QR Code (Zoho Forms)

        The Ubiqod platform provides ready-to-use features for creating an on-demand service system using QR codes or NFC tags, whether for dozens or thousands of locations. In certain cases, more complex forms are required, such as for managing catering, ...