Triggering SMS when webhook payload is fired


#1

Hi hubspotters,
I have set a webhook for deal property changed which works well and I receive the payload at my url.
The usecase i am trying to solve is that whenever i receive the webhook payload I should be able to use the objectId received from the json payload and use it to fetch the deal details and then from the deal details fetch the company mobile number and send SMS to that mobile number.
I am using frontlinecloud to send SMSs and it gives an option to trigger SMS when a JSON payload is received at its endpoint. The Json payload that is required is in a different format and the Json posted by hubspot is in a different format. Only if I was able to convert the hubspot payload to frontline cloud required payload then the SMS will get triggered.
Thanks.