I’m trying to implement a trigger that would run when the user submits a form from our website. The form can have a variable number of fields. What is the best way to make these fields available as outputs of the trigger? It should be possible to:
- forward all the field key value pairs to another app in the next step (so that it would work correctly regardless of the number of fields)
- pick some fields to be used in next steps of the Zap (if something in the action step depends on the value)
Outputing the key-value pairs as line items allows forwarding them in bulk, but I can’t find a way to select some specific key to use in the next step. Creating dynamic output fields would allow using a specific field’s value in the next step, but not forwarding all the fields in bulk.
Is there a good way to set it up so that both ways would be possible?