Retrieve your custom activity details

The first step to bringing custom activity data from Marketo to Experience Platform is to retrieve the API name and the display name of your custom activity.

Login to your account using the Marketo interface. In the left navigation, under Database Management, select Marketo Custom Activities.

The interface updates to a display of your custom activities, including information on their respective display names and API names. You can also use the right-rail to select and view other custom activities from your account.

The Custom Activities interface in the Adobe Marketo Engage UI.

Select Fields from the top header to view the fields associated with your custom activity. In this page, you can view the names, API names, descriptions, and data types of the fields in your custom activity. Details regarding individual fields will be used in a later step, when creating a schema.

The Marketo Custom Activity Fields Details page in the Marketo Engage UI.

Set up field groups for custom activities in the B2B activities schema

In the Schemas dashboard of the Experience Platform UI, select Browse and then select B2B Activity from the list of schemas.

TIP
Use the search bar to expedite your navigation through the list of schemas.

The schemas workspace in the Experience Platform UI with the B2B Activity schema selected.

Create a new field group for custom activity

Next, add a new field group to the B2B Activity schema. This field group should correspond with the custom activity that you want to ingest and should use the custom activity’s display name that you retrieved earlier.

To add a new field group, select + Add beside the Field groups panel under Composition.

The schema structure.

The Add field groups window appears. Select Create new field group and then provide the same display name for the custom activity that you retrieved in an earlier step and provide an optional description for your new field group. When finished, select Add field groups.

The window for labeling and creating a new field group.

Once created, your new field group for custom activity appears in the Field groups catalog.

The schema structure with a new field group added under the field group panel.

Add a new field to your schema structure

Next, add a new field to your schema. This new field must be set to type: object and will contain the individual fields of the custom activity.

To add a new field, select the plus sign (+) beside the schema name. An entry for Untitled Field | Type appears. Next, configure properties of your field using the Field properties panel. Set the field name to be your custom activity’s API name and set the display name to be your custom activity’s display name. Then, set the type as object and assign the field group to the custom activity field group that you created in the previous step. When finished, select Apply.

The schema structure with the plus () sign selected so that a new field can be added.

The new field appears in your schema.

A new field added to the schema.

Add sub-fields to the object field

The last step in preparing your schema is to add individual fields inside the field that you created in the previous step.

A group of sub-fields added to a field within the schema.

Create a dataflow

With your schema setup complete, you can now proceed to create a dataflow for your custom activity data.

In the Experience Platform UI, select Sources from the left navigation bar to access the Sources workspace. The Catalog screen displays a variety of sources with which you can create an account.

You can select the appropriate category from the catalog on the left-hand side of your screen. Alternatively, you can find the specific source you wish to work with using the search bar.

Under the Adobe applications category, select Marketo Engage. Then, select Add data to create a new Marketo dataflow.

The sources catalog on Experience Platform UI with the Marketo Engage source selected.