Referencing dynamic content in a data type's field

Hello Bubblers!

First post here… so be kind please :smiley:

I am building an AI app where the user fills in an input field, presses a button and a prompt is triggered to create certain type of content. The prompt for each page will be stored in a field in the data type’s field, but for the AI response to be relevant, my static prompt stored in the databse needs to reference the dynamic value of the input field on the page.

Ex prompt can read “Write copy for an email based on the input given by the user in <current data type´s page input>”.

Hope that makes sense, thanks for the help!

Welcome to the forum :blush:

In Bubble with text fields you can switch between dynamic and static values like
(manually typed) “Write copy for an email based on the input given by the user (followed by a space)” then insert dynamic data after and reference the input’s value.

Maybe that is that what you are looking for?

1 Like