Hello folks !
I’m trying to build a smart action schema and I want an enum input dynamic.
Explainations:
I have the following JSON:
{
"brand_value_1": ["model_value_1", "model_value_2"],
"brand_value_2": ["model_value_3", "model_value_4"],
}
My first input is an enums for picking a brand so its basically an array with all my json’s keys.
["brand_value_1", "brand_value_2"]
I want my second input to be an enum too but to be related to the answer given previously. If the user clicked on brand_value_1
I want my enum to be
["model_value_1", "model_value_2"]
Is there a way to accomplish that ?
Thank you very much and have a good day.
Julien