How to add the new row to existing set data output using code function

Hi Team,

I am working on the n8n data set with code function Currently, I am having the data from the set function as below ::

I am trying to add it as like below ::

image

Can you please anyone help me on this code snippet. I am stuck in between. need to add the project name on above the Location

Information on your n8n setup

  • **n8n version: Version 1.3.1
  • **Database (default: SQLite): default: SQLite
  • **n8n EXECUTIONS_PROCESS setting (default: own, main): (default: own, main):
  • **Running n8n via (Docker, npm, n8n cloud, desktop app): n8n via Docker
  • **Operating system: CentOS 7

hello @DilipChiru

There are many ways to add new columns to the existing data

I don’t know what table you are using. Is that Excel/gSheet or markdown?

1 Like

Hi @barn4k ,

Thanks for the reply.

Below is the work flow, Where I am stuck do as I mentioned. below is the screenshot related to it

I am getting the values as below from the set function ::

image

For this , I am trying to add the one more row starting the table to define the project name as below ::

image

Please help me with this

You can convert it to CSV manually, but n8n is unable to convert it as XLS as you have non-standard header