How to define nested inputs in action metadata file

Hey all,

After reading how to build custom actions in JS, I’m wondering if there is any way to defined a input field with nested sub-fields in action metadata file.

Using the example from here, if I wanna defined two sub-fields ‘id’ and ‘name’ under ‘who-to-greet’, how should I do that? 

1 Like

You probably would need to pass a JSON object with array in it and then parse it in action. AFAIK there is currently no other way.

I would really like to be able to do this. Maybe this:

    entry: value

could be passed to the environment as INPUT_CATEGORY_ENTRY