Skip to content

This application is hosted on Heroku and using Node JS. The basic knowledge of how Marketing Cloud works is required.

License

Notifications You must be signed in to change notification settings

theonthai45/SFMC-custom-activity-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SFMC released a updated and official version of a Custom Activity Template

This would be better than mine

Marketing Cloud Journey Builder Custom Activity Template

This template for Marketing Cloud Journey Builder Custom Activity. It is hosted on Heroku and running on NodeJS

This application is to be hosted on Heroku with specific credentials set up in the environment variables for it to be linked with Marketing Cloud. The application has a function that authenticates according the enhanced package Oauth2.

Usage example

Drag and drop it into the Journey Builder Canvas. Set up the application if necessary through the UI.

Application Setup

After uploading into Heroku and allowing the HTTPS to be set up, fill in the application URL within config.json

Necessary steps thats required to set up the application.

  1. Create an package within Marketing Cloud.
  2. Add the API integration component making sure it's a Server - Server integration.
  3. Add the Journey Builder Activity component.
  4. Grab the unique key from the journey builder activity and place it within config.json.
  5. Grab the client ID, client secret, JWT Signing Secret and place it within Heroku as a env variables.
    • jwtSecret
    • clientId
    • clientSecret
  6. Grab the Authentication Base URI and place it within the environment variable in Heroku.
    • authenticationUrl
  7. Grab the HTTPS URL that is created by Heroku and place it within config.json replacing <HTTPS_URL_OF_APP>.

Release History

  • 1.0.0
    • Initial Push with overall working template
  • 1.0.1
    • Updated package json

Meta

Theon Thai Yun Tang – Portfoliotheonthai@gmail.com

Contributing

  1. Fork it (https://github.com/theonthai45/SFMC-custom-activity-template/fork)
  2. Create your feature branch (git checkout -b feature/fooBar)
  3. Commit your changes (git commit -am 'Add some fooBar')
  4. Push to the branch (git push origin feature/fooBar)
  5. Create a new Pull Request

About

This application is hosted on Heroku and using Node JS. The basic knowledge of how Marketing Cloud works is required.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published