1

I have been trying to set up a custom activity in Journey Builder but I am not able to reach the point where the custom event icon becomes available in the journey builder interface. In other words, there is nothing to drag and drop into the journey.

I am not trying to do anything fancy, just the most basic example where I can post something to requestb.in to see how it all works and pave the way for the more sophisticated use-cases.

In terms of the set up in AppCenter, I based myself on this walkthrough from GitHub.

Files and their structure were based on the official SlaesForce documentation available here.

All of this only got me as far as being able to see my test package as an installed package in Marketing Cloud. This installed package, however, seems to be completely empty if I click on it, so in a way I am not surprised that the custom event is not avaliable in Journey Builder

Anyone has an idea what I am still missing here?

1
  • Check the application extensions in your trigger/ event, make sure to add the https to it. You can use the net work tools in chrome to see what's going wrong. Reload the tools and post a screen shot here
    – 0xsegfault
    Jun 16, 2017 at 14:08

1 Answer 1

1

The most common pitfalls for custom activities and events are:

  • the activity/event isn't available via HTTPS on the default port 443
  • the trigger/activity's "Public Extension"-setting in AppCenter isn't set to "This application and other installed Applications"

Further example code:

Additional Info: To easily gain information about the error that occurs you could use the Google Chrome Extension "Salesforce Marketing Cloud - Developer Tools", that I created and published as open source. You can download it via the Chrome Webstore.

8
  • Thanks for your reply Markus. I have checked all your suggestions but unfortunately weren't able to fix it. Jun 20, 2017 at 9:08
  • Did you check out the Chrome extension? And as your Event will be hosted on another server, whose url isn't inspected, also check out the Chrome Console for any errors. If you post the error message I'm pretty sure I can help you debug further. Jun 20, 2017 at 9:13
  • Thanks for your reply Markus, will try to do that. One thing that I am still not 100% sure though is in config.json I am expected to provide applicationExtensionKey, do you know what this value should be? So far I have been using a value from the field KEY in Journey Builder Activity (in APP centre) but start to wonder whether it's the right one. Jun 20, 2017 at 9:20
  • 1
    This is the key defined in AppCenter. After logging in, click on the created package, select the tab "Journey Builder Activity" (or "Journey Builder Trigger" if you are creating an entry event), click on the activity name and check out the value in the "Key"-field. This is the value you need to supply as application extension key in your config. The whole process is defined in the article Create a Marketing Cloud App. Jun 20, 2017 at 9:46
  • 1
    The warnings in your screenshot are related to mobile connect activities using an old version. These messages aren't related to your activity. Did you use a user from the same business unit when integrating in AppCenter? Step 3 in Create a Marketing Cloud App). Seems like the setup in AppCenter isn't done properly. If everything is configured correctly, you should see your application in the "Instance Info"-tab of the chrome extension under "Application Availability". Jun 20, 2017 at 12:43

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .