Aug 28, 2021 10:03 PM
I am looking at EMAIL events that I pulled via the API, and wanted to know -- is there a way to figure out that a set of email subject lines are all part of a given workflow/nurture sequence? Is there some type of "WorkFlowID" or "nurture-sequence-id" that we can get via the API ?
Aug 30, 2021 3:36 AM
If you are using this endpoint <https://legacydocs.hubspot.com/docs/methods/email/get_event_by_id > to get event by id, it has emailCampaignId that is an ID referencing the email campaign of which the email message is part.
This overview can be helpful for you - https://legacydocs.hubspot.com/docs/methods/email/email_events_overview
Aug 30, 2021 7:13 AM - edited Aug 30, 2021 3:18 PM
Thanks, but I think the emailCampagnId only refers to a an email with a specific subject line. Suppose a nurture sequences includes subjects like: “Thank you for your interest”, then “Here is some fun info”, and “What do you think?”, then EACH of these gets a DIFFERENT campaignID, even though they are part of a SINGLE NURTURE SEQUENCE. I am looking for a way to identify that these email subjects are part of a single sequence, and I want an identifier for this sequence.
Context: my use case here is analyzing a client’s hubspot data, not my own.