Inserting API results directly into database

I’m calling an api using the server connect api action. I’m able to get results into an on page table, so I know it’s returning values, but how would I insert those results directly into my database?

Hi @dserber,

What I would recommend is after the api action retrieval, create a repeat step and add an insert inside the repeat.

An example can be found here, Conditional Logic with Validate Data another example can be found here, Server Action Unpacking Nested API JSON results

2 Likes

Thanks @scott!
I was able to make it work with the repeat step and insert!