capabilities.work

Upsert a Contact

A 3-step recipe with HubSpot. We can help you get access.

Recipe · 3 steps

Upsert a Contact

with HubSpot · Customer Data Management
Works with AI assistants

Upsert a single HubSpot contact by matching on the email property.

  1. Search the contacts object for an existing record where the email property equals the supplied email, returning at most one match.
  2. Patch the matched contact with the supplied properties. Only the properties provided are changed; all other properties are left intact.
  3. Create a new contact with the supplied properties when no existing contact matched the email value.
What you'll need to have ready
  • email: The email address used to detect an existing contact.
  • properties: The map of contact property name/value pairs to write.
For your developer

Arazzo workflow hubspot:upsert-contact, 3 operations: searchContacts → updateContact → createContact. Specs on APIs.io.