I’m looking to send a json containing to a webservice on salesforce that will create/updates relevant objects in my org. I wanted to know if this is possible using the custom request in webhooks by zapier's.
Anyone ever tried this before ?
Thanks.
Best answer by riminder
Hello @Danvers ,
Indeed, I was able to send json to salesforce Web Service that was used to create relevant items in the org. This was done through two webhook steps:
1 st webhook step (type: POST request) : used the POST method to get the access token. I used the following params : client_id, client_secret, username, password, grant_type
2nd webhook step (type: Custom request) : used the POST method also to send my data in a json format. The request contained 2 Headers: content-type and authorization with the access token from the previous step.
I can see from your conversation with the Support Team that you were able to solve this by sending requests to Salesforce Webservice. Are you able to share any details that might help another member that’s looking to do the same thing?
Indeed, I was able to send json to salesforce Web Service that was used to create relevant items in the org. This was done through two webhook steps:
1 st webhook step (type: POST request) : used the POST method to get the access token. I used the following params : client_id, client_secret, username, password, grant_type
2nd webhook step (type: Custom request) : used the POST method also to send my data in a json format. The request contained 2 Headers: content-type and authorization with the access token from the previous step.