Take a close look at that. In that example, imagine the “team” input is a dropdown rather than a string field - it’ll work the same.
Make sure, in addition to the “Provider” field in the ABC action, you also have a provider input field in the trigger that will populate the “Voice” dynamic dropdown. Give them the same key name. Make them both required.
In the implementation of the Voice trigger you’ll be able to reference the “provider” value as if it was “local” to the trigger - bundle.inputData.provider The value will get passed to it when the Editor populates the Voice dropdown.
Thanks for your comment. How can I pass “Vehicle Type” field say “type” from Vehicle Type API so then your “Marker Dropdown get the value as you have mentioned in code.
But you mentioned you wanted to create entirely different sets of fields based on the user’s selection, so this dynamic fields example shows how to do that - just build a set of fields rather than a single dropdown.
I already have two triggers say “Provider” and “Voice” from where I have collected the detail of two Dropdown by Webhooks.
Now I have set up an action ABC with input Designer “Provider” as Alter Dropdown field and “Voice” as dynamic Dropdown. So my concern, how can I make a relation between these two Dropdown so depending on the selection in Provider, Voice will have different options within it?
OR how can I call an API of Provider downdown list (like javascript onChange Event) to get detail of “Voice” field and populate in Voice Dropdown?
Take a close look at that. In that example, imagine the “team” input is a dropdown rather than a string field - it’ll work the same.
Make sure, in addition to the “Provider” field in the ABC action, you also have a provider input field in the trigger that will populate the “Voice” dynamic dropdown. Give them the same key name. Make them both required.
In the implementation of the Voice trigger you’ll be able to reference the “provider” value as if it was “local” to the trigger - bundle.inputData.provider The value will get passed to it when the Editor populates the Voice dropdown.
Then In ABC action I have same Input Field with key “provider” and once I choose a value from Provider downdown list (like javascript onChange Event) , Voice dropdown field comes with no “No option available”