Using Ionic Toggle and Button Together In Workflow

Hi,

I am fairly new to bubble and am stuck.

Basically, I am creating a process where the user can select one or multiple options and depending on those options (toggles) the OpenAI API will run a different instruction and the output will be different.

I managed had everything working until I started adding multiple workflows and toggle buttons. Now the output either only uses one workflow or doesn’t work. I have also created a custom workflow from the toggle but that causes the API to run as soon as it’s toggled which I don’t want.

What do I need to add to the workflow to get the API part to take into consideration the input of the toggle? (the instructions inside the API are custom to account for the changes).

so it would be Toggle > Button Click Generate > API Call > Text Output

Thanks for the help


This topic was automatically closed after 70 days. New replies are no longer allowed.