Hi everyone,
I’m building an automation that classifies Outlook emails using Google Gemini AI and then parses the AI output with a Parse JSON module.
Gemini correctly returns a JSON block like this in the output:
```json
{
"grupo": "Filipinas",
"categoria": "Facturación y cuentas"
}
However, when I try to parse it, I always get this error:
DataError — Source is not valid JSON
I already tried cleaning the output using this formula inside the JSON string field:
replace( replace( 248.Result; “json”; “” ); “”; “” )
…but the error persists.
Gemini’s output in the operation log looks perfectly valid JSON, and I’ve double-checked that the Data Structure has two text fields:
grupo (Text) and categoria (Text).
Has anyone faced this issue with Gemini outputs containing triple backticks?
Any idea what could still make Make think the JSON source is invalid?




