The computed field option stores values returned by your integration’s authentication response which you can then reference in subsequent API calls. You must maintain the same field key as your API uses for this field.

The computed field option only supports session and OAuth v2 authentication.

Prerequisites

Steps

  1. Log into the Platform UI.
  2. Select your integration.
  3. In the Build section in the left sidebar, click your authentication.
  4. Click Save.
  5. Click Add Fields.
  6. Under Field Type, select Computed Fields.
  7. Select the Is this field required? Check if yes checkbox. Zapier use your computed fields in the response data. This means that any omission of the fields marked as computed fields in the authentication response would cause Zapier to display an error.
  8. Complete the rest of the relevant fields. Learn more in Input Designer.
  9. Click Save.
  10. You can then reference the field in any subsequent API call from the input bundle. In Code Mode, you replace field with your field key in this text {{bundle.authData.field}}

Need help? Tell us about your problem and we’ll connect you with the right resource or contact support.