<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Create Ticket and send email in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Create-Ticket-and-send-email/m-p/604279#M51990</link>
    <description>&lt;P&gt;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)?&lt;/P&gt;</description>
    <pubDate>Wed, 30 Mar 2022 13:31:49 GMT</pubDate>
    <dc:creator>SR0</dc:creator>
    <dc:date>2022-03-30T13:31:49Z</dc:date>
    <item>
      <title>Create Ticket and send email</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Create-Ticket-and-send-email/m-p/508811#M47631</link>
      <description>&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;I'm looking for an API endpoints to achive a rather straight forward flow:&lt;/P&gt;&lt;P&gt;- create a ticket (got that)&lt;/P&gt;&lt;P&gt;- associate ticket with deal, company, contact (got that)&lt;/P&gt;&lt;P&gt;- create an email (can be done with engagement endpoint, but not sure about this)&lt;/P&gt;&lt;P&gt;- associate email with ticket (got that)&lt;/P&gt;&lt;P&gt;- send that email (looking for that one especially!)&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;obvisouly, for those emails, if the recipient answers, I'd like to have the answer auto filled into the converstion &amp;amp; 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?&lt;/P&gt;</description>
      <pubDate>Mon, 11 Oct 2021 20:34:52 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Create-Ticket-and-send-email/m-p/508811#M47631</guid>
      <dc:creator>AGran</dc:creator>
      <dc:date>2021-10-11T20:34:52Z</dc:date>
    </item>
    <item>
      <title>Re: Create Ticket and send email</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Create-Ticket-and-send-email/m-p/509900#M47686</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/20405"&gt;@himanshurauthan&lt;/a&gt; , would you be able to assist here?&lt;/P&gt;</description>
      <pubDate>Wed, 13 Oct 2021 14:40:42 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Create-Ticket-and-send-email/m-p/509900#M47686</guid>
      <dc:creator>dennisedson</dc:creator>
      <dc:date>2021-10-13T14:40:42Z</dc:date>
    </item>
    <item>
      <title>Re: Create Ticket and send email</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Create-Ticket-and-send-email/m-p/512407#M47858</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/13982"&gt;@dennisedson&lt;/a&gt;,&amp;nbsp;thank you for tagging me in!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/166399"&gt;@AGran&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sending email via the API can be achieved using HubSpot's "&lt;A href="https://developers.hubspot.com/docs/methods/email/transactional_email/single-send-overview" target="_blank" rel="noopener" data-link-card="true"&gt;Single Send API&lt;/A&gt;" or "S&lt;A href="https://developers.hubspot.com/docs/methods/email/transactional_email/smtpapi_overview" target="_blank" rel="noopener" data-link-card="true"&gt;MTP API&lt;/A&gt;" API. In order to utilize these APIs, you require the&amp;nbsp;&lt;A href="https://www.hubspot.com/products/email/transactional-email" target="_blank" rel="noopener" data-link-card="true"&gt;transactional email add-on&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;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.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can also pass through data to inject into the body of the email. This data can live inside (and outside) of HubSpot.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;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.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;All emails sent via either API would show as emails on the contacts record. It would look similar to the below:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;</description>
      <pubDate>Tue, 19 Oct 2021 12:37:51 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Create-Ticket-and-send-email/m-p/512407#M47858</guid>
      <dc:creator>himanshurauthan</dc:creator>
      <dc:date>2021-10-19T12:37:51Z</dc:date>
    </item>
    <item>
      <title>Re: Create Ticket and send email</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Create-Ticket-and-send-email/m-p/512412#M47859</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/20405"&gt;@himanshurauthan&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;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:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;- create a ticket (got that)&lt;/P&gt;&lt;P&gt;- associate ticket with deal, company, contact (got that)&lt;/P&gt;&lt;P&gt;- create an email externally, send via our usual Google SMTP, BCC to hubspot&lt;/P&gt;&lt;P&gt;- fiddle with hubspot api to find email (to bad I can't serach for message-ID!) and then associate email with ticket&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So it basically just works the other way round, but that sounds reasonable.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Oct 2021 12:53:24 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Create-Ticket-and-send-email/m-p/512412#M47859</guid>
      <dc:creator>AGran</dc:creator>
      <dc:date>2021-10-19T12:53:24Z</dc:date>
    </item>
    <item>
      <title>Re: Create Ticket and send email</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Create-Ticket-and-send-email/m-p/512413#M47860</link>
      <description>&lt;P&gt;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.&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":worried_face:"&gt;😟&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Oct 2021 12:56:14 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Create-Ticket-and-send-email/m-p/512413#M47860</guid>
      <dc:creator>himanshurauthan</dc:creator>
      <dc:date>2021-10-19T12:56:14Z</dc:date>
    </item>
    <item>
      <title>Re: Create Ticket and send email</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Create-Ticket-and-send-email/m-p/604279#M51990</link>
      <description>&lt;P&gt;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)?&lt;/P&gt;</description>
      <pubDate>Wed, 30 Mar 2022 13:31:49 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Create-Ticket-and-send-email/m-p/604279#M51990</guid>
      <dc:creator>SR0</dc:creator>
      <dc:date>2022-03-30T13:31:49Z</dc:date>
    </item>
  </channel>
</rss>

