I’ve been working on this for a while, but I can’t get it to work. I have a flow where I scrape a website. This data goes through ChatGPT, which formats it into JSON for me. In the prompt, I explicitly tell it to output only JSON—I have a very detailed prompt about this—but sometimes ChatGPT still adds something before it, like:
“Here is your JSON format:”
I think the only way to fix this is by creating a filter that removes everything before and after the JSON. I created a regex, and when I validate it in a JSON checker, it correctly selects only the JSON. However, I don’t know how to apply this in Make.com.
Who can help me with this? Should I use a filter or a text parser, and which one?