Hi, for a project that i'm working on i need to have the names of the vars for my custom code with code by zapier
What i want to have is besides the values 322,133,call,bellen I also want ID,STATUS, last activity type,last activity subject as vars in my js?
is there anyway how I can get that data?
Best answer by ikbelkirasanBest answer by ikbelkirasan
Hi @Jeff Thorns - Instead of passing all the values in the same field called data, try creating a separate field for each variable. This way, you’ll have access to each variable by its name via the inputData object. for example, if you add a new field called ID, you will be able to access it using inputData.ID.
Hi @Jeff Thorns - Instead of passing all the values in the same field called data, try creating a separate field for each variable. This way, you’ll have access to each variable by its name via the inputData object. for example, if you add a new field called ID, you will be able to access it using inputData.ID.
I wanted to check in with you on this one, since we didn't hear back after our last message. Did you still need help here or were you able to resolve things? Please let us know :)