APIs & Integrations

AGran
参加者

Create Ticket and send email

解決

Hey,

I'm looking for an API endpoints to achive a rather straight forward flow:

- create a ticket (got that)

- associate ticket with deal, company, contact (got that)

- create an email (can be done with engagement endpoint, but not sure about this)

- associate email with ticket (got that)

- send that email (looking for that one especially!)

obvisouly, for those emails, if the recipient answers, I'd like to have the answer auto filled into the converstion & ticket again. I guess if I send the email via an external SMTP gateway, which would be straight forward, that doesn't work, as it lacks some email header magic to get the association right?

2件の承認済みベストアンサー
AGran
解決策
参加者

Create Ticket and send email

解決

Hi @himanshurauthan ,

 

thanks for the feedback! As fas as I can see, the single send api will associate with the contact, the smtp api will not. But both won't associate with a ticket.

However I've now done a few experiemnts using BCC, looks like the following works as well and doesn't require the (pricy!) transactional email extension:

- create a ticket (got that)

- associate ticket with deal, company, contact (got that)

- create an email externally, send via our usual Google SMTP, BCC to hubspot

- fiddle with hubspot api to find email (to bad I can't serach for message-ID!) and then associate email with ticket

 

So it basically just works the other way round, but that sounds reasonable.

元の投稿で解決策を見る

himanshurauthan
解決策
ソートリーダー | Elite Partner
ソートリーダー | Elite Partner

Create Ticket and send email

解決

I'm glad you found it worked for you. Hey, I had a request, will it be possible for you to mark my reply as a solution. 😟

Digital Marketing & Inbound Expert In Growth Hacking Technology

元の投稿で解決策を見る

5件の返信
AGran
解決策
参加者

Create Ticket and send email

解決

Hi @himanshurauthan ,

 

thanks for the feedback! As fas as I can see, the single send api will associate with the contact, the smtp api will not. But both won't associate with a ticket.

However I've now done a few experiemnts using BCC, looks like the following works as well and doesn't require the (pricy!) transactional email extension:

- create a ticket (got that)

- associate ticket with deal, company, contact (got that)

- create an email externally, send via our usual Google SMTP, BCC to hubspot

- fiddle with hubspot api to find email (to bad I can't serach for message-ID!) and then associate email with ticket

 

So it basically just works the other way round, but that sounds reasonable.

himanshurauthan
解決策
ソートリーダー | Elite Partner
ソートリーダー | Elite Partner

Create Ticket and send email

解決

I'm glad you found it worked for you. Hey, I had a request, will it be possible for you to mark my reply as a solution. 😟

Digital Marketing & Inbound Expert In Growth Hacking Technology
dennisedson
HubSpot製品開発チーム
HubSpot製品開発チーム

Create Ticket and send email

解決

@himanshurauthan , would you be able to assist here?

himanshurauthan
ソートリーダー | Elite Partner
ソートリーダー | Elite Partner

Create Ticket and send email

解決

Hello @dennisedson, thank you for tagging me in!

 

Hi @AGran,

 

Sending email via the API can be achieved using HubSpot's "Single Send API" or "SMTP API" API. In order to utilize these APIs, you require the transactional email add-on.

 

The key difference between the two is that using the Single Send API allows you to create/build emails from within HubSpot, save them for use with the Single Send API, and then programmatically trigger the send.

 

You can also pass through data to inject into the body of the email. This data can live inside (and outside) of HubSpot.

 

The SMTP API on the other hand is used if you want to create/manage email outside of HubSpot and simply send via our SMTP server.

 

All emails sent via either API would show as emails on the contacts record. It would look similar to the below:

 

Regards,

Digital Marketing & Inbound Expert In Growth Hacking Technology
SR0
投稿者 | Diamond Partner
投稿者 | Diamond Partner

Create Ticket and send email

解決

Hi, I was looking into a way to create an email sent via API, and just happened to have found this. Would it be possible that the email sent using Single Send API, to appear as an associated conversation to an object (i.e tickets)?

0 いいね!