Build Custom Activities and Events

For simplicity, the documentation mostly refers to custom activities. In Journey Builder, custom events and custom activities use the same framework, so building either object follows the same structure. For event-specific instructions, see Considerations for Building Custom Activities.

Salesforce Customer Support doesn't provide support for your custom Journey Builder events and activities.

Prerequisites

  • A working knowledge of RequireJS for dependency management
  • A working knowledge of jQuery
  • An understanding of the Postmonger event framework
  • Access to a Marketing Cloud account with a fully provisioned and operational Journey Builder instance
  • An understanding of how journeys function in Journey Builder

Steps

  1. Create the custom activity. Custom activities contain three fundamental components.

  2. Host the custom activity. Use a web server that communicates via SSL (port 443). Salesforce recommends using Heroku as a hosting provider.

  3. Register the custom component endpoint](define-jb-extension-app-center.md). Register the hosting endpoint for your custom activity in a Marketing Cloud installed package.