<?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: Trigger webhook on adding note to a company. in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Trigger-webhook-on-adding-note-to-a-company/m-p/860106#M67979</link>
    <description>&lt;P&gt;Thanks &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/426475"&gt;@coldrickjack&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But in fact&amp;nbsp;&lt;SPAN&gt;the&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"Last Activity Date" property is&amp;nbsp;&lt;STRONG&gt;NOT&lt;/STRONG&gt;&amp;nbsp;updated on the Company when we MODIFY a Note attached to the Company (&lt;U&gt;ONLY updated when &lt;STRONG&gt;first created&lt;/STRONG&gt;&lt;/U&gt;&lt;STRONG&gt;)&lt;/STRONG&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I think...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 05 Oct 2023 13:14:56 GMT</pubDate>
    <dc:creator>brusky07</dc:creator>
    <dc:date>2023-10-05T13:14:56Z</dc:date>
    <item>
      <title>Trigger webhook on adding note to a company.</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Trigger-webhook-on-adding-note-to-a-company/m-p/833185#M66389</link>
      <description>&lt;P&gt;Hi All, I had a query regarding webhooks. I've some companies stored in hubspot. Is it possible to call a webhook when I will add notes to a company?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Aug 2023 13:16:33 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Trigger-webhook-on-adding-note-to-a-company/m-p/833185#M66389</guid>
      <dc:creator>Akamran</dc:creator>
      <dc:date>2023-08-11T13:16:33Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger webhook on adding note to a company.</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Trigger-webhook-on-adding-note-to-a-company/m-p/833235#M66392</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/613960"&gt;@Akamran&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Currently it is not possible to create webhooks for events happening directly on Engagement objects (Emails, Notes, Tasks, Meetings and Calls).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However an alternative solution to consider is to create a webhook that is triggered anytime the "Last Activity Date" property is updated on the Company. This records the&amp;nbsp;last time a call, chat conversation, LinkedIn message, postal mail, meeting, note, sales email, SMS, or WhatsApp message was logged for a company.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;See an example of my webhook in my app:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2023-08-11 at 15.24.59.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/96740i25063D98CFA6951C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2023-08-11 at 15.24.59.png" alt="Screenshot 2023-08-11 at 15.24.59.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Anytime I log a note (or any type of engagement for that matter) the webhook is fired and my endpoint receives the payload below:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;[
    {
        "eventId": 2045645441,
        "subscriptionId": 2219950,
        "portalId": 141307928,
        "appId": 1914445,
        "occurredAt": 1691763855124,
        "subscriptionType": "company.propertyChange",
        "attemptNumber": 0,
        "objectId": 8240965055,
        "propertyName": "notes_last_updated",
        "propertyValue": "1691763854789",
        "changeSource": "ENGAGEMENTS",
        "sourceId": "ObjectPropertyUpdater"
    }
]&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What you then need to do in order to get the specific engagement information is use the objectId (this is the Company Id) in the payload to retrieve associated engagements. So using the &lt;A href="https://developers.hubspot.com/docs/api/crm/companies" target="_blank" rel="noopener"&gt;CRM Companies API&lt;/A&gt; with the associations parameter we can make a request like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;GET https://api.hubapi.com/crm/v3/objects/companies/8240965055?associations=note
RESPONSE
{
    "id": "8240965055",
    "properties": {
        "createdate": "2023-08-11T14:23:55.046Z",
        "domain": "marvel.com",
        "hs_lastmodifieddate": "2023-08-11T14:24:34.991Z",
        "hs_object_id": "8240965055",
        "name": "Marvel"
    },
    "createdAt": "2023-08-11T14:23:55.046Z",
    "updatedAt": "2023-08-11T14:24:34.991Z",
    "archived": false,
    "associations": {
        "notes": {
            "results": [
                {
                    "id": "19456202967",
                    "type": "company_to_note"
                },
                {
                    "id": "19456203473",
                    "type": "company_to_note"
                }
            ]
        }
    }
}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Notice the associations object returned in the response. This contains the ID of all engagements (Notes) on the Company. To get specific information we can use the &lt;A href="https://developers.hubspot.com/docs/api/crm/notes" target="_blank" rel="noopener"&gt;CRM Engagements&lt;/A&gt; endpoint like so:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;GET https://api.hubapi.com/crm/v3/objects/notes/19456202967?properties=hs_note_body
RESPONSE
    "id": "19456202967",
    "properties": {
        "hs_createdate": "2023-08-11T14:24:14.789Z",
        "hs_lastmodifieddate": "2023-08-11T14:24:14.789Z",
        "hs_note_body": "&amp;lt;div style=\"\" dir=\"auto\" data-top-level=\"true\"&amp;gt;&amp;lt;p style=\"margin:0;\"&amp;gt;This is a note&amp;lt;/p&amp;gt;&amp;lt;/div&amp;gt;",
        "hs_object_id": "19456202967"
    },
    "createdAt": "2023-08-11T14:24:14.789Z",
    "updatedAt": "2023-08-11T14:24:14.789Z",
    "archived": false
}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It's not perfect but it's the only way to achieve what you are trying to do. At least until a point in time where HubSpot supports creating webhooks directly for Engagements.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope it helps and good luck in your project.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Aug 2023 14:35:05 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Trigger-webhook-on-adding-note-to-a-company/m-p/833235#M66392</guid>
      <dc:creator>coldrickjack</dc:creator>
      <dc:date>2023-08-11T14:35:05Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger webhook on adding note to a company.</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Trigger-webhook-on-adding-note-to-a-company/m-p/842574#M67020</link>
      <description>&lt;P&gt;Many thanks for this.&lt;BR /&gt;But it seems that the&amp;nbsp;&lt;SPAN&gt;"Last Activity Date" property is &lt;STRONG&gt;NOT&lt;/STRONG&gt; updated on the Company where we MODIFY a Note attached to the Company (ONLY updated when first created).&lt;BR /&gt;Or is there another way ?&lt;BR /&gt;Many thanks&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Aug 2023 16:30:17 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Trigger-webhook-on-adding-note-to-a-company/m-p/842574#M67020</guid>
      <dc:creator>brusky07</dc:creator>
      <dc:date>2023-08-30T16:30:17Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger webhook on adding note to a company.</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Trigger-webhook-on-adding-note-to-a-company/m-p/842582#M67022</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/151227"&gt;@bru&lt;/a&gt;,&amp;nbsp;unfortunatley not I'm afraid.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The original use was to support triggering a webhook when a note was created, whilst we can't directly subscribe to those events on the engagement object itself we can use the "Last Activity Date" as mentioned. It's a company property that represents the time a note was last logged (added) to the record.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There isn't a company property that stores the last time an update was made to a given note. I've also tested to see if at the very least "hs_lastmodifieddate" would update but from my testing it does not.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The only option at present (that I can see) is to poll for changes periodically using the &lt;A href="https://developers.hubspot.com/docs/api/crm/notes" target="_blank" rel="noopener"&gt;Engagments API&lt;/A&gt;. The ideal of course would be to configure a webhook to detect updates on the engagement itself but it's not supported by HubSpot at the moment and I'm not sure if and when HubSpot plans to support it either.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Aug 2023 16:42:22 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Trigger-webhook-on-adding-note-to-a-company/m-p/842582#M67022</guid>
      <dc:creator>coldrickjack</dc:creator>
      <dc:date>2023-08-30T16:42:22Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger webhook on adding note to a company.</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Trigger-webhook-on-adding-note-to-a-company/m-p/843123#M67070</link>
      <description>Many thanks ! In fact I had reached the same conclusion, but then I'm happy to have your confirmation !&lt;BR /&gt;Many thanks for your help !&lt;BR /&gt;</description>
      <pubDate>Thu, 31 Aug 2023 14:46:37 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Trigger-webhook-on-adding-note-to-a-company/m-p/843123#M67070</guid>
      <dc:creator>brusky07</dc:creator>
      <dc:date>2023-08-31T14:46:37Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger webhook on adding note to a company.</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Trigger-webhook-on-adding-note-to-a-company/m-p/859772#M67955</link>
      <description>&lt;P&gt;What is the propertyValue in the initial webhook payload above?&amp;nbsp;&lt;/P&gt;&lt;P&gt;"propertyValue": "1691763854789",&lt;/P&gt;&lt;P&gt;It appears to be a numer ic identifier. What does that number represent and can a lookup be performed to get a string value of what it represents?&lt;/P&gt;</description>
      <pubDate>Wed, 04 Oct 2023 21:57:35 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Trigger-webhook-on-adding-note-to-a-company/m-p/859772#M67955</guid>
      <dc:creator>VBossio</dc:creator>
      <dc:date>2023-10-04T21:57:35Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger webhook on adding note to a company.</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Trigger-webhook-on-adding-note-to-a-company/m-p/859797#M67956</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/641123"&gt;@VBossio&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It's a UNIX timestamp (&lt;SPAN&gt;1691763854789)&amp;nbsp;&lt;/SPAN&gt;and represents the date (Fri Aug 11 2023) the note was last updated. You'd need to convert that in your code to get a readable date.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Oct 2023 23:33:47 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Trigger-webhook-on-adding-note-to-a-company/m-p/859797#M67956</guid>
      <dc:creator>coldrickjack</dc:creator>
      <dc:date>2023-10-04T23:33:47Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger webhook on adding note to a company.</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Trigger-webhook-on-adding-note-to-a-company/m-p/860075#M67975</link>
      <description>Thank you, was able to figure that out actually.&lt;BR /&gt;That's kind of odd though, wouldn't the NoteId (or EngagementId) what was changed be more useful?&lt;BR /&gt;Then you could get the last updated date/time from the Note/Engagement.&lt;BR /&gt;Not having a webhook for Note changes is a huge issue.&lt;BR /&gt;How do you suggest handling bi-directional Notes updates between Hubspot and another system?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 05 Oct 2023 12:38:16 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Trigger-webhook-on-adding-note-to-a-company/m-p/860075#M67975</guid>
      <dc:creator>VBossio</dc:creator>
      <dc:date>2023-10-05T12:38:16Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger webhook on adding note to a company.</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Trigger-webhook-on-adding-note-to-a-company/m-p/860101#M67977</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/641123"&gt;@VBossio&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Absolutely, I agree that lack of webhook support for Engagements is an issue. I don't work at HubSpot so unfortunatley have no visibility as to if and when they plan to support this.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Until they do the only real workarounds are similar to the one in this thread, whereby we use the "&lt;SPAN&gt;Last Activity Date" to detect when an Engagement was updated on a company or any CRM record and then retrieve the associated Engagements for that object.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Oct 2023 13:10:44 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Trigger-webhook-on-adding-note-to-a-company/m-p/860101#M67977</guid>
      <dc:creator>coldrickjack</dc:creator>
      <dc:date>2023-10-05T13:10:44Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger webhook on adding note to a company.</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Trigger-webhook-on-adding-note-to-a-company/m-p/860106#M67979</link>
      <description>&lt;P&gt;Thanks &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/426475"&gt;@coldrickjack&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But in fact&amp;nbsp;&lt;SPAN&gt;the&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"Last Activity Date" property is&amp;nbsp;&lt;STRONG&gt;NOT&lt;/STRONG&gt;&amp;nbsp;updated on the Company when we MODIFY a Note attached to the Company (&lt;U&gt;ONLY updated when &lt;STRONG&gt;first created&lt;/STRONG&gt;&lt;/U&gt;&lt;STRONG&gt;)&lt;/STRONG&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I think...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Oct 2023 13:14:56 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Trigger-webhook-on-adding-note-to-a-company/m-p/860106#M67979</guid>
      <dc:creator>brusky07</dc:creator>
      <dc:date>2023-10-05T13:14:56Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger webhook on adding note to a company.</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Trigger-webhook-on-adding-note-to-a-company/m-p/860114#M67980</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/262829"&gt;@brusky07&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes, apologies, there is quite a lot of back and forth in the thread but I recall that we spoke about this so I would defer back to my original answer on that &lt;A href="https://community.hubspot.com/t5/APIs-Integrations/Trigger-webhook-on-adding-note-to-a-company/m-p/842582/highlight/true#M67022" target="_blank" rel="noopener"&gt;here&lt;/A&gt;. In short:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;If you are simply hoping to trigger a webhook when a note is added the approach of using "Last Activity Date" will work.&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;If you are hoping to trigger a webhook when a note is updated the approach of using "Last Activity Date" will not work. Instead you need to poll the Engagements API.&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Thu, 05 Oct 2023 13:20:09 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Trigger-webhook-on-adding-note-to-a-company/m-p/860114#M67980</guid>
      <dc:creator>coldrickjack</dc:creator>
      <dc:date>2023-10-05T13:20:09Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger webhook on adding note to a company.</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Trigger-webhook-on-adding-note-to-a-company/m-p/860117#M67981</link>
      <description>Thank you, I understand it's difficult to project what Hubspot will do since you are no longer working there.&lt;BR /&gt;The workaround would be fine, except I tested as follows and it doesn't look like "updates" to Engagements (changing a Note for example) change anything in the Company object:&lt;BR /&gt;&lt;BR /&gt;1. Called the get company by Id API endpoint with all properties and saved the response JSON.&lt;BR /&gt;2. Changed a Note that is associated with the company.&lt;BR /&gt;3. Called the get company by Id API endpoint again with all properties and saved the response JSON&lt;BR /&gt;4. The JSON saved in Steps 1 and 3 was identical.&lt;BR /&gt;It appears that only adding new Engagements updates the company Last Activity Date.&lt;BR /&gt;</description>
      <pubDate>Thu, 05 Oct 2023 13:21:16 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Trigger-webhook-on-adding-note-to-a-company/m-p/860117#M67981</guid>
      <dc:creator>VBossio</dc:creator>
      <dc:date>2023-10-05T13:21:16Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger webhook on adding note to a company.</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Trigger-webhook-on-adding-note-to-a-company/m-p/860128#M67983</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/426475"&gt;@coldrickjack&lt;/a&gt;&amp;nbsp;, understood, many thanks for your confirmation.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Oct 2023 13:26:11 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Trigger-webhook-on-adding-note-to-a-company/m-p/860128#M67983</guid>
      <dc:creator>brusky07</dc:creator>
      <dc:date>2023-10-05T13:26:11Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger webhook on adding note to a company.</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Trigger-webhook-on-adding-note-to-a-company/m-p/860135#M67984</link>
      <description>&lt;P&gt;No worries&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/262829"&gt;@brusky07&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/641123"&gt;@VBossio&lt;/a&gt;.&amp;nbsp;I hope that it was in some way helpful and wish you best of luck with the project moving forward. Hopefully we will see support for Engagment Webhooks in the not to distant future!!!&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":crossed_fingers:"&gt;🤞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Oct 2023 13:28:27 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Trigger-webhook-on-adding-note-to-a-company/m-p/860135#M67984</guid>
      <dc:creator>coldrickjack</dc:creator>
      <dc:date>2023-10-05T13:28:27Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger webhook on adding note to a company.</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Trigger-webhook-on-adding-note-to-a-company/m-p/862297#M68096</link>
      <description>&lt;P&gt;I have found this endpoint which can be used to return all engagements with a last modified date "since" a value that you can provide as a parameter.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://legacydocs.hubspot.com/docs/methods/engagements/get-recent-engagements" target="_blank"&gt;https://legacydocs.hubspot.com/docs/methods/engagements/get-recent-engagements&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The "since" value has to be provided in UNIX timestamp format but it appears to work.&amp;nbsp; My only concern is that this specific endpoint is only available with API v1 and that it may be deprecated at some point.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Oct 2023 14:49:09 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Trigger-webhook-on-adding-note-to-a-company/m-p/862297#M68096</guid>
      <dc:creator>VBossio</dc:creator>
      <dc:date>2023-10-10T14:49:09Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger webhook on adding note to a company.</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Trigger-webhook-on-adding-note-to-a-company/m-p/968108#M73192</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/426475"&gt;@coldrickjack&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;I'm not able to find the event which you subscribe for notes.&amp;nbsp;&lt;BR /&gt;Can you please guide me from where I can get the &lt;STRONG&gt;notes_last_updated&amp;nbsp;&lt;/STRONG&gt;event in webHook?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;notes_last_updated&amp;nbsp;&lt;/STRONG&gt; it is available while creating a WorkFlow.&lt;BR /&gt;Let me correct If I'm wrong.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Apr 2024 10:21:06 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Trigger-webhook-on-adding-note-to-a-company/m-p/968108#M73192</guid>
      <dc:creator>JPrajapati3</dc:creator>
      <dc:date>2024-04-29T10:21:06Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger webhook on adding note to a company.</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Trigger-webhook-on-adding-note-to-a-company/m-p/969164#M73236</link>
      <description>&lt;P&gt;i am unable to find last activity date property&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2024 13:32:04 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Trigger-webhook-on-adding-note-to-a-company/m-p/969164#M73236</guid>
      <dc:creator>mharis7</dc:creator>
      <dc:date>2024-04-30T13:32:04Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger webhook on adding note to a company.</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Trigger-webhook-on-adding-note-to-a-company/m-p/969166#M73238</link>
      <description>&lt;P&gt;same man&lt;/P&gt;&lt;P&gt;let me know if you find something&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2024 13:33:10 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Trigger-webhook-on-adding-note-to-a-company/m-p/969166#M73238</guid>
      <dc:creator>mharis7</dc:creator>
      <dc:date>2024-04-30T13:33:10Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger webhook on adding note to a company.</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Trigger-webhook-on-adding-note-to-a-company/m-p/969718#M73277</link>
      <description>&lt;P&gt;i dont have notes_last_updated option in company i have this inside contact&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/426475"&gt;@coldrickjack&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 May 2024 10:21:10 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Trigger-webhook-on-adding-note-to-a-company/m-p/969718#M73277</guid>
      <dc:creator>mharis7</dc:creator>
      <dc:date>2024-05-01T10:21:10Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger webhook on adding note to a company.</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Trigger-webhook-on-adding-note-to-a-company/m-p/970680#M73310</link>
      <description>&lt;P&gt;Hey, &lt;SPAN class="mention" data-mention="@mharis7"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/753948"&gt;@mharis7&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/753142"&gt;@JPrajapati3&lt;/a&gt;&amp;nbsp;&lt;/SPAN&gt;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":waving_hand:"&gt;👋&lt;/span&gt; I tested this in my portal and was able to create the webhook. You may need to &lt;STRONG&gt;manually&lt;/STRONG&gt; paste the value into the webhook editor.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CleanShot 2024-05-02 at 15.07.12.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/116688iF431851028C0EFF1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="CleanShot 2024-05-02 at 15.07.12.png" alt="CleanShot 2024-05-02 at 15.07.12.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Additionally, you can search for this property using the Properties API. Example:&lt;/P&gt;
