251
All tools

Create or update contacts

Creates contacts or updates the ones that already exist with new property values.

Updated Oct 28, 2026

upsert-contacts.md

Create or update contacts

Creates contacts or updates the ones that already exist with new property values.

Note: Matches each contact on idProperty, email or a custom unique property. On MCP, manage_crm_objects waits for the user to confirm the proposed changes before it writes.

Set up

Use the first option your agent supports.

MCP (official, remote)

Add this server to your agent's MCP settings, then sign in when asked.

{ "mcpServers": { "hubspot": { "url": "https://mcp.hubspot.com" } } }

Call the MCP tool manage_crm_objects.

Server URL: https://mcp.hubspot.com

API (official)

Note: Use a service key or an app's static access token with the CRM scopes the calls need; paths carry a dated version such as 2026-09.

Before anything else, confirm access with the cheapest read-only call, like a list or a search. Never send or change anything to test access.

Rules

  • Ask the user before anything that sends messages, costs money, or changes data, and say how many records it touches. One approval covers a batch the user has seen.
  • Never print API keys.

Ways in

RouteSourceCallRequiredDocs
MCPOfficial · remotemanage_crm_objectsOAuthDocs
APIOfficialPOST /crm/objects/2026-09/contacts/batch/upsertAPI key in $HUBSPOT_API_KEYDocs

Workflows using Create or update contacts