paste the object HTML back into the spreadsheet (another cell)
The problem is that the HTML objects seem to be +50,000 characters long, and G-spreadsheet doesn’t allow this. Any ideas/tips to cleanup the code before?
ScrapeNinja has a JavaScript field that helps clean-up the data a bit, but I think their services are paid
The most reliable way is to probably use the OpenAI “Transform Text to Structured Data” module, or the freeGroq “Create a JSON Chat Completion” module.
Example
Here is a Groq example on how to specify the variables that you want to match from the text content. This setup is also similar to what you’d do with the OpenAI Structured Data module.