Hi - I am new to Bubble, and looking to build a movie app. Right now, I am using data from TMDB’s API to generate a list of popular movies. However, I want to take the ID generated by this first API and then feed it into another TMDB API to generate additional info that isn’t called by the first API.
Is someone able to help give advice on how to make this happen, or steer me towards a helpful resource? Many thanks in advance!
The API calls should be setup as Actions. The first action you run in the workflow is the first API call you want to run, then the second action is the second API call you want to run. When you run the second API call you can use ‘result of previous step’ and reference whatever step the first API call was in your series of actions. With that dynamic expression of ‘result of previous step’ you will then have access in the expression to reference the data fields from the first API call that you need to populate for the second API call.
Thank you so much for the reply! Are you or someone else able to help me figure out how to set this up in workflow using the element actions?
For instance, right now, I have it as: When page is loaded, Step 1. Display list in Repeating Group Movie (in order to fill out some basic info for a list of popular movies in a repeating group)
However, I’m not seeing an option to use “result of previous step” when I go to Step 2.
To add a little more context, the first API generate a film ID which I want to use to call more info in a second/separate API
Sure, you can book a paid training session with me via the Bubble coaching marketplace.