Journey Builder Custom Activity – How to load data extensions in UI?

I am developing a Journey Builder Custom Activity, in one of the steps on Custom Activity UI, user needs to select a data extension then select a couple of fields. It looks like “UpdateContact” activity in Journey Builder. Does anyone know how to do this?

enter image description here


Thank you for visiting the Q&A section on Magenaut. Please note that all the answers may not help you solve the issue immediately. So please treat them as advisements. If you found the post helpful (or not), leave a comment & I’ll get back to you as soon as possible.

Method 1

Welcome to the club of those who are trying to create custom activities and events for JB.

You will need to use the fuelsdk-node JavaScript library to get a list of all Data Extensions and their fields in a Business Unit. You might want to spend some time and look at an example:

In this example you will see how to work with this library. Pay special attention to these files:

  • server.js
  • /lib/sfmc.js
  • /routes/zapier.js
  • /public/activity/zapier/js/activity.js

So you will get a point of how you can use SFMC data in your custom journey.

Probably, you will need to use the REST API resources in case you want to get Contact/Event data:

All methods was sourced from or, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0

0 0 votes
Article Rating
Notify of

Inline Feedbacks
View all comments
Would love your thoughts, please comment.x