Could you please expand your explanation a little bit? It is not clear what you goal is? Do you want this to be randomly generated? Please explain what you want to do, what you want to happen, and what doesn’t work right now.
result.push({
"json":
{
mykey : items[index].json.Agent,
// "aBrandNewField": "New data for item " + index
},
"pairedItem": index
});
I must be declare theses :
Is it possible to have dynamic object with a loop key/value without set the real_name of column on the code : list_keys contains the list of key. Example, i set “Agent” : items[index].json.Agent → i would like to have : list_keys[index]: items[index].json.[column_number]
result.push({
"json":
{
"Agent" : items[index].json.Agent,
"ID" : items[index].json.ID,
"Goal":items[index].json.Goal,
"Words":items[index].json.Words,
// "aBrandNewField": "New data for item " + index
},
"pairedItem": index
});