I’m working on developing an application using the Zapier CLI, and I’ve encountered an issue. In the Zapier UI, there’s an option labeled “Allows Multiple,” which lets you handle multiple data entries effortlessly. However, I haven’t come across a similar setting or feature in the CLI documentation. I’m wondering if it’s possible to replicate this capability when building my CLI-based app, or if there is an alternative approach suggested by Zapier. Could anyone provide some insights or guidance on how to implement this functionality? Your help is greatly appreciated!
I encountered a similar challenge while working on a CLI-based integration with Zapier. Although the Zapier UI offers an easy toggle for multiple entries, the CLI lacks a direct equivalent. In my project, I had to design a custom solution by manually handling arrays of inputs, parsing the payload, and ensuring each entry was processed correctly. This method required a fair bit of custom code, but it allowed greater flexibility. While this workaround isn’t as straightforward as the UI option, it has proven effective and adaptable over time in my projects.
hey finn_mystery, i solved this by checking if the incoming payload is an array and then iterating through each item. its a bit of a work arround but gets the job done for multiple entries in zapier cli
In my experience developing a Zapier CLI app, I implemented a workaround to simulate the multiple entries option. I incorporated array handling directly into the input processing logic, which allowed me to interpret and process multiple data values from a single trigger. I manually parsed the incoming payload and applied a loop to handle each entry individually, ensuring consistent treatment across all items. This approach required additional error checking and some custom code, but it provided flexibility and maintained the robustness needed for production use. With refinement, it can be tailored further to specific integration needs.