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.
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.
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.
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 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.
Once created, your new field group for custom activity appears in the Field groups catalog.
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 new field appears in your 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.
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.