theonthai45 / SFMC-custom-activity-template

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

License:GNU General Public License v3.0


Languages

Language:JavaScript 91.6%Language:HTML 8.4%