Hi everyone!
The $fromAI() function used to work, but the past week it stops working (as you can see in the picture below), is it a bug in n8n? Would appreciate if anyone can tell if they face the same issue?
Thank you!!
Hi everyone!
The $fromAI() function used to work, but the past week it stops working (as you can see in the picture below), is it a bug in n8n? Would appreciate if anyone can tell if they face the same issue?
Thank you!!
Did you test it? It may show [undefined] when there is no execution data – but it will be filled on execution.
This is before execution:
And here is the same parameter after execution:
Thank you for your response!
No, it still stays red (marked as undefined), but I noticed that the LLM actually generates the summary and the description, so the function works, but the field is still marked in red. Maybe it’s a bug in n8n?
Also, for context, the Google Calendar node is connected to an MCP server
Could you provide some debug info to help reproduce the issue and identify if its a verified bug?
AI Agent version, chat model, hosting environment, minimal workflow JSON
Here is the minimal workflow JSON:
I understand, the fields(containing expressions) are connected to MCP Server Trigger. Usually tools in n8n, or sub-nodes in general, must be connected to an AI Agent for the expression to turn green. The UI doesn’t recognize the MCP trigger as an agent, so it shows [undefined]. But the agent(connected to the MCP) recognizes the $fromAI function in the backend. I suppose it shouldn’t be an issue, though.
Oh that makes sense now, thank you!
I’m getting this issue as well.
In my execution, it shows as red, and I get this error (using Zoho API)
400 - “{“data”:[{“code”:“MANDATORY_NOT_FOUND”,“details”:{“api_name”:“Last_Name”,“json_path”:“$.data[0].Last_Name”},“message”:“required field not found”,“status”:“error”}]}”
Would love some help with this