My company sends certain email through the Sendgrid platform. We’d like to have access to Sendgrid events in Hubspot. I’m already receiving the the post JSON from Sendgrid, but I’m at a loss as to the best way to get this information into Hubspot. My goal would be to deliver the events per contact identifying both the email associated and the action.
I see ways to query information via the Email Events API, but not a method to create these events. Is this the case?
My second thought was to use HTTP Events. Please correct me if I’m wrong, but it appears that will only allow me to trigger the event itself and not add variables like campaign or action.
Any thoughts on how to handle this would be greatly appreciated.
The Email Events API is read-only, so it will only include data from HubSpot emails. There would still be a few ways to include the emails in a contact’s timeline.
It would be possible to do this using HTTP Events. Events don’t store any details aside form the name of the event, the time it occurred, and the contact it happened to (identified by email address), but you can dynamically create events by sending a string for the ID instead of the numeric ID, so it would be possible to include the campaign and action in the title of the event.
It would also be possible to do this using engagements, using the EMAIL type: