capabilities.work

Marketing Cloud Enter a Contact into a Journey

A 4-step recipe with Salesforce. We can help you get access.

Recipe · 4 steps

Marketing Cloud Enter a Contact into a Journey

with Salesforce · Digital Marketing Management

Locate a published journey and enter a contact via an entry event.

  1. Obtain an OAuth 2.0 access token using the client credentials grant for server-to-server access to the Marketing Cloud REST API.
  2. List published journeys and select the first one so its configuration can be confirmed before contacts are injected.
  3. Read the detail for the selected journey to confirm its status, triggers, and activities before firing the entry event.
  4. Fire a journey entry event to inject the contact into the journey at its event-triggered entry source using the supplied event definition key.
What you'll need to have ready
  • clientId: The client ID of the Marketing Cloud installed package API integration.
  • clientSecret: The client secret of the Marketing Cloud installed package API integration.
  • contactKey: The subscriber key of the contact entering the journey.
  • eventDefinitionKey: The external key of the event definition configured as the journey entry source.
  • data: Additional data attributes passed with the event for personalization.
For your developer

Arazzo workflow salesforce:manage-journey, 4 operations: getAccessToken → listJourneys → getJourney → fireJourneyEvent. Specs on APIs.io.