Help with SEO content Brieffings

Hey guys

I need some help with a scenario

Basically this is supposed to create SEO content brieffings for a writer agent. serpAPI picks up a keyword from the spreadsheet and sends the top 5 results to diffbot (the scraper) the problem is that diffbot can only scrape on of the links, the HTML from the link he sends to chatGPT to build the outlines of my content brieffing, but the prompt is supposed to perform with 3+ HTMLs

Does anyone know how to make diffbot scrape the 5 links, pause and then send the 5 links together to chatGPT?

What specific problem are you facing in your scenario?

Diffbot only scrapes one URL from SerpAPI and sends it to chatgpt, I need it to scrape the top 5 and send that in a bunch to chatGPT

Why not create a structure of arrays and use the iterator to iterate the arrays. You can use the add() function to create an array with your urls and the iterate the array you created. Then call the scaping module with each one of your URLs.

As I mentioned, I’m super new to this, but I’ll try to do it this way with a little help from chatGPT :sweat_smile: