Tutorial: build an NFC loyalty rewards program in 10 minutes with interaction templates
Run a loyalty rewards program on NFC tags with the new Kitetags interaction templates: pick the Digital punch card template, set your store code and reward, test a tap in the builder, and stamp your first card.
A paper punch card gets lost, faked, or forgotten in a coat pocket. An NFC tag on a loyalty card keeps count by itself: the customer taps it, a staff member confirms the visit, and the tenth coffee is free.
In this tutorial you’ll build that card from the Digital punch card interaction template. You don’t need to build anything from scratch. You pick the template, change a few values, test it in the builder, and stamp your first card.
You’ll need:
- A Kitetags account (any plan)
- A few NFC Kitetags. Stickers on loyalty cards or key fobs work well.
- A phone with NFC (any recent iPhone or Android)
Step 1: Open the template gallery

In the Kitetags dashboard, go to Interactions → Create Interaction. A window titled What is this tag for? opens. This is the template gallery.
The rail on the left groups templates by purpose: Share with someone, Count visits, Track things and work, and Check a product. If you’d rather build by hand, Start from scratch is pinned at the bottom.
Step 2: Pick “Digital punch card”

Click Count visits, then Use template on the Digital punch card card.
While the card says Setting up…, Kitetags does two things:
- Creates the data structure. It’s called Punch Card and holds what each tag remembers: UID, Callsign, Stamps, Rewards Earned, and Last Stamp. If you already have a Punch Card structure with those fields, it’s reused instead.
- Opens the builder with the flow filled in, as a draft called Punch Card Tap.
The builder saves the draft as you work, but nothing goes live until you publish it and attach it to a group of tags.
Step 3: Read the flow

The step list on the left shows the whole card’s logic:
| Step | Type | What it does |
|---|---|---|
| Add a stamp | Form Input | Asks staff for the store code |
| Check the code | Logic + Data | If the code is right, continue. Otherwise, jump to Ask staff |
| Stamp | Logic + Data | Adds 1 to Stamps and records the time. At 10 stamps, jumps to Redeem |
| Stamp added | Message | “3 of 10 stamps. Your 10th coffee is on us.” |
| Redeem | Logic + Data | Resets Stamps to 0 and adds 1 to Rewards Earned |
| Free coffee! | Message | The reward screen, shown at the counter |
| Ask staff | Message | Shown when the code is wrong. Nothing is added. |
Two details are worth knowing. First, each branch ends on its own message with no button, so a tap never runs into the next branch. Second, the step names in the table are ours. Your builder lists them by number and type: Step 1 Form, Step 2 Logic+Data, and so on.
Step 4: Make it yours

The template uses example values. Change these three before you go live:
The store code. Open the Check the code step (Step 2 Logic+Data).
The decision list reads If storeCode is 2468. Replace 2468 in the
value box with your own code. Tell your staff the code, and keep it off the
counter.
How many stamps earn a reward. Open the Stamp step (Step 3
Logic+Data). The calculations read as sentences: Add 1 to Stamps, then
Copy Timestamp into Last Stamp. Below them, the condition says If
stamps is at least 10. Change 10 to your number.
The wording. Open the Stamp added and Free coffee! messages and edit
the text. Keep {{stamps}} and {{rewardsEarned}} where you want the live
counts. If you changed the reward threshold, change the “of 10” here too.
Use the Design tab to add your logo and colours. The preview on the right updates as you type.
About the store code: the code is part of the step’s settings, so someone who inspects the tap page closely could find it. That’s fine for a free coffee, but don’t use this pattern for anything valuable.
Step 5: Try a tap before you tap

Open the Stamp step and find the Try a tap panel. It runs the same logic as a real tap, using sample values you type in.
- Set Stamps to
9. The result shows Stamps → 10, would be saved on the tag, then The first condition matched and Goes to: 5. Logic+Data, which is the Redeem step. So the tenth stamp unlocks the reward. - Set Stamps to
2. Now it says No condition matched and Goes to: Continue to the next step, which is the Stamp added message. - Open Check the code, enter
1111as the store code, and confirm the tap goes to Ask staff.
Nothing is saved while you try it, so you can test as many cases as you like.
Step 6: Save and put it on your cards

Click Publish to save the interaction. Then connect it to your tags:
- Go to Groups → Create Group and name it something like Loyalty Cards.
- Choose Punch Card as the data structure and Punch Card Tap as the interaction, then save.
- Claim your tags into the group by tapping each one with your phone. Tags you’ve already claimed can be moved into it instead. See the Kitetag Groups guide.
Each tag counts its own stamps, so give every customer a separate card.
Step 7: Stamp the first card

Hand a card to a customer and have them tap it with their phone. The Add a stamp screen opens. A staff member enters the store code and taps Stamp, and the customer sees Stamp added: 1 of 10 stamps.
On the tenth visit the customer sees Free coffee!, and the card starts again from zero.
Step 8: Watch the cards fill up

Open the Loyalty Cards group to see each card’s Stamps, Rewards Earned, and Last Stamp time. To look at all your regulars at once, export the group as CSV.
Where to next
The same gallery has eleven more templates, and they all work the way this one does:
- Attendance tracker counts one visit per member per day and celebrates milestones at 10, 25, and 50 visits.
- Event check-in with capacity shows “Event full” once the room is full.
- Equipment checkout records who has an item. Tap again to return it.
- Room cleaning check-in flags a room as overdue after 4 hours.
Every template opens as a draft you can change, and Try a tap lets you check your changes before any customer sees them. For more about each step type, read the Interaction Builder guide.