Jul 15, 2019 6:50 AM
Hello, we have the following situation:
Our custom web application creates a contact in HubSpot via the Contacts API everytime a new user signs up and after he has confirmed his email address (own Double-Opt-In email, NOT send from HubSpot). Result: New contact who has confirmed his registration via Double-Opt-In.
It should be possible to create a contact via Contacts API with all necessary properties set / confirmed to receive emails from HubSpot.
It's not possible to set the property 'Marketing email confirmation status' (hs_emailconfirmationstatus) property via the Contacts API. All newly created contacts won't receive our onboarding information (or any other email), because HubSpot expects contacts to be confirmed when GDPR is enabled. Each day we have to manually select and update the contacts Marketing email confirmation status. This can't be the solution.
What is the solution for this problem? We think it must be a common use case to create already confirmed contacts in HubSpot.
Jul 16, 2019 1:36 AM
The contact property "hs_emailconfirmationstatus" is a default HubSpot property and is automatically set by HubSpot. And in order to update this property, you must have marketing emails in HubSpot associated with your subscription and must be sent from HubSpot too.
Jul 17, 2019 6:20 AM
Each new contact created via Contacts API is opted into a subscription. This subscription belongs to the 'Marketing' process.
Is this what you mean by associating a subscription with marketing emails?
Our process is as following:
Do you have any ideas, how to create a confirmed contact via the API?
Jul 17, 2019 6:27 AM
Do you guys have access to automation/contact workflows in your portal? If so, then I think it can be managed via workflows as by updating a contact property on receiving new contact.
Jul 17, 2019 6:36 AM
Yes we do have access to workflows. We thought about this solution as well.
Unfortunately, the 'Marketing email confirmation status' property can not be changed via workflow as you cannot choose it in the 'Set property value for contact' building block.
Any other idea, how to automatically confirm a contacts double opt in status?
Jul 17, 2019 6:48 AM
Jul 17, 2019 7:59 AM - edited Jul 17, 2019 8:00 AM
We have enabled the global Double Opt-In / GDPR feature. Everytime a user signs up through a form (e.g. Newsletter) they receive HubSpots DOI mail and be able to confirm their registration. So far so good.
But we have contacts signing up for our custom web application as well. Those contacts are synced and created in HubSpot via the Contacts API. Unfortunately, there is neither a way to create a 'confirmed' contact via the Api (by setting the 'Marketing email confirmation status' property) nor sending out HubSpots Double Opt-In email automatically using a workflow.
So from our point of view there seems to be no automatic way to create confirmed contacts in HubSpot (using HubSpots built in features) assuming the GDPR option is enabled.
Nov 12, 2019 11:11 AM
I was considering whether to try doing an ajax submission of a hidden native HubSpot form prior to registering my users to trigger the native double opt-in process, but it seems incredibly hacky for something that HubSpot should allow.
I appreciate they're probably trying to protect us from ourselves, but it's frustrating not having full control via the API.
Nov 14, 2019 5:16 AM
We have the exact same problem.
I was thinking about unable the double opt-in possibility under the settings and making the whole double opt-in process with workflows. Creating a new "confirmed" property where I can set confirmed when a contact clicked on the confirm link in the DOI email. And I would enroll contacts coming from hubspot forms and not enroll contacts coming via APIs.
What do you think can this work this way?
Nov 14, 2019 5:29 AM
@liviamoldvai Unless I'm mistaken, you'll need the Transactional Email add-on (+ $1000/month) to create such a workflow, otherwise you're limited to marketing emails in workflows, which in turn require the contact to be opted-in to the relevant Subscription Type. Perhaps you could automatically subscribe them as part of the workflow... but then the problem is the emails they'll receive as part of the workflow will have unsubscribe links in them, and once someone has unsubscribed you won't be able to re-subscribe them automatically.
Creating a fully custom workflow just to re-implement double opt-in also seems like a lot of technical debt, too. All future HubSpot admins would need to be fully aware of it and be certain to check against the custom property when creating campaigns etc. It's tempting but I think it's too fragile to go fully custom here.
Feb 3, 2021 2:27 AM
We have exactly the same problem for our Trial and also urgently need a solution via API to change the confirmation status. Alternatively, the approach via workflow would also be ok, but as already mentioned, the required property "Confirmation Status" must be available for selection.
Is there any news here?