Skip to main content

I have created a dynamic dropdown input field in my resource which runs a trigger. This trigger makes a request to my api and returns the data as fields only if they’re of the kind ‘post_type’. This works fine but in the future I want to use this input field for multiple zaps, so the following if-statement has to be replaced:

if(content_type_kind == 'post_type')

with something like:

if(content_type_kind == type)

where ‘type’ is a variable which is different for each resource with this input field.

How can I send this variable from my resources to this trigger?

You will need a way to fetch that variable out of your app. If the end user needs to make a selection then perhaps a dynamic field or a field that alters the next input field. 

Look into input types here: https://platform.zapier.com/docs/input-designer


Hey @Robert Blaauwendraad!

Just checking in here to see if you saw GetUWired’s reply. Was that help guide useful in figuring out how to fetch variables from your app? 

Please let us know how you got on! 


Hey @SamB What GetUWired suggested would work, but I want ‘type’ to be defined based on which create called the function. I did not get it working via dynamic fields yet but I made something similar with a different input field where I made a custom function which creates the fields itself. I hope the feature of sending parameters with dynamic fields and custom input field functions will be added in the future.