Tried update record using N8n for a simple case.
Output from the code block was an array of records. Hard-wired for this example
On NocoDB node, I had opted for auto mapping –
I am dumping my workflow JSON here
{
"name": "My workflow",
"nodes": [
{
"parameters": {},
"type": "n8n-nodes-base.manualTrigger",
"typeVersion": 1,
"position": [
-320,
-20
],
"id": "e72305e5-65c9-4eea-b1b0-ff5df30f8412",
"name": "When clicking ‘Test workflow’"
},
{
"parameters": {
"authentication": "nocoDbApiToken",
"operation": "update",
"workspaceId": "w3wghe3o",
"projectId": "pfygd3hrjf3uoxr",
"table": "mcchebq6n6h7rem",
"dataToSend": "autoMapInputData"
},
"type": "n8n-nodes-base.nocoDb",
"typeVersion": 3,
"position": [
140,
-20
],
"id": "21a20e3e-aa78-4026-a112-794fbd67715b",
"name": "NocoDB",
"credentials": {
"nocoDbApiToken": {
"id": "mJefHGiUexyOYQok",
"name": "staging temporary"
}
}
},
{
"parameters": {
"jsCode": "\nreturn [{\n Id: 1,\n Title: \"Raju\"\n}]"
},
"type": "n8n-nodes-base.code",
"typeVersion": 2,
"position": [
-100,
-20
],
"id": "eae472b6-5a0b-4795-9fa6-aa355bc0c336",
"name": "Code"
}
],
"pinData": {},
"connections": {
"When clicking ‘Test workflow’": {
"main": [
[
{
"node": "Code",
"type": "main",
"index": 0
}
]
]
},
"Code": {
"main": [
[
{
"node": "NocoDB",
"type": "main",
"index": 0
}
]
]
}
},
"active": false,
"settings": {
"executionOrder": "v1"
},
"versionId": "2a859b76-138f-4a00-8936-9c102b1d2088",
"meta": {
"instanceId": "b63b3f317ea5f7bef258bc628400002263af708c9426bbe38724f00a609a51e3"
},
"id": "1QqbhnrTf0OzQXhH",
"tags": []
}
If you still facing issue, let me know!