Best Way to Pull News Data From API & Summarize Using OpenAI?

What is the best way to use a news API, pull data from it, summarize the news article, and send that into a Google Sheets document?

I've been working with Google Sheets and Google Apps Script and it's very buggy. I keep getting duplicate ID errors.

I'm trying Zapier right now but I cannot for the life of me get the trigger to work to pull data from a news API. The news API I am using isn't on Zapier so I am using their Javascript trigger.

Will appreciate any help.