I have an api workflow that pulls in data from SmartSheets to store data in my app’s Bubble database.
All data returned through the api is json text in nested arrays (Sheet - Rows - Cells).
One of my cells is for designating as indoor or outdoor. I set up the database to utilize a predefined option set for this field so that the data is always entered as Indoor or Outdoor and no possible user variations such as outdoor or out door or possible typos.
When I pull this data in from the API I’m having a difficult time saving it to the database with my scheduled API workflow.
Long story short, if cell = X, set database field option to X, if cell = y, set database field to option Y