Can the New Custom User Interface Feature Handle Dynamic Inputs?

Hey everyone, quick question about the new custom user interface tool in MindStudio:

Can it render dynamic user inputs? I tried setting it up, but I couldn’t get it to work as expected. If it’s not supported yet, I think this would be a really powerful addition — being able to create inputs that adapt dynamically would open up a lot more flexibility.

Is there a way to do this right now, or is it something planned for the future?

1 Like

Hi @Kubi,

That’s not supported yet, but I really appreciate you sharing the idea!

Not sure if this is what Kubi was asking, but Alex shared this idea with me elsewhere:

It’s not yet possible to dynamically update Data Sources, but a simple workaround is to save the user’s answers to a global variable and reference that variable in the System Prompt of the workflow. That way, the model in the Chat block always has the latest information.

Another option is to use Dynamic Tools in the Chat block. This lets the llm run a separate workflow to store important details in a global variable, Airtable, or any other tool.

Here’s a video that walks through Dynamic Tools:
https://www.linkedin.com/posts/sean-thielen-10691268_today-we-released-a-huge-update-to-dynamic-ugcPost-7353581747210444803-YdTf/

And a small sample Agent:
https://app.mindstudio.ai/agents/color-memorizer-2288e3b7/remix

Updating since this has since changed: Custom user interfaces have access to all other variables present when they’re running, so if you want to use data from other variables in a custom interface that is absolutely possible now. You just need to tell the interface designer what the name of the variable is and what its values look like. For example, if you had a variable called “options” and it was a string array like [“Option 1”, “Option 2”, …], you could tell the interface designer “Please use the options variable as the source for the dropdown” or something similar.

2 Likes