<?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: Identifying users in email conversation payload in Conversations API  Beta</title>
    <link>https://community.hubspot.com/t5/Conversations-API-Beta/Identifying-users-in-email-conversation-payload/m-p/602046#M35</link>
    <description>&lt;P&gt;That sounds great thank you! I think the direction field + the contacts API is going to allow omnichannel identification of users&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":raising_hands:"&gt;🙌&lt;/span&gt;!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We'll proceed accordingly, if any issues will let you know, otherwise will keep you updated on the development. Thanks again!&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 26 Mar 2022 07:16:18 GMT</pubDate>
    <dc:creator>Jupita_team</dc:creator>
    <dc:date>2022-03-26T07:16:18Z</dc:date>
    <item>
      <title>Identifying users in email conversation payload</title>
      <link>https://community.hubspot.com/t5/Conversations-API-Beta/Identifying-users-in-email-conversation-payload/m-p/598001#M24</link>
      <description>&lt;P&gt;We are trying to fetch email conversations through the web hook using &lt;A href="https://api.hubapi.com/conversations/v3/conversations/" target="_blank"&gt;https://api.hubapi.com/conversations/v3/conversations/&lt;/A&gt; api.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The issue is, we are unable to identify either user - how can we identify if the sender/receiver is either the Hubspot agent (user) or the customer?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We tried utilising&amp;nbsp; &lt;A href="https://api.hubapi.com/contacts/v1/contact/email/USERS_EMAIL_ADDRESS/profile" target="_blank"&gt;https://api.hubapi.com/contacts/v1/contact/email/USERS_EMAIL_ADDRESS/profile&lt;/A&gt; however we could not discover the parameter which could enable us to differentiate between the HubSpot agent or the customer...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please advise how this can be acheived, thank you!&lt;/P&gt;</description>
      <pubDate>Sun, 20 Mar 2022 12:43:30 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Conversations-API-Beta/Identifying-users-in-email-conversation-payload/m-p/598001#M24</guid>
      <dc:creator>Jupita_team</dc:creator>
      <dc:date>2022-03-20T12:43:30Z</dc:date>
    </item>
    <item>
      <title>Re: Identifying users in email conversation payload</title>
      <link>https://community.hubspot.com/t5/Conversations-API-Beta/Identifying-users-in-email-conversation-payload/m-p/598447#M25</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/345538"&gt;@Jupita_team&lt;/a&gt; !&lt;/P&gt;
