I just don't get why I can't get some data into user data

I’m a newbie, so maybe I am not quite getting how this works conceptually. Here goes:

So, here is the set up:

First I simply want to press the blue “enter” button and have the address in the “Main Wallet Address” input field go into a field in the users type.

So a user is set up like this:

And the wallet type is set up like this:

So when I press the blue “enter” button, I do a workflow that looks like this:

I am trying to take the text in the Main wallet address input field from below, put it into the Main Address field of the Wallet field of the Current User. Then the yellow text should just display that. But looking at the data, I dont see the value getting into the user wallet.

Hi @hirscr :slight_smile: Your workflows look correct! My guess is that the Wallet Thing hasn’t been created yet and assigned to the Current User? For example, if the Current User’s Wallet field is empty, that action won’t save any data because a Wallet Thing has not yet been created.

I guess that I imagined that when a user is created, the users corresponding wallet thing and masternode thing would get created with it since they are fields in the user thing. If this does nt happen I am unsure of how to create those things and assign one to the user

Maybe provide a link to your app?

not sure how

OK, so when the user is logged in and a wallet doesn’t exist, I add a wallet. Is this what you meant?

@hirscr My apologies for not being specific before. That workflow is definitely the right idea! :slight_smile:

Do all Users have a Wallet? If so, it may be best to create this when a User signs up. For example, after the “Sign a User Up” workflow, you would have 2 actions:

The first action would need to create a Wallet Thing (as you did in your screenshot):

And the second action would be a “Make Changes to a Thing” action (Thing to Change: Current User), and change the value of the Current User’s Wallet field, to the Wallet that was just created in the first action (using…“Result of Step 3”.)

This way, every User will have a Wallet after signing up, and you can use the “Make Changes to a Wallet” (Thing to Change: Current User’s Wallet) action as you did in your original post:

That should work! :slight_smile:

With help, this is exactly what I got to! Thank you! Now I am having other similar problems. But those are for another post

1 Like

No problem at all! :slight_smile: I had a lot of similar issues in the beginning too, but things will definitely get easier and make much more sense!