Skip to content

Script to fill missing HubSpot contact IDs and sync email addresses #192

@heyheyjp

Description

@heyheyjp

Related: #184.

We need a script that will attempt to set the HubSpot contact ID for any users in IDM without one. It should also check and sync primary email addresses for all users.

Requirements:

  • is idempotent (can be run any number of times and will produce the same result -- hubspot VIDs stored in idm & idm IDs stored in hubspot)
  • checks/updates cross-refs between idm & hubspot regardless of whether or not values are already stored
  • if syncing for a single user fails, catch, log a warning, and process to next user

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions