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_outcome
RESPONSE
{'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 ?