# Pages - Create a simple points functionality

**URL:** <https://community.glideapps.com/t/pages-create-a-simple-points-functionality/57418>\
**Category:** Ask for Help\
**Created:** [February 2, 2023, 2:45pm UTC](https://community.glideapps.com/t/pages-create-a-simple-points-functionality/57418 "2023-02-02T14:45:43Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alexandru\_Giuseppe\_I](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/alexandru_giuseppe_i/32/40893_2.png) [@Alexandru\_Giuseppe\_I](https://community.glideapps.com/u/Alexandru_Giuseppe_I)\
**Post date:** [February 2, 2023, 2:45pm UTC](https://community.glideapps.com/t/pages-create-a-simple-points-functionality/57418/1 "2023-02-02T14:45:43Z")

</div>

Hi there,  
I’m trying to create a simple “points” functionality. For example:  
If a user adds an item he gets assigned 1 point and then he can use his point to view other items shared by someone else. 1 point per item.

The basic idea is, the more points you have, the more items you can discover.

Can someone guide me a bit on how can I do this? Currently, I have two data tables, one for users, and another one for items.

Here’s the scenario when I have shared 3 items and I’m seeing 3 items and I get a warning saying that I have 0 points available and I have to add more items in order to discover more:

 ![Screenshot 2023-02-02 at 16.45.17](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/4/a/4a4ce6ea846a25e58f638833da9bc91a9be0ab2a.jpeg)

---

<div class="post-metadata">

**Author:** ![glide](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/glide/32/53398_2.png) [@glide](https://community.glideapps.com/u/glide)\
**Post date:** [February 2, 2023, 2:45pm UTC](https://community.glideapps.com/t/pages-create-a-simple-points-functionality/57418/2 "2023-02-02T14:45:50Z")

</div>

_This is an experimental reply from a bot. Please like it if it’s correct._

You can use the Set Column Values action to add points to a user’s account. You can set up a workflow to add points to a user’s account when they add an item. You can also use the Get Column Values action to retrieve the points from a user’s account and use them to view other items. You can learn more about these actions here: [Glide • Set Column Values](https://www.glideapps.com/docs/reference/actions/set-column-values) and here: [https://www.glideapps.com/docs/reference/actions/get-column-values](https://www.glideapps.com/docs/reference/actions/get-column-values).

---

<div class="post-metadata">

**Author:** ![Dilon\_Perera](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/dilon_perera/32/85652_2.png) [@Dilon\_Perera](https://community.glideapps.com/u/Dilon_Perera)\
**Post date:** [February 2, 2023, 3:06pm UTC](https://community.glideapps.com/t/pages-create-a-simple-points-functionality/57418/3 "2023-02-02T15:06:22Z")

</div>

Hi @Alexandru_Giuseppe_I,

So like **Cap** adds a item and he gets 3 points and **Hulk** also adds a item and he also gets 3 points. Then when **Hulk** comes to the discover tab he sees only the others items ( in this case **Cap’s** added item ) and when he click on it to view the item then his points should subtract 1 and then it becomes 2 points and then it opens the detail screen of that item but if **Hulk** click on the **Cap’s** item again then the points should subtract 1 again or not?

Thank you

---

<div class="post-metadata">

**Author:** ![Alexandru\_Giuseppe\_I](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/alexandru_giuseppe_i/32/40893_2.png) [@Alexandru\_Giuseppe\_I](https://community.glideapps.com/u/Alexandru_Giuseppe_I)\
**Post date:** [February 2, 2023, 3:16pm UTC](https://community.glideapps.com/t/pages-create-a-simple-points-functionality/57418/4 "2023-02-02T15:16:15Z")

</div>

You got it perfectly! The only difference is that 1 added items = 1 point not 3  
If Hulk click on the Cap’s item again then the points should not subtract again. Only once!

---

<div class="post-metadata">

**Author:** ![Dilon\_Perera](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/dilon_perera/32/85652_2.png) [@Dilon\_Perera](https://community.glideapps.com/u/Dilon_Perera)\
**Post date:** [February 2, 2023, 4:52pm UTC](https://community.glideapps.com/t/pages-create-a-simple-points-functionality/57418/5 "2023-02-02T16:52:20Z")

</div>

Correct right?

https://player.vimeo.com/video/795296771?h=7ac3adb7bb&app_id=122963

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/system/32/53398_2.png) [@system](https://community.glideapps.com/u/system)\
**Post date:** [February 3, 2023, 4:53pm UTC](https://community.glideapps.com/t/pages-create-a-simple-points-functionality/57418/6 "2023-02-03T16:53:04Z")

</div>

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