Marketo Lead Import

Send your leads data from RudderStack to Marketo.

Marketo is a leading marketing automation platform. It lets you identify the right audiences and deliver enhanced user experiences through effective marketing campaigns and behavioral tracking.

RudderStack supports Marketo Lead Import as a destination to which you can send large amounts of lead records asynchronously via Marketo’s bulk API.

Find the open source transformer code for this destination in the GitHub repository.

Getting started

success
This destination is ideal for your Reverse ETL sources, as it only accepts identify events.

Before configuring Marketo Lead Import as a destination in RudderStack, verify if the source platform is supported by referring to the table below:

Connection ModeWebMobileServer
Device mode---
Cloud modeSupportedSupportedSupported
info
To learn more about the difference between cloud mode and device mode in RudderStack, refer to the RudderStack Connection Modes guide.

Once you have confirmed that the source platform supports sending events to Marketo Lead Import, follow these steps:

  • From your RudderStack dashboard, add the source. Then, from the list of destinations, select Marketo Lead Import.
  • Assign a name to your destination and then click Next.

Connection settings

To successfully configure Marketo Lead Import as a destination, you will need to configure the following settings:

  • Munchkin Account ID: Enter your Munchkin ID, which is a unique identifier for your Marketo instance. To obtain this ID, log into your Marketo instance and navigate to the Admin section. In the left menu, go to Integration > Munchkin. Your Munchkin Account ID will be listed in the Tracking Code section on the main screen.
info
For more information on finding your Munchkin Account ID, refer to the Marketo knowledge base.
  • Client ID: To get your Client ID, go to the the Admin section of your Marketo instance. In the left menu, go to Integration > LaunchPoint. Finally, select the API service and click View Details to get your client ID.
info
For more information on finding your Client ID, refer to the Marketo knowledge base.
  • Client Secret: You can find your Marketo client secret next to the Client ID obtained in the previous step.
  • De-duplication Field: Marketo uses this field to de-duplicate user information. Make sure it is also present in the Column Fields Mapping setting below.
warning
This field should be present in all events sent to Marketo Lead Import for proper de-duplication.
info
While calling the Bulk Lead Import API, RudderStack uses this field for lookup. Marketo then uses it to de-duplicate user information. Generally, email should be preferred for de-duplication.
  • Column Fields Mapping: This option lets you map your incoming events’ traits to the Leads table columns’ API names.

For example, to send the data from the event traits firstName and email to the Marketo columns with the API names name and Email, set the mapping as shown:

RudderStack traitsMarketo API name
firstNamename
emailEmail

You can find your columns’ API names by following the Marketo documentation.

Identify

info
RudderStack supports only identify event type for this destination.

The identify call lets you identify a visiting user and associate them to their actions. It also lets you record the traits about them like their name, email address, etc.

A sample identify call is as shown:

rudderanalytics.identify("name123", {
  name: "Name Surname",
  firstName: "Name",
  lastName: "Surname",
  email: "name@surname.com",
  createdAt: "Thu Mar 24 2020 17:46:45 GMT+0000 (UTC)",
});

The corresponding mapping to the Marketo traits for the above event is as shown:

Marketo field nameTraits
namefirstName
Emailemail
birthdaybirthday
phonephone_number
timestampcreatedAt

RudderStack then sends the following values to Marketo:

Name, name@surname.com, , , Thu Mar 24 2020 17:46:45 GMT+0000 (UTC)

Questions? Contact us by email or on Slack