How to create object in server action?

I need an object like this:

"": {"ref_id":"999"}

Where the email and the ref_id values are variables.

So I have successfully created this object with this set value:


But my issues come when trying to place my variables:

I feel like this is much harder than it should be. Hopefully I’m missing something.
Please help :slight_smile:

Community Page
Last updated: