Hi, I have an application with a registration form (not HubSpot form), which I now need to integrate with Hubspot.
What I want to achieve is to have Hubspot Contact with confirmed DOI (double-opt-in) and activated in my app with one email to the user.
OPTION 1:
1. Once a user signs up, I send an activation email from my app with an activation token.
2. When user opens activation link, and he had checked marketing consents in registration, I create Hubspot Contact using API.
Problems:
- Contact does not receive additional DOI email from Hubspot when created using API.
- I cannot send emails from Hubspot now, as “These contacts haven’t confirmed they want to receive emails from you”…
- I cannot change related Contact property through API as it’s read-only. However, I can change it from GUI but it’s not handy.
OPTION 2:
1. Once user signs up, I send activation email from my app with activation token.
2. When user opens activation link, I use API to submit the Hubspot form and he receives additional email form HubSpot
Problem:
- There are two emails - one for account activation in my app, and second from hubspot to confirm email. It’s not bad, but I really would like to make it with one email..
OPTION 3:
1. Instead of sending activation from my app, I submit the Hubspot form via API (optionally with additional property activationToken).
2. User receives DOI email from HubSpot (no activation email from my app)
Problems
- How to activate user in my app now?
- I’ll still need to send emails from my app for users without marketing consents checked.
-----
I briefly checked webhooks, but I’m not interested in all user updates, but only this initial confirmation.
Is there a way to redirect to specific url on DOI email confirmation?
I think it’s quite common case, but I didn’t find any solution in previous topic.
I would appreciate any advice.