Hi everyone! 👋
I'm working on an email classification automation in n8n using the AI Agent + Gmail AddLabels tool. The agent analyzes incoming emails and returns a JSON like this:
{
"À traiter": true,
"labelID": "Administratif/Finances"
}
The output is parsed via a Structured Output Parser, and I want to use the result to dynamically apply Gmail labels to the message using addLabels.
Issue: I’m getting an error in the "Label Names or IDs" field saying either "undefined" or "no path back to node".
Any tips on properly linking the label value from the AI Agent → Structured Output Parser → Gmail tool? 🙏
Thanks in advance!