3 weeks ago
Hi,
I'm trying to parse the JSON that's coming from a view_submission event from a slack modal. The modal is dynamic in that the user can select 1, 2 or 3 outcomes from a checkbox and 1, 2 or 3 use cases from a checkbox, and 1, 2 or 3 teams from a radio button. I'm having trouble getting a repeatable recipe that can account for the dynamic-ness of the selections. I've also attached a screenshot of my recipe attempt.
This is my ideal output where the user selected 2 outcomes with 1 use case and 1 team for the first outcome and 2 use cases and 2 teams from the 2nd outcome.
My ideal output from this example JSON is two lists that look like this:
[OUTCOME_1],[USE_CASE_1],[TEAMS_1]
[OUTCOME_2],[USE_CASE_2],[USE_CASE_3], [TEAMS_2]
3 weeks ago
HI @jarh15 ,
Could you please share a screenshot of the modal submission form? I want to understand how you are selecting the outcome, case, and team in a single modal.
Also, could you elaborate more on the "repeatable recipe that can account for the dynamic-ness"? Please let us know what the view_submission trigger is receiving and what you want to get in the output. Your question lacks sufficient details for me to attempt a solution, although I am getting an idea of what you are asking.