Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating a contact does not work #17

Closed
andyneil opened this issue May 31, 2022 · 1 comment
Closed

Updating a contact does not work #17

andyneil opened this issue May 31, 2022 · 1 comment

Comments

@andyneil
Copy link

If you use the HubspotWorkflow workflow more than once with the same details, it will fail.
After checking the source, this looks to be because the response returned from HS is HTTP 409 - Conflict.
Should the functionality be extended to:

  • First check if the contact exists in HS, if so get the contactId
    -- If so, make a subsequent PATCH call, to /crm/v3/objects/contacts/{contactId} as detailed in the API docs
    -- If not, continue the create as currently works.
@AndyButland
Copy link
Contributor

We've applied an update to do an update if the contact already exists according to HubSpot via a provision of a 409 response.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants