This issue mostly got when we are using " " and performing some action @Guido_Bonanata your error is “Character constant contain one must character only”
Pls check the formula generated by your code, I can see in your workflow some warning and error, Please remove this all
Resource: After checking this you can read the below post also.