&lt;P&gt;I believe the new Conversations beta is going to help you out here.&amp;nbsp; Specifically, the &lt;A href="https://developers.hubspot.com/docs/api/conversations/conversations#get-actors" target="_blank" rel="noopener"&gt;identify actors component&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Mar 2022 13:05:45 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Conversations-API-Beta/Identifying-users-in-email-conversation-payload/m-p/598447#M25</guid>
      <dc:creator>dennisedson</dc:creator>
      <dc:date>2022-03-21T13:05:45Z</dc:date>
    </item>
    <item>
      <title>Re: Identifying users in email conversation payload</title>
      <link>https://community.hubspot.com/t5/Conversations-API-Beta/Identifying-users-in-email-conversation-payload/m-p/598455#M26</link>
      <description>&lt;P&gt;Thanks Dennis! Will check this out asap &amp;amp; report back!&lt;BR /&gt;&lt;BR /&gt;Glad I found this group! We'll be using the conversations API to provide real-time conversational analytics for HubSpot users. Will provide feedback ongoing to help boost the overall value of this API.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also any idea how we disregard email signatures in the payload? Like just the message body only, without the HubSpot signature?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Vijay, FYI there is some bug in your welcome post, can't reply to it, see this screenshot (&lt;A href="https://ibb.co/JBBrcqC" target="_blank"&gt;https://ibb.co/JBBrcqC&lt;/A&gt;), it's asking me to sign in or verify my email address to reply, other posts in this group not having same issue...&lt;/P&gt;</description>
      <pubDate>Mon, 21 Mar 2022 13:19:24 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Conversations-API-Beta/Identifying-users-in-email-conversation-payload/m-p/598455#M26</guid>
      <dc:creator>Jupita_team</dc:creator>
      <dc:date>2022-03-21T13:19:24Z</dc:date>
    </item>
    <item>
      <title>Re: Identifying users in email conversation payload</title>
      <link>https://community.hubspot.com/t5/Conversations-API-Beta/Identifying-users-in-email-conversation-payload/m-p/598468#M27</link>
      <description>&lt;P&gt;Welcome! We're very excited to see what you build with our APIs. Your feedback will be very helpful! To answer your question:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/345538"&gt;@Jupita_team&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;Also any idea how we disregard email signatures in the payload? Like just the message body only, without the HubSpot signature?&amp;nbsp;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;This is not something that we support - the signature is stored as part of the message body. If you're using an HTML parser, you can identify HubSpot signature div elements as such:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;div class=hs_signature&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Paul&lt;/P&gt;</description>
      <pubDate>Mon, 21 Mar 2022 13:32:48 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Conversations-API-Beta/Identifying-users-in-email-conversation-payload/m-p/598468#M27</guid>
      <dc:creator>pleninger</dc:creator>
      <dc:date>2022-03-21T13:32:48Z</dc:date>
    </item>
    <item>
      <title>Re: Identifying users in email conversation payload</title>
      <link>https://community.hubspot.com/t5/Conversations-API-Beta/Identifying-users-in-email-conversation-payload/m-p/598469#M28</link>
      <description>&lt;P&gt;This API is not working for "E-" actor email types...&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We pass this -&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;A href="https://api.hubapi.com/conversations/v3/conversations/actors/E-support@21582528.hs-inbox.com" target="_blank"&gt;https://api.hubapi.com/conversations/v3/conversations/actors/E-support@21582528.hs-inbox.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We get this -&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;{ "status": "error", "message": "ActorType `EMAIL` is not supported for `getting`.", "correlationId": "f919661b-5c54-4999-a193-4d22279f4be2", "context": { "actorType": [ "EMAIL" ], "operation": [ "getting" ] }, "category": "VALIDATION_ERROR", "subCategory": "ConversationsApiError.UNSUPPORTED_ACTOR_TYPE" }&lt;/P&gt;</description>
      <pubDate>Mon, 21 Mar 2022 13:33:50 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Conversations-API-Beta/Identifying-users-in-email-conversation-payload/m-p/598469#M28</guid>
      <dc:creator>Jupita_team</dc:creator>
      <dc:date>2022-03-21T13:33:50Z</dc:date>
    </item>
    <item>
      <title>Re: Identifying users in email conversation payload</title>
      <link>https://community.hubspot.com/t5/Conversations-API-Beta/Identifying-users-in-email-conversation-payload/m-p/599562#M29</link>
      <description>&lt;P&gt;Good afternoon,&lt;/P&gt;&lt;P&gt;Thanks for letting us know about this. This should be fixed now. Please let me know if you run into any more issues.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Paul&lt;/P&gt;</description>
      <pubDate>Tue, 22 Mar 2022 19:53:20 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Conversations-API-Beta/Identifying-users-in-email-conversation-payload/m-p/599562#M29</guid>
      <dc:creator>pleninger</dc:creator>
      <dc:date>2022-03-22T19:53:20Z</dc:date>
    </item>
    <item>
      <title>Re: Identifying users in email conversation payload</title>
      <link>https://community.hubspot.com/t5/Conversations-API-Beta/Identifying-users-in-email-conversation-payload/m-p/599941#M30</link>
      <description>&lt;P&gt;Hi Paul,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://api.hubapi.com/conversations/v3/conversations/actors/E-support@21582528.hs-inbox.com" target="_blank"&gt;https://api.hubapi.com/conversations/v3/conversations/actors/E-support@21582528.hs-inbox.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This API is now working, however, in response we are only receiving;&lt;BR /&gt;&lt;BR /&gt;{&lt;/P&gt;&lt;P&gt;"id": "mailto:e-support@21582528.hs-inbox.com",&lt;/P&gt;&lt;P&gt;"email": "mailto:support@21582528.hs-inbox.com",&lt;/P&gt;&lt;P&gt;"type": "EMAIL"&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From this response we are still unsure whether this Actor type is the Hubspot User Agent or the customer, also it does not return the name of the user associated with this email id.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;We would like to be able to identify which user type has sent the email message&lt;/STRONG&gt; (HubSpot User Agent or customer), &lt;STRONG&gt;as well as the names of the users involved&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;These identifiers are currently able to be returned for the LIVE_CHAT, FB_MESSENGER, WHATSAPP &amp;amp; CUSTOMER_PORTAL_THREAD_VIEW channels if I'm not mistaken.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2022 11:32:13 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Conversations-API-Beta/Identifying-users-in-email-conversation-payload/m-p/599941#M30</guid>
      <dc:creator>Jupita_team</dc:creator>
      <dc:date>2022-03-23T11:32:13Z</dc:date>
    </item>
    <item>
      <title>Re: Identifying users in email conversation payload</title>
      <link>https://community.hubspot.com/t5/Conversations-API-Beta/Identifying-users-in-email-conversation-payload/m-p/600470#M31</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Another field you can look at on messages is the &lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;direction&lt;/FONT&gt;&lt;/STRONG&gt; field:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;"INCOMING": the message was received as an incoming message from a contact&lt;/LI&gt;
&lt;LI&gt;"OUTGOING": the message was sent as an outgoing message by a HubSpot user&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For incoming messages, the sender's actor ID should be a contact (a "V-..." actor ID).&lt;/P&gt;
&lt;P&gt;For outgoing messages, the sender's actor ID should be a HubSpot user (a "A-..." actor ID).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We don't currently compute specific actor IDs for recipients of email messages (which is why those just use "E-..." actor IDs with only email addresses). Out of curiosity, would it be useful for you to have more specific actor IDs (i.e. not "E-..." ones) for recipients of outgoing emails?&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2022 22:39:58 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Conversations-API-Beta/Identifying-users-in-email-conversation-payload/m-p/600470#M31</guid>
      <dc:creator>jhartz</dc:creator>
      <dc:date>2022-03-23T22:39:58Z</dc:date>
    </item>
    <item>
      <title>Re: Identifying users in email conversation payload</title>
      <link>https://community.hubspot.com/t5/Conversations-API-Beta/Identifying-users-in-email-conversation-payload/m-p/600491#M32</link>
      <description>&lt;P&gt;Thanks Jake, we'll take a look at the direction field &amp;amp; report back, that sounds like it might work.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We provide conversational analytics, we're able to allow HubSpot users to easily integrate with our platform by providing a read-only permission for all their HubSpot powered communications. All we require is to know who is speaking, across any channel - web chat, email etc. Without this it's not possible to provide HubSpot users analytics on their agents, customers &amp;amp; conversations as there are no identifiers.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For eg, Jane Smith is a HubSpot agent, Jane jumps on a live chat with John Jones (customer), we're able to receive the identifiers for those users from other channels such as LIVE_CHAT, etc. However, if Jane Smith then emails John Jones after their chat... there is no way to thread the conversations together and the ability for analytics to continue falls down.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This functionality seems to be lacking for the email channel only, unless I'm missing something?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2022 23:37:47 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Conversations-API-Beta/Identifying-users-in-email-conversation-payload/m-p/600491#M32</guid>
      <dc:creator>Jupita_team</dc:creator>
      <dc:date>2022-03-23T23:37:47Z</dc:date>
    </item>
    <item>
      <title>Re: Identifying users in email conversation payload</title>
      <link>https://community.hubspot.com/t5/Conversations-API-Beta/Identifying-users-in-email-conversation-payload/m-p/600495#M33</link>
      <description>&lt;P&gt;Just to clarify further, if we're marking live chat messages by Jane as 'Jane Smith' we need the same ID for the email messages, we can't join 'Jane Smith' and 'jsmith@abc.com' together... the identifiers have to be the same for the same users.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2022 23:41:13 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Conversations-API-Beta/Identifying-users-in-email-conversation-payload/m-p/600495#M33</guid>
      <dc:creator>Jupita_team</dc:creator>
      <dc:date>2022-03-23T23:41:13Z</dc:date>
    </item>
    <item>
      <title>Re: Identifying users in email conversation payload</title>
      <link>https://community.hubspot.com/t5/Conversations-API-Beta/Identifying-users-in-email-conversation-payload/m-p/600955#M34</link>
      <description>&lt;P&gt;Good morning,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for elaborating. Messages sent by an agent from HubSpot (Email, Live Chat or otherwise) should have an &lt;STRONG&gt;Agent&lt;/STRONG&gt; actor id type that is consistent across channels, so you should be able to identify any messages sent by Jane across any channel.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are two cases where we use the &lt;STRONG&gt;Email&lt;/STRONG&gt; actor type:&lt;/P&gt;&lt;P&gt;- Recipient of incoming emails: when a message is sent to a shared inbox, it is not possible to resolve this to an&amp;nbsp;&lt;STRONG&gt;Agent&lt;/STRONG&gt;, since the &lt;STRONG&gt;Agent&lt;/STRONG&gt;&amp;nbsp;actor type represents an individual human.&lt;/P&gt;&lt;P&gt;- Recipient of outgoing email: when a message is sent from HubSpot to a customer (John, in your example), the recipient of the message is assigned an &lt;STRONG&gt;Email&lt;/STRONG&gt; actor type, even though we might be able to resolve to a &lt;STRONG&gt;Visitor&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It sounds like the latter is currently the pain point.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the absence of more specific actor types, you should still be able to accomplish what you are looking for by using the &lt;A href="https://developers.hubspot.com/docs/api/crm/contacts" target="_blank"&gt;Contacts API&lt;/A&gt;. You can use the recipient email to look up the contact of the user, and use that ID to match with the Actor ID of the chatter.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Mar 2022 14:54:22 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Conversations-API-Beta/Identifying-users-in-email-conversation-payload/m-p/600955#M34</guid>
      <dc:creator>pleninger</dc:creator>
      <dc:date>2022-03-24T14:54:22Z</dc:date>
    </item>
    <item>
      <title>Re: Identifying users in email conversation payload</title>
      <link>https://community.hubspot.com/t5/Conversations-API-Beta/Identifying-users-in-email-conversation-payload/m-p/602046#M35</link>
      <description>&lt;P&gt;That sounds great thank you! I think the direction field + the contacts API is going to allow omnichannel identification of users&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":raising_hands:"&gt;🙌&lt;/span&gt;!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We'll proceed accordingly, if any issues will let you know, otherwise will keep you updated on the development. Thanks again!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 26 Mar 2022 07:16:18 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Conversations-API-Beta/Identifying-users-in-email-conversation-payload/m-p/602046#M35</guid>
      <dc:creator>Jupita_team</dc:creator>
      <dc:date>2022-03-26T07:16:18Z</dc:date>
    </item>
    <item>
      <title>Re: Identifying users in email conversation payload</title>
      <link>https://community.hubspot.com/t5/Conversations-API-Beta/Identifying-users-in-email-conversation-payload/m-p/602667#M36</link>
      <description>&lt;P&gt;Hi all, just wanted to report back that everything appears to have gone smooth with development, direction field + contacts API worked a charm, as did the HTML parser to disregard email signatures. Initial testing looks good.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Really appreciate the help with this one, cheers guys!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Alexander.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Mar 2022 11:42:20 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Conversations-API-Beta/Identifying-users-in-email-conversation-payload/m-p/602667#M36</guid>
      <dc:creator>Jupita_team</dc:creator>
      <dc:date>2022-03-28T11:42:20Z</dc:date>
    </item>
  </channel>
</rss>

