I'm trying to send dynamic LoggedInUser data inside a Custom Action JSON body, but Magic Text doesn't work and shows 'Nothing Available

Hi everyone, I need help with a problem I’m having inside a Custom Action.

I’m trying to send dynamic user data to an external API (OpenAI) using a POST request in a Custom Action. I want to include fields like {{LoggedInUser.birthday}}, {{LoggedInUser.gender}}, and {{LoggedInUser.interestedTopics}} inside the JSON “content” body.

But when I try to insert these using the Magic Text button, I get “Nothing Available.”
Even when I type them manually as {{LoggedInUser.xxx}}, they don’t get parsed — they are sent as plain text.

Interestingly, the Inputs I created inside the Custom Action do appear in the Magic Text menu — but none of the LoggedInUser fields show up.

Here’s what I’ve already done:

  • The Custom Action is connected to a button, not run on screen load
  • The user is logged in and their data is available in the database
  • I also tried adding outputs in Step 3 — still “Nothing Available”
  • I’m using Professional plan, with all API keys and headers set correctly
  • I tried to create Inputs to inside the custom action. They

You may find some screen shots below:


Has anyone else experienced this? Is there a reliable workaround to get dynamic values into the JSON body?

Thanks in advance! :folded_hands:

Please refer to this Adalo Help Doc | Custom Actions to better understand how to pull in dynamic data using MagicText form Adalo Collections.

-Jessi

1 Like

Hello, try this way, that’s how I always configure emails, etc., etc. You must enter the variables in the action configuration where it says input… then there you put Age, name, etc… then in Jason you must put the variable inputs… when you connect with Adalo where you want the action to be executed, there you put with magic text what goes in each input

Thank you so much! Your explanation made everything clear and the solution worked perfectly. I really appreciate your help! :folded_hands:

1 Like

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