&lt;P&gt;Request&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;curl --request GET \
  --url 'https://api.hubapi.com/crm/v3/properties/company/notes_last_updated?archived=false' \
  --header 'authorization: Bearer YOUR_ACCESS_TOKEN'&lt;/LI-CODE&gt;
&lt;P&gt;Response&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;HTTP 200

{
  "updatedAt": "2023-06-26T20:53:54.382Z",
  "createdAt": "2020-06-30T15:57:37.548Z",
  "name": "notes_last_updated",
  "label": "Last Activity Date",
  "type": "datetime",
  "fieldType": "date",
  "description": "The last time a call, chat conversation, LinkedIn message, postal mail, meeting, note, sales email, SMS, or WhatsApp message was logged for a company. This is set automatically by HubSpot based on user actions in the company record.",
  "groupName": "company_activity",
  "options": [],
  "displayOrder": 6,
  "calculated": false,
  "externalOptions": false,
  "hasUniqueValue": false,
  "hidden": false,
  "hubspotDefined": true,
  "modificationMetadata": {
    "archivable": true,
    "readOnlyDefinition": true,
    "readOnlyValue": true
  },
  "formField": false,
  "dataSensitivity": "non_sensitive"
}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have fun building! — Jaycee&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 May 2024 21:10:26 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Trigger-webhook-on-adding-note-to-a-company/m-p/970680#M73310</guid>
      <dc:creator>Jaycee_Lewis</dc:creator>
      <dc:date>2024-05-02T21:10:26Z</dc:date>
    </item>
  </channel>
</rss>

