What do you have before the parse json? Can you pick the file extension before you pass to the parse json task? You can use "scope" https://learn.microsoft.com/en-us/azure/logic-apps/logic-apps-control-flow-run-steps-group-scopes#add-steps-to-scope but is parsing failing every time you receive a CSV?
When execute PARSE JSON in Power Automate on a failed - create reject csv file

Javier Guzman
81
Reputation points
I want to create a reject csv file When executing PARSE JSON.
Left in green: I want the job continue
Right in red: I want to create new file with the reject
Thanks so much for your help