Adding Information Under an Account

Hey everyone!

Okay, I’m developing an app that allows you to add information to a “notes” tab, and under your account you can access those notes. You won’t have any notes, until you click the “add to notes” button. I have the button, I have the tab, and I have the account stuff setup.

But how do I plug it all together?

We would need more details. What is “the account stuff”?

Sure thing!

I created a login page that connects to Firebase and a google datasheet. The data sheet is for keeping everything organized… its alot of information.

Anyway you can make an account, and login to the app. I knew that needed to be made first so the app could add notes to a specific account. When you login, you should have your found notes.

An issue I’m having right now, how do I get Thunkable to detect that something already exists in the data?

So when a user clicks “add to notes” it adds to the database. When they search up that information again I want an error to pop up saying “already discovered”.

That would mean it needs to read the data, and see if their account already has that information correct?

Lastly, I have a notes tab that lists the data when you find it. But how do I set that up for a seperate account? Right now the “Notes Tab” lists the information for two accounts.

If you’re using a Google Sheet to store user data then each row needs to be for a unique user. If you’re using a Firebase realtime database then each user is in something like users/[user id].

Depending on what your data looks like (I have no idea because I can’t see it…), you may need to search/loop through the values in different ways.

So I’m kinda using both google sheets and Firebase.
I do have a row for each user. I can screenshot and show you?