We use cookies to make HubSpot's community a better place. Cookies help to provide a more personalized experience and relevant advertising for you, and web analytics for us. To learn more, and to see a full list of cookies we use, check out our Cookie Policy (baked goods not included).
May 23, 2022 2:54 PM - edited May 23, 2022 11:08 PM
Hi, I have an integration with Hubspot syncing over email engagements and I have a recent customer who is missing their `to` field in their emails. I'm not able to see a way to make this occur within the app so I'm wondering if anyone knows what makes an email engagement get into this state. The `from` and body/html fields are populated as expected so this isn't a case of missing scope
{
"engagement": {
"id": 1XXXXXXX,
"portalId": 4XXXXXX,
"active": true,
"createdAt": 1XXX455282144,
"lastUpdated": 1XXX455282144,
"type": "EMAIL",
"timestamp": 1XXX455277134,
"allAccessibleTeamIds": [],
"bodyPreview": "Some text",
"queueMembershipIds": [],
"bodyPreviewIsTruncated": false,
"bodyPreviewHtml": "<html>\n <head></head>\n <body>\n <div>\n Some text \n </div>\n </body>\n</html>",
"gdprDeleted": false
},
"associations": {
"contactIds": [
2XXXX001
],
"companyIds": [
7XXXX9175X
],
"dealIds": [
7XXXX5968X,
7XXXX0541X
],
"ownerIds": [],
"workflowIds": [],
"ticketIds": [],
"contentIds": [],
"quoteIds": []
},
"attachments": [],
"metadata": {
"from": {
"email": "sample@email.com",
"firstName": "Sample",
"lastName": "Emailer"
},
"to": [],
"cc": [],
"bcc": [],
"sender": {},
"subject": "Some subject",
"html": "<div>Some text</div>",
"emailSendEventId": {},
"validationSkipped": [],
"attachedVideoOpened": false,
"attachedVideoWatched": false,
"pendingInlineImageIds": []
}
}
As you can see I have the from info but no `to` info
Appreciate any help you can provide!
May 23, 2022 7:46 PM
Hi, @tclark228 👋 Thanks for reaching out.
Can you provide any additional details, code snippets, or screenshots to help provide our community with more info, please? This helps our community members better understand your issue and positions them to be able to give you better suggestions and feedback.
Thank you! – Jaycee
May 23, 2022 11:09 PM
Hi Jaycee, I've updated my post to reflect what I'm seeing in the API
Thanks!