Transactional Email Using Name in Contact Record Not JSON Object
SOLVE
When we send an email via the Hubspot API, the contact tokens with the email template are pulling from the Hubspot profile rather than the JSON object we are sending. For example, if a Hubspot contact has a first name of 'John' and we send an API call with the first name of 'Sarah,' 'John' will be used in the email. Then, 'Sarah' will be used to update the record in Hubspot.
I take it you're using the Single Send API? It depends on what token you're using to include the value in your email. Contact properties (pulled from the HubSpot contact record) look like this:
{{ contact.property_name }}
While custom properties (pulled from the custom proeprty JSON sent with the Single Send API request) look like this:
{{ custom.property_name }}
Are you sure you're using a custom property token instead of a contact property token?
I take it you're using the Single Send API? It depends on what token you're using to include the value in your email. Contact properties (pulled from the HubSpot contact record) look like this:
{{ contact.property_name }}
While custom properties (pulled from the custom proeprty JSON sent with the Single Send API request) look like this:
{{ custom.property_name }}
Are you sure you're using a custom property token instead of a contact property token?