Dynamic fields are a type of field built from an API call. Custom code runs to show fields based on other input field data. These are especially useful with project management apps, CRM apps, databases, and any other app where users can add custom, user-defined fields.
altersDynamicFields
is changed.z.request
to make the API call. Your code should return each custom field’s key and name to Zapier in an array, so they display correctly in the Zap editor. Learn more about using Z Object to call a function.z.request
will not show in the Zap editor preview.bundle.inputData.field_key
where field_key
is replaced with the actual key of the prior input field that must be checked), including logic and details on another field to show depending on the value of the former.body: { ...bundle.inputData }
to send every input field, including pre-defined or dynamic fields in the body of your API call to your app. You can also use bundle.inputData.field_key
to include individual lists of dynamic fields.