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?