Is there a way to handle outputFields dynamically? I tried to do it this way, but it didn't work:
const outputFields = [];const perform = (z, bundle) => { return [bundle.cleanedRequest];};const performList = (z, bundle) => { const options = { url: 'https://webhook_url', method: 'post', hook_id: { 'Authorization': 'Bearer ' + bundle.authData.access_token, }, body: {}, }; // This part will be generated through a mapping in JSON outputFields.push({ key: 'form', label: 'Form', type: 'string', }) return z.request(options).then((response) => { return response.data });};