AFI AFI

Pipedrive

Estimated reading: 3 minutes Updated August 1, 2026

Pipedrive is a sales-focused CRM used by 100,000+ companies for pipeline tracking and deal management. Advanced Form Integration sends form submissions straight into Pipedrive as a new person, organization, deal, note, or activity, with field mapping to standard and custom properties.

What you’ll need

  • An active Pipedrive account.
  • A Pipedrive API token.
  • The Advanced Form Integration plugin installed and activated.

Get your Pipedrive API token

  1. Log in to your Pipedrive account.
  2. Click your profile avatar (top right) → Personal preferences.
  3. Open the API tab.
  4. Copy the Your personal API token value.

The token grants access to your entire Pipedrive workspace. Treat it like a password.

Connect Pipedrive to AFI

  1. In WordPress, go to AFI → Settings.
  2. Open the Pipedrive tab and turn it on.
  3. Paste the API token into the Access Token field and click Save Changes.

Create the integration

  1. Go to AFI → Add New.
  2. Configure the trigger.
  3. In Action → Platform, select Pipedrive.
  4. In Task, choose what to create: Person, Organization, Deal, Note, or Activity.
  5. Map the form fields to Pipedrive properties.
  6. Optional: configure Conditional Logic.
  7. Click Save Integration.

Screenshot: AFI field-mapping screen with Pipedrive Person fields shown next to form field tokens

Tasks supported

Create New Person

Adds a new contact (person) to Pipedrive. Pipedrive treats people as the primary contact entity. Name is required.

Create New Organization

Adds a new company / organization. Use this when capturing B2B leads with company info. Name is required.

Create New Deal

Creates a new deal in Pipedrive’s pipeline. Useful for inquiry forms that should generate a sales opportunity. Title is required.

Create New Note

Attaches a note to an existing person, organization, or deal. Map the entity ID and the note content.

Create New Activity

Creates a task / activity (call, meeting, email, etc.) in Pipedrive. Useful for triggering follow-up reminders.

Pro features

The Pro version adds:

  • Bulk custom property mapping.
  • Multi-select and enumeration field support.
  • Person + Deal in one operation (create both with a single submission).
  • Pipeline and stage selection on deal creation.

Conditional logic example

Goal: when a contact form’s Inquiry Type is Sales, create both a Person and a Deal in Pipedrive. Other inquiry types only create a Person.

Create two integrations on the same form. The Person integration is unconditional. On the Deal integration, add a condition with the inquiry type field, Equal To, value Sales.

Troubleshooting

Person/Deal not created

Open AFI → Log and find the most recent entry. Common Pipedrive errors:

  • Authorization has been denied: the API token is wrong or revoked. Re-copy and re-save.
  • Required field missing: name: the name field wasn’t mapped or was empty in the submission.
  • Invalid field key: a custom Pipedrive field was renamed or deleted. Open the integration and re-map.

Custom field doesn’t appear in mapping

Pipedrive custom fields use API keys (long hashes) rather than human names. AFI’s mapping screen shows them by their human label. Hit Refresh fields if a newly created custom field doesn’t show up.

Related docs