zapier-platform
zapier-platform copied to clipboard
Hooks: list.perform is executed for sample data, but hook.outputFields is used instead of list.outputFields
Current Behavior
When defining a resource with a hook action and a list action, the Zapier frontend executes list.perform
to get sample data for further configuration. The output fields used to specify "what-is-what" are used from the hook definition, without falling back to the outputFields
of the list operation.
Desired Behavior
If hook.ouputFields
is undefined
, fall back to list.outputFields
or maybe don't even consider hook.outputFields
if hook.performList
is not defined. This makes sense because list.perform
is executed anyways.