I am look for examples of what all of yall smart people have done to create a webhook to automation studio.
I have some methods but my fields do not show in the json payload of automation studio.
What i am trying to do is send some information from kinetic to hubspot when ever the sales order gets update and a data tag is not present. We have been seeing some inconsistanies with data updates due to licenses when we hit the maxium licenses when it has to come back and search for data tag data.
using (HttpClient client = new HttpClient())
{
client.BaseAddress = new Uri("https://webhooks.workato.com/webhooks/rest/053c890d-da7d-47c9-ae83-f79336502a62/updatedealfromsalesorder");
client.DefaultRequestHeaders.Accept.Clear();
client.DefaultRequestHeaders.Accept.Add(new MediaTypeWithQualityHeaderValue("application/json"));
// Example of a POST request
var content = new StringContent("{\"SalesOrder\":\"johndoe\",\"email\":\"johndoe@example.com\",\"age\":30,\"isActive\":true,\"roles\":[\"admin\",\"user\"]}", Encoding.UTF8, "application/json");
HttpResponseMessage response = client.PostAsync("https://webhooks.workato.com/webhooks/rest/053c890d-da7d-47c9-ae83-f79336502a62/updatedealfromsalesorder",content).Result;
}
I have not been able to get that working or i dont know how to do it that way. if someone has a document or can point me to one that would be magnicifient.
That little fella is giving me some grief i may need some examples on how to setup an endpoint it is taking some time but i am figuring it out. Thanks for the suggestion.
Getting an error saying signature is not supported.
This error was related to how i was configuring the API in workato. I was able to do that by filling out the Request schema. Once that was done i was cooking with gas.
this error was related to
I needed to make sure the end point was under a working client.
If anyone has any questions on how i did i can walk them through the steps i did to test and troubleshoot.