Skip to main content

I want to know if it is possible to use an array as input data in a input field. For instance my Facebook trigger returns the attachments array but only views the first iteration, so in my input fields I can only select the first image from the post. This is logical because if you would map multiple images and then upload a post with only 1 image there would be no input the other input fields. That’s why I want to use the entire attachments array as input so my code can take care of handling single or multiple images. Is this possible?

Hi @Robert Blaauwendraad 

If you are building an application check out the docs about multiple values here: https://platform.zapier.com/docs/input-designer#allows-multiples 


If you expect an array as input from another API (the result of another trigger or action in the user’s Zap), you will use a line item group: https://platform.zapier.com/docs/input-designer#how-to-add-a-line-item-group

 

“Allow multiples” is for allowing the user to map 0 or more arbitrary single valued fields as inputs.