Describe the problem/error/question
Hello, I think it would take me days to try by myself so I’d rather ask this question here. I’m trying to use an AI Agent node to assign labels to Gmail messages. But it seems that the label has to be present already and the tool can only pass the label ID for that. Maybe that’s why I keep getting the error “Invalid Argument”
I tried connecting a tool for creating labels, but it only accepts one parameter which I have to assign manually, but I want the agent to pass the appropriate parameter. To make things even more complicated, I have 4 Gmail accounts that I want the same workflow to act on, plus one self-hosted mail account where I don’t know if it supports labels in a similar way.
I thought this would be a rather simple task, but it doesn’t seem so.
can someone suggest a possible solution for this?
What is the error message (if any)?
Invalid label / InvalidAgument

