Hi,
I've created an automation that needs to transform agentResponse. they trying to apply StringUtil functions it doesn't work.
I tried different formats in the agent response (json or plain text). I'm able to use functions like contains, but when trying to create variables with Substring functions, never returns any value.
{{agentResponse.substringAfter("commentContent:").substringBeforeLast("passedTriage").trim()}}
Initially, since I Formatted the agentResponse in json I tried using just agentResponse.fieldName, but that didn't worked, so I fallback to a String bases approach.