<?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: How to add email from Ticket within Contact in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/How-to-add-email-from-Ticket-within-Contact/m-p/1127341#M81141</link>
    <description>&lt;P&gt;Então antes de fazer o POST do Ticket, eu devo fazer um GET para o endpoint de contato que retornar aquele contato em especifico, pegar o ID e vincular no form? E se o usuário não tiver cadastro, caso seja a primeira vez? Vou ter que fazer um requisição de cadastro antes?&lt;/P&gt;</description>
    <pubDate>Tue, 25 Mar 2025 17:12:05 GMT</pubDate>
    <dc:creator>maxwellalvesgep</dc:creator>
    <dc:date>2025-03-25T17:12:05Z</dc:date>
    <item>
      <title>How to add email from Ticket within Contact</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/How-to-add-email-from-Ticket-within-Contact/m-p/1125536#M81068</link>
      <description>&lt;P&gt;PT:&lt;BR /&gt;Bom dia, fiz a integração de uma aplicação privada com o hubspot, onde a minha aplicação privada deve ser capaz de criar tickets dentro do hubspot, uma parte da integração já está "ok", porém, preciso vincular o "email" do usuário que criou o ticket a parte de contatos do hubspot. Pelo que entendi da DOC, eu deveria passar um novo parametro chamado "associations", mas eu não sei de onde vem os valores que essa propriedade precisa (vê imagem 1).&lt;/P&gt;&lt;P&gt;Para entendimento geral, olhar imagem 2.&lt;/P&gt;&lt;P&gt;EN:&lt;BR /&gt;Good morning, I integrated a private application with HubSpot, where my private application should be able to create tickets within HubSpot. Part of the integration is already "ok", however, I need to link the "email" of the user who created the ticket to the HubSpot contacts section. From what I understood from the DOC, I should pass a new parameter called "associations", but I don't know where the values ​​that this property needs come from (see image 1).&lt;/P&gt;&lt;P&gt;For a general understanding, see image 2.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image 1" style="width: 999px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/141488iF1227ABE0BDAEE98/image-size/large?v=v2&amp;amp;px=999" role="button" title="imagem-1.jpg" alt="image 1" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;image 1&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image 2" style="width: 999px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/141489iDA68221E4688F092/image-size/large?v=v2&amp;amp;px=999" role="button" title="imagem-2.jpg" alt="image 2" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;image 2&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Mar 2025 13:07:30 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/How-to-add-email-from-Ticket-within-Contact/m-p/1125536#M81068</guid>
      <dc:creator>maxwellalvesgep</dc:creator>
      <dc:date>2025-03-21T13:07:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to add email from Ticket within Contact</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/How-to-add-email-from-Ticket-within-Contact/m-p/1125767#M81076</link>
      <description>&lt;P&gt;Olá &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/918463"&gt;@maxwellalvesgep&lt;/a&gt;&lt;/SPAN&gt;, boa sexta!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Para vincular o email do usuário que criou o ticket ao contato no HubSpot, você está correto ao usar o parâmetro "associations". Esse parâmetro deve conter o ID do contato no HubSpot, que você pode obter ao criar ou atualizar o contato via API.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Quando o ticket for criado, você pode passar esse ID no campo "associations" para associá-lo ao contato.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Aos nossos colaboradores &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/122698"&gt;@Brenner&lt;/a&gt; e &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/76319"&gt;@DanielSanchez&lt;/a&gt;&lt;/SPAN&gt; alguma recomendação para &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/918463"&gt;@maxwellalvesgep&lt;/a&gt;&lt;/SPAN&gt;?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Obrigada,&lt;/P&gt;
