automation // SSJSPROJECT

SSJS HTTP POST Webhook

Send a JSON payload to an external webhook from a Script Activity.

ssjshttpwebhookintegration
Context Pack →Open Workspace →
Trust & provenancePROJECT
Evidence tierPROJECTOfficial sources1Other sources0Last verifiedNot recorded

Evidence tier describes my hands-on relationship with the content. Official sources describe platform contracts/documentation. Production observations should not automatically be treated as official limits.

<script runat="server">
Platform.Load('Core','1.1.1');
var payload = Stringify({
  event: 'sync_trigger',
  timestamp: new Date()
});
var req = new Script.Util.HttpRequest('https://example.com/webhook');
req.method = 'POST';
req.contentType = 'application/json';
req.postData = payload;
req.retries = 1;
req.continueOnError = true;
var resp = req.send();
</script>
Operational notes

Do not hardcode credentials in public snippets or source-controlled code.

Script Activities have a 30-minute timeout; externalize large/complex processing.

Related
Sources / verification