Output of API call not getting saved in the database

Hi Bubble-experts,

I had been trying to save the output of API call into the database, but somehow it is not getting saved. Here’s the step that I am following -

  1. I created a simple button on UI which would initiate a API call
  2. Once I click on that button, I am expecting a workflow to get invoked and does the following-
    A- Call the API
    B- Take the value for one of the parameter in the API
    C - Run the API
    D - Save the output of a API call in a database.
    Attaching the screenshot of the UI, workflow & Debugger output








    for the understanding purpose.