How to Create an Item in Monday while populating all its columns

Hi everyone! I’m trying to add an item from my n8n workflow to a Monday Board Group. I was looking for a solution within the forum for this situation and saw a couple of resolutions but those didn’t apply for my use case. I’m adding my workflow for you to see. Is there anything wrong within my code inside the Monday Node (last one at the bottom right)?

I’ve checked Monday API docs but still no luck with this. Already activated developer mode on Monday, took the real Column IDs and still not working. Also checked the name of the column formats (Column types reference) but it didn’t help either.

Thanks in advance for the help,
Juan

What is the error message (if any)?

  • Cannot read properties of undefined (reading ‘create_item’)

{
“errorMessage”: “Cannot read properties of undefined (reading ‘create_item’)”,
“errorDetails”: {},
“n8nDetails”: {
“n8nVersion”: “1.82.3 (Cloud)”,
“binaryDataMode”: “filesystem”,
“stackTrace”: [
“TypeError: Cannot read properties of undefined (reading ‘create_item’)”,
" at ExecuteContext.execute (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/MondayCom/MondayCom.node.js:511:58)“,
" at processTicksAndRejections (node:internal/process/task_queues:95:5)”,
" at WorkflowExecute.runNode (/usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/execution-engine/workflow-execute.js:687:27)“,
" at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/execution-engine/workflow-execute.js:919:51”,
" at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/execution-engine/workflow-execute.js:1252:20"
]
}
}

Please share your workflow (the flow is reduced because of characters limitations)

Share the output returned by the last node

  • Cannot read properties of undefined (reading ‘create_item’)

Information on your n8n setup

  • **n8n version: [email protected]
  • **Database (default: SQLite): N/A
  • **n8n EXECUTIONS_PROCESS setting (default: own, main): Own
  • **Running n8n via (Docker, npm, n8n cloud, desktop app): Web App
  • **Operating system: Sequoia

Does it work without using additional fields? Same error?

Yes, it works and creates an item with just the name… I’m trying to map every field to every column on Monday but didn’t have any luck so far. I tried lots of ways and read every post on this subject in this forum but still won’t work. Any ideas? Thanks!

What about just doing date or status, without custom fields? Still issues?

Yup, just tried that and no luck. Am I coding the columns in the right way? Not an expert on JS.

{
  "project_status": {
    "status": "WIP"
  },
  "date": {
    "date": "{{ $('OpenAI').item.json.message.content['Fecha de Emisión'] }}"
  },
  "numeric_mkp2spbe": {
    "numbers": "{{ $('OpenAI').item.json.message.content.ID }}"
  },
  "numeric_mkp22fzf": {
    "numbers": "{{ $('OpenAI').item.json.message.content['Monto Factura'] }}"
  },
  "text_mkp2c074": {
    "text": "{{ $('OpenAI').item.json.message.content['Domicilio Fiscal'] }}"
  },
  "text_mkp2j3rz": {
    "text": "{{ $('OpenAI').item.json.message.content.CUIT }}"
  },
  "text_mkp2wq0j": {
    "text": "{{ $('OpenAI').item.json.message.content['Teléfono'] }}"
  },
  "text_mkp2nmq9": {
    "text": "{{ $('OpenAI').item.json.message.content['Correo Electrónico'] }}"
  },
  "date_mkp2t3gd": {
    "date": "{{ $('OpenAI').item.json.message.content['Fecha de Emisión'] }}"
  },
  "text_mkp2v9ax": {
    "text": "{{ $('OpenAI').item.json.message.content['Descripción de Productos/Servicios'].replace(/(\\r|\\n)/g, ' ') }}"
  }
}

I could investigate more later this week but I am unsure, it does look correct to me I believe. But haven’t heavily used monday nodes in this fashion.

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