&lt;P&gt;Pam&lt;/P&gt;</description>
      <pubDate>Fri, 21 Mar 2025 21:16:13 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/How-to-add-email-from-Ticket-within-Contact/m-p/1125767#M81076</guid>
      <dc:creator>PamCotton</dc:creator>
      <dc:date>2025-03-21T21:16:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to add email from Ticket within Contact</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/How-to-add-email-from-Ticket-within-Contact/m-p/1127341#M81141</link>
      <description>&lt;P&gt;Então antes de fazer o POST do Ticket, eu devo fazer um GET para o endpoint de contato que retornar aquele contato em especifico, pegar o ID e vincular no form? E se o usuário não tiver cadastro, caso seja a primeira vez? Vou ter que fazer um requisição de cadastro antes?&lt;/P&gt;</description>
      <pubDate>Tue, 25 Mar 2025 17:12:05 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/How-to-add-email-from-Ticket-within-Contact/m-p/1127341#M81141</guid>
      <dc:creator>maxwellalvesgep</dc:creator>
      <dc:date>2025-03-25T17:12:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to add email from Ticket within Contact</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/How-to-add-email-from-Ticket-within-Contact/m-p/1129638#M81266</link>
      <description>&lt;P&gt;Hi &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/918463"&gt;@maxwellalvesgep&lt;/a&gt;&lt;/SPAN&gt;, I hope that you are well!&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for reaching out to the HubSpot Community!&lt;BR /&gt;&lt;BR /&gt;For information, I'd like to share these documentation:&lt;BR /&gt;&lt;BR /&gt;- &lt;A href="https://developers.hubspot.com/docs/guides/api/crm/objects/tickets" target="_blank"&gt;Tickets API&lt;/A&gt;&lt;BR /&gt;- &lt;A href="https://developers.hubspot.com/docs/reference/api/crm/objects/tickets" target="_blank"&gt;Tickets&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;These threads might point you in the right direction:&lt;BR /&gt;&lt;BR /&gt;- The solution from &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/141"&gt;@TomM2&lt;/a&gt;&lt;/SPAN&gt; on this post "&lt;A href="https://community.hubspot.com/t5/APIs-Integrations/create-ticket-on-behalf-of-the-customer/m-p/1058367" target="_blank"&gt;create ticket on behalf of the customer&lt;/A&gt;"&lt;BR /&gt;- The solution from &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/9259"&gt;@Mike_Eastwood&lt;/a&gt;&lt;/SPAN&gt; on this post "&lt;A href="https://community.hubspot.com/t5/Tickets-Conversations/Add-an-email-to-a-ticket-by-API/m-p/277424" target="_blank"&gt;Add an email to a ticket by API&lt;/A&gt;"&lt;BR /&gt;&lt;BR /&gt;Also, I'd love to put you in touch with some of our Top Experts: Hi &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/122698"&gt;@Brenner&lt;/a&gt;, &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/601366"&gt;@sylvain_tirreau&lt;/a&gt;&lt;/SPAN&gt; and &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/857649"&gt;@Bhupendra_Kumar&lt;/a&gt;&lt;/SPAN&gt; do you have suggestions to help &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/918463"&gt;@maxwellalvesgep&lt;/a&gt;&lt;/SPAN&gt;, please?&lt;BR /&gt;&lt;BR /&gt;Have a lovely day and thanks so much for your help!&lt;BR /&gt;&lt;BR /&gt;Warmly,&lt;BR /&gt;Bérangère&lt;/P&gt;</description>
      <pubDate>Mon, 31 Mar 2025 09:33:11 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/How-to-add-email-from-Ticket-within-Contact/m-p/1129638#M81266</guid>
      <dc:creator>BérangèreL</dc:creator>
      <dc:date>2025-03-31T09:33:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to add email from Ticket within Contact</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/How-to-add-email-from-Ticket-within-Contact/m-p/1129908#M81279</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/230185"&gt;@BérangèreL&lt;/a&gt;&amp;nbsp;I solved my problem to using this steps:&lt;/P&gt;&lt;P&gt;1 - Get the form data (Email, title and description)&lt;/P&gt;&lt;P&gt;2 - Make a GET to the "Contacts" endpoint, passing the "email" to check if there is already a registration.&lt;/P&gt;&lt;P&gt;2.1 - If YES: Get the ID in the response returned.&lt;/P&gt;&lt;P&gt;2.2 - If NO: Make a POST to the "Contact" endpoint, get the ID from the response&lt;/P&gt;&lt;P&gt;3 - Make the POST to the Ticket endpoint with the associated ID.&lt;/P&gt;</description>
      <pubDate>Mon, 31 Mar 2025 20:01:49 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/How-to-add-email-from-Ticket-within-Contact/m-p/1129908#M81279</guid>
      <dc:creator>maxwellalvesgep</dc:creator>
      <dc:date>2025-03-31T20:01:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to add email from Ticket within Contact</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/How-to-add-email-from-Ticket-within-Contact/m-p/1130277#M81298</link>
      <description>&lt;P&gt;Hi &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/918463"&gt;@maxwellalvesgep&lt;/a&gt;&lt;/SPAN&gt;, I am so glad to hear that all is working for you now! &lt;span class="lia-unicode-emoji" title=":party_popper:"&gt;🎉&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;And thanks so much for sharing the solution with the HubSpot Community!&lt;BR /&gt;&lt;BR /&gt;Many Community Members will benefit from this too! &lt;span class="lia-unicode-emoji" title=":red_heart:"&gt;❤️&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Have a fantastic day! &lt;span class="lia-unicode-emoji" title=":sun_with_face:"&gt;🌞&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Warmly,&lt;BR /&gt;Bérangère&lt;/P&gt;</description>
      <pubDate>Tue, 01 Apr 2025 11:28:21 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/How-to-add-email-from-Ticket-within-Contact/m-p/1130277#M81298</guid>
      <dc:creator>BérangèreL</dc:creator>
      <dc:date>2025-04-01T11:28:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to add email from Ticket within Contact</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/How-to-add-email-from-Ticket-within-Contact/m-p/1131392#M81380</link>
      <description>&lt;P&gt;Exatamente isso,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/918463"&gt;@maxwellalvesgep&lt;/a&gt;&amp;nbsp;!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Precisa fazer um check na base se existe o contato, e caso sim, puxar o ID dele para associar ao objeto desejado.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Existe também, uma opção de quando associar o objetos entre si, adicionar uma "Association label". Isso a nível de negócio é muito interessante para ajudar a fazer segmentações mais localizadas de acordo com a label desejada:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Exemplo: Segmentar todos os contatos que estão associados a um negócio no pipeline de vendas com a label "Contato financeiro".&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/60427"&gt;@PamCotton&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/230185"&gt;@BérangèreL&lt;/a&gt;&amp;nbsp;for the tag here!&lt;/P&gt;</description>
      <pubDate>Thu, 03 Apr 2025 12:14:38 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/How-to-add-email-from-Ticket-within-Contact/m-p/1131392#M81380</guid>
      <dc:creator>Brenner</dc:creator>
      <dc:date>2025-04-03T12:14:38Z</dc:date>
    </item>
  </channel>
</rss>

