Skip to content

Instantly share code, notes, and snippets.

@MamaiRachid
Last active November 6, 2020 13:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MamaiRachid/73ae2155df3eee26fd2a64ff528ef6bb to your computer and use it in GitHub Desktop.
Save MamaiRachid/73ae2155df3eee26fd2a64ff528ef6bb to your computer and use it in GitHub Desktop.
SSJS code to execute AMPScript from a Content block inside a Script activity in Automation Studio
<script runat="server">
var ampscriptCode = Platform.Function.ContentBlockByKey("YOUR_CONTENTBLOCK_KEY");
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment