Hello, I have a very simple question that I have not been able to find an answer to in the docs or here. I’m trying to create a custom Search Action that returns a list of objects. I’m trying to figure out how to return an array.
I’m using Zapier CLI . Here is the sample code:
sample: > {
classes:
{ name: "Test1",},
{name: "Test2",},
],
}]
However Zapier CLI throws an error: “sample is not of a type(s) object”
I would expect this to be the entire array, NOT throw an error or return just the first object. How do I correct this behavior so that my Zapier Action to return an array and correct the error?