La fonction de suggestion automatique permet d'affiner rapidement votre recherche en suggérant des correspondances possibles au fur et à mesure de la frappe.
Internal Email in Automation. Need contact's information
Résolue
CONTEXT:
We are integrarting an ecommerce site with Hubspot. When a customer buys a product in our site, using HS's API, we create a contact, associate a deal and a specific stage.
WHAT WE NEED:
We are creating an automation in HS. When the deal stage is set in HS, we send an internal email to one employee (no problem so far). What we haven't figure out is how to include some basic details about the contact (the person that made the purchase on our online store and who exists in HS as a contact), like their name, last name, email, phone number, etc.
In the internal email interface (for the automation), I haven't found any means to get details about the contact.
Internal Email in Automation. Need contact's information
Résolue
Hey @MArango7 , Do you know what kind of field association (deal, contact) is making when sending the info from the webpage? If this info is kept like contact fields, you could check in the email from notifications the option > personalize in there you can select the tokens to send trough email.
You're correct – when creating an internal email notification in a deal workflow, you can only use deal personalization tokens. The reason is likely that a deal might be associated to multiple contacts and HubSpot wouldn't know which values to pull for the email:
If you want to be able to use personalization tokens from a contact, you would have to make this information available on the deal record first, here's an example of what that could look like for First name:
To do this, you need to create the field First name on the deal first.
You would repeat this step / workflow for each field you want to use as a personalization token in your deal notification.
Keep in mind that this information might be overwritten on the deal record when there are multiple contacts associated to the deal.
(If you only need contact personalization tokens, you might be able to create a contact-based workflow. Sometimes this is possible, depending on what exactly should trigger the workflow.)
Let me know if you have any follow-up questions!
Karsten Köhler HubSpot Freelancer | RevOps & CRM Consultant | Community Hall of Famer
@JuanGomez0818, because of time constraints I didn't have the time to investigate the type of association part. I ended up asking the developers to explicitly feed the contact information to the deal (creating deal properties where this info is saved to) as @karstenkoehler suggested. This allowed me to create the emails with the specific information I was looking for.
You're correct – when creating an internal email notification in a deal workflow, you can only use deal personalization tokens. The reason is likely that a deal might be associated to multiple contacts and HubSpot wouldn't know which values to pull for the email:
If you want to be able to use personalization tokens from a contact, you would have to make this information available on the deal record first, here's an example of what that could look like for First name:
To do this, you need to create the field First name on the deal first.
You would repeat this step / workflow for each field you want to use as a personalization token in your deal notification.
Keep in mind that this information might be overwritten on the deal record when there are multiple contacts associated to the deal.
(If you only need contact personalization tokens, you might be able to create a contact-based workflow. Sometimes this is possible, depending on what exactly should trigger the workflow.)
Let me know if you have any follow-up questions!
Karsten Köhler HubSpot Freelancer | RevOps & CRM Consultant | Community Hall of Famer
Internal Email in Automation. Need contact's information
Résolue
Dear karsten,
Our process has been adjusted and now I need to implement the solution that you suggested.
Just a little context: 1. From our online store we create contacts in HS when a cusotmer registers.
2. Once they do a purchase we create a deal in HS
3. We then send an internal notification to a team member which should include some of the contact's properties (here's where I'm stuck)
Normally, on our site, the customer registration and their puchase happen in a sequence, with just a very few minutes between those steps).
---
When I do a test transaction however from our online store, I see: 1. The contact is created 2. A deal is created and associated with the contact
3. The team member gets a notification, but none of the cloned properties (from contact to deal) is included (the values show are blanks).
4. I see this error on the workflow that copies the contact's properties: The property couldn't be set because the contact isn't associated with any target records. Which, I suppose, happens because when I create the contact it doesn't have any deals associated yet.
And I'm stuck now. Do you have a suggestion on what to do?
Internal Email in Automation. Need contact's information
Résolue
Hey @MArango7 , Do you know what kind of field association (deal, contact) is making when sending the info from the webpage? If this info is kept like contact fields, you could check in the email from notifications the option > personalize in there you can select the tokens to send trough email.