WEB API's or ChatGPT Actions

Hello,
I've been trying to learn how to create an API to OpenAI's API to generate some content based on the fields in a row. Its real estate based so i have columns like {city} and {state} and {price} etc.

Im stumped on how to send an API request using those fields as api params then recceiving the response and moving on to the next row. So each row is one request using fields as parameters. is there any way to do this or am i just missing something obvious?

ANy help would be awesome!
Thanks David R.

Hi David and welcome to the Community!

EasyMorph has a mechanism of iterations - when an operation goes across a table and uses data from that table row by row.

There is a generic mechanism of iterations, described in our tutorial: EasyMorph | Loops and iterations

Also, in case of web requests, there is the special action "Iterate web request" that allows sending a series of web-requests pre-configured with values from the rows of a table, which is similar to your case.

Also, you may not need to deal with OpenAI's API at all, as EasyMorph has the "Ask ChatGPT" action that you can use with the generic mechanism of iterations mentioned above.

If you need further assistance, keep posting more questions in this thread.