Question

to get and then change the engagement ( meeting ) in HubSpot activities

  • 8 February 2023
  • 4 replies
  • 176 views

Userlevel 1

Hello dear zapiers !

Could you please share a workaround how is it possible to change hubspot engagement - meetings - meeting outcome , to “canceled” using zapier ? 

I could not find any standard zapier action for this but found that it is possible using API requests ( GET / POST )

 

Something like this : 

GET /crm/v3/objects/meetings/30810670631?properties=hs_meeting_outcomeRESPONSE
{'archived': False,
'archived_at': None,
'associations': None,
'created_at': datetime.datetime(2023, 2, 3, 13, 11, 43, 672000, tzinfo=tzlocal()),
'id': '30810670631',
'properties': {'hs_createdate': '2023-02-03T13:11:43.672Z',
'hs_lastmodifieddate': '2023-02-07T10:57:59.931Z',
'hs_meeting_outcome': 'CANCELED',
'hs_object_id': '30810670631'},
'properties_with_history': None,
'updated_at': datetime.datetime(2023, 2, 7, 10, 57, 59, 931000, tzinfo=tzlocal())}

But found problems with authorization ( there are only standard login password type of authorization ) for standart API requests from Hubspot side 

 

So I created a private hubspot app ( it has authorization token ) but it needs the custom code request in zapier : 

const res = await fetch('http://api.hubapi.com/crm/v3/objects/deals/' + dealId + '?associations=meeting', {
method: 'GET',
headers: new Headers({
'Authorization': 'Bearer ' + token,
'Content-Type': 'application/json'
}
});

 

tried with different tokens and the same result 

Maybe there was already a workaround for such task ? 

 

 


This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

4 replies

Userlevel 7
Badge +8

Hi @well 

 

What are Meetings Considered as in HubSpot? Are they Associations? 

Userlevel 1

Hi @well 

 

What are Meetings Considered as in HubSpot? Are they Associations? 

Meetings Considered engagements as far as I know 

https://developers.hubspot.com/docs/api/crm/meetings

Did you figure out how to do this? I’m in need of something similar. 

Userlevel 1

Still no , I am not very confident with the code