Perplexity (or OpenAI) module response - setting up a condition that re-runs if character count is under 200?

Hi everyone,

Been building my automation, and noticed occasionally the response I get back from Perplexity is totally incomplete with only a couple of hundred characters.

To get around this, can I add some sort of module or filter after it that does something like “re-run if character count is <200 characters”. If setting up reruns is complicated, I’d be happy with just some kind of ‘error handler’ that writes the problem to a google sheet.

Any thoughts? Would really help me out :slight_smile:

Hi @Jayson_Freshton

Thanks for reaching out to the community. You can use error handler route where you add same module with “Resume” to solve your issue.

If you require additional assistance, please don’t hesitate to reach out to us.
MSquare Support | Book Live Implementation
Visit us here
Youtube Channel

What would I add into the error handler? (i.e. what the ‘formula’ or what do I select to to get it to rerun if the response from the Perplexity (or OpenAI) module is less than 200 characters?