Dynamic Marketing Email ID

DWild30
メンバー

I am currently sending marketing email information through a webhook, and I am receiving the subject line, the To, and the From. I am trying to send the content of the email, but have been unable to do so. Since I can not send the content, I want to send the Web version URL for the email, and have been told to use
GET - /marketing/v3/emails/{emailId} 

I am writing to see if there is a way to make the {emailID} dynamic and pull the marketing email ID of the email sent to a contact, rather than having a single line of code for each email that I create. I have had no luck with this but would love to be able to send the URL back to my system so I can easily view what email has been sent.

0 いいね!
2件の返信 2
DaganBPM
メンバー

Hey @DWild30 - I'd be happy to take a peek at this but I just want to make sure I understand what we're working with here:

 

Can you clarify where the From / To / Subject are coming from, is this a HubSpot marketing email event webhook, or an API/workflow action where you’re sending the email yourself? If possible, can you share which webhook or endpoint you’re using (no payload needed).

0 いいね!
Victor_Becerra
コミュニティーマネージャー

Hey @DWild30 
Thank you for your question!
I'm gonna tag some subject matter experts from our community who may be able to lend you a hand:
Hey @BrandonWoodruff @SteveHTM @Balaji_Mavlers1  Do you have any tips to help us out here?
Thanks!

Victor


loop Loop Marketing is a new four-stage approach that combines AI efficiency and human authenticity to drive growth.
Learn More

0 いいね!