Use field values in a Zap
This page is for admins who make Buttons.
In this guide, you add fields to a Workflow button. The Zap then uses the values of the fields in the content of a deal note.
Start with the Zap and the Button from Start a Zap. The Zap gets the request with a Catch Hook trigger and adds a note with a Pipedrive Create Note action.
Add fields to the Button
Section titled “Add fields to the Button”- Open the Button in the Button editor.
- Add the fields that the note needs. See Add a field.
- Click Save.
- Close the Settings.
- Click the Button in the OneClick Panel of a deal. OneClick sends a request with the field values to the Zap.
Get the field values in the Zap
Section titled “Get the field values in the Zap”- Go back to the Zap.
- Open the test of the Catch Hook trigger.
- Load the new requests of the webhook.
- Select the request of your last press. The data now contains
fields.
The values are in fields, in one object for each type of field: deal, organization, person and disposable.
Each field has its key, for example fields > deal > title > field_value. See
The data that the Button sends.
The key of a Pipedrive standard field is its name in the Pipedrive API, for example title. The key of a Pipedrive
custom field is a long code. The key of a disposable field is the Field key of the field.
Add the values to the note
Section titled “Add the values to the note”- Open the Create Note action.
- Edit the content of the note.
- Select the field values from the data of the trigger, for example the
field_valueof a field. - Publish the Zap.
Test the Button
Section titled “Test the Button”- Open the deal in Pipedrive.
- Click the Button in the OneClick Panel.
- Fill in the fields, if the Button shows fields that the user fills in.
- Make sure that the deal shows a note with the field values.