Guys I’m building a pitch generator. Using OpenAI, Davinci. For a free plan I trigger API call on a client-side, store result (text) in a custom state & have text element referring to this custom state.
Everything works just fine.
Now I’m about to push the app to paid plan and I need to move the API call to backend workflows. I can’t figure out how to return the text back to the same page…
- After step 1 of initiating a call in Step 2 I’m using “Return Data from API”. But can’t process what should be the next move… Or how can I trigger a call on the front-end to get this data into a Custom State.
- I’m trying to avoid storing results into the DB… wanna avoid additional delete workflows.