[SalesForce] How to call an external API from SFMC journey builder

I'm new to SFMC so would appreciate any help.

Is there a way for SFMC to call an external API via the Journey Builder?

We need to extend the Journey Builder so that in addition to mobile push notifications and emails being sent, we can also send out app notifications to an external API.  This external API would then publish to a queue and the target web app would subscribe to events and subsequently display events on a notifications page.

What would be the most straight forward way to achieve this?  Would it be via a Custom Activity or is there another way?  If a Custom Activity, could we build this in .NET/.NET Core?

Thanks,

Lee

Best Answer

This can only be achieved using Custom Activity in Journey Builder. You will need to install a Managed Package in Marketing Cloud, build the activity and host it on a web server.

The whole setup is explained in the documentation: Build Custom Activities and Events

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

Check out this thread on SFSE with an example repository that might help you: How to create custom activity

Related Topic