May 1, 2020 10:49 AM
I can see how the V3 API, once it has engagements, would provide what I need, but in the meantime how do I accomplish this?
This API returns too many engagements and doesn't allow me to filter on just notes:
I thought I could create a workflow that triggers on a new note, and sets the note body to a custom field in the company record, but the workflow doesn't seem to support getting the note body as token.
May 4, 2020 1:25 AM
Currently, there isn't a way to fitler engagements based on the engagement type and the best way here is to page through the response and implement a filter logic on your system to grab only the 'Notes' engagement type.
If you haven't already done so, I'd recommend for you to upvote and comment on this similar idea posted on our HubSpot idea page: HubSpot Community - Request for Engagement Type Filter in API - HubSpot Community. Hopefully this will gather more interest and make an impact on our product development.
May 4, 2020 10:07 AM
Thanks @WendyGoh, just voted on that idea. My first test returned hundreds of engagements. Your suggested approach would mean I would have to make an API call for each engagement to test if it's a note and the date/time. I'm afraid this would cause us to well exceed our API limits as each company would require hundreds of API calls.
May 4, 2020 10:27 PM