Json Array in module "When Execute by another workflow"

Describe the problem/error/question

it seems that the data structure should be determined in the “When Execute by another workflow” module now when used with tool agent .

Before i could send the json array that way with Tool call Agent
to another workflow :

But now it seems that the data structure should be determined in the “When Execute by another workflow” module .
But i cant create any array data with parameters inside :

so nothing in agent

i dont want to send data[2025-12-30,3,…] i want to send data [ “date”:"2025-12-30, …]

Did i do something wrong ?? Thanks

Information on your n8n setup

**n8n version:**1.80.5
**Database (default: SQLite):**postgres
**n8n EXECUTIONS_PROCESS setting (default: own, main):**default
**Running n8n via (Docker, npm, n8n cloud, desktop app):**docker with coolify
**Operating system:**debian 12

Well in fact now we should do this to get the correct structure

Declare the array into agent :

Create simple data aray in node “when execute workflow”

Correct new way ??

Hey, thanks for making this post, and sorry for any confusion caused!

In n8n Array and Object are untyped, i.e. we don’t validate the contents of the object to match what you specify, only that the provided argument is an Array/Object.
Indeed this is a short-coming compared to specifying the nested schema, we should look into providing an equivalent experience here.

Describing the format in the description for that parameter is a good option today. If data always has the same format I’d recommend splitting this into separate parameters on the Trigger instead.
This way you can describe each one in details if needed and don’t need to rely on the AI to get them all right.

As an aside, I see that some stylings are off, like the Defined automatically by the model text, and the missing “bubbles” around the items in the Output panel.
Do you mind sharing your browser and version with me? Would like to fix that :smiley:

in fact i wanted an object , so my only solution for now is doing this:

I dont wanted to add a node code to Re structured my object in next workflow ( time lost)

otherwise i get this :

It normal i m missing some things , i used old High Sierra on macosx and firefox is older… 115.18.0esr.
I cant use anymore chat in the workflow , doesnt work , i need to open it in new windows only .

So its just the older firefox dont working good.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.