I am creating a label in n8n using gmail create a label . While executing its giving error and workflow stops running and the error is :
this is the error but still in gmail its creating label eg :“xyz” . There is no label with same name. I dont understand why its giving error and stooping the flow.
and this is the if condition:
{{ $json.labels[2] && $json.labels[2].name === “unread” && $json.labels[3] && $json.labels[3].name === “xyz”; }}
before executing the create a label node.