I have this scenario but i takes many operations. In this instance when a newsletter comes into my email it extracts all AI related topics, and provides me with the URL links to the articles referred to in that segment. And using the Link I extract the text from that webpage to summarise and put that all into excel. Is someway it could be altered to make it use up less operations? Especially since this is one newsletter email, and I get many per week.
AI Newsletter.json (70.2 KB)
That’s pretty slick, @Sam_Van_Leeuwen, of what you have going on here.
First, you might consider using HTML to Markdown than text. The reason being is that Markdown gives a chance for context that plain text doesn’t.
Next, why is Excel called three times? Why not just iterate, get content, AI it, then save the row entry?
If it’s a case of HTTP or OpenAI erroring out, then use a Resume error handler to set your basic information to save or not.
Or use routers that check for whether things worked, then perform the Excel add, and stop processing the next steps with filtering.