"Marketo only" custom objects have been available for a while within Marketo, but up until recently you needed involvement from Support or Consulting to create them. Well, all that is changing in a recent enhancement to Marketo. If you need to leverage Custom Objects, you can request access via support, and this new end user facing UI is all yours. Amazing, Right?
Once enabled, you'll see the Custom Objects under Admin --> Custom Objects
Lets talk a bit about why you might need or want to use custom objects. Custom objects are used to extend the Marketo data model and specify data that exists in a one to many relationship with a Lead or Company. Example of this might be "Products" or "Contracts" or "Investment Portfolios".. the possibilities are endless.
These objects, one created and published are populated using the SOAP or REST API and can be used in Smart Campaigns or Smart lists, and are viewable in the Lead Details screen under "Custom Objects"
The available Triggers and Filters for an object called "Literature" would be
Trigger
Added to Literature - A Literature Object was added to a lead
Filters
Was Added to Literature
Has Literature
Was Not Added to Literature
and as you can see.. the attributes of the Custom Object become constraints on the Filters and Trigger.
Another cool way you can use custom objects is within Email Scripts! You can, for example, create a dynamic script token for an email that when the email is sent, shows all the values for a custom object in the system. You might use this to list out a set of stocks owned by a person, or a list of historical purchases. That will be discussed further in the Email Script sequel to this post.
Creating Custom Objects
Now that you know what they are and how to use them... how do you create them? Excellent question, and it's not hard. Firstly you need to design your object.
Custom objects, when created, are given 3 fields by default: Created At, Updated At, and Marketo GUID. The first two are obvious, but the Marketo GUID can serve as a unique identifier for the custom object.
In addition to these fields you MUST create the following fields
Optionally, you can add other fields (Color, Make, Model, would be good candidates for an Automobile, so I'll add those, as shown.Here's an important note. There are times youll have dedupe fields that are TRULY unique across your Marketo instance, things like Social Security Number or VIN Number.. you're sure no two people will own the same Car with the same VIN Number at the same time.Sometimes, however, you have dedupe fields that are NOT unique. Think about the example of a Product ID. A product like a smart phone might be assigned a product ID of ABC123. In that case, John and Mary might both own this product. In that case, youll have ProductID as a dedupe field, Email address as a link field AND a dedupe field! It will then the the COMBINATION of email and ProductID that constitute a unique custom object of type Product.Looking good! You might be wondering.. is the object live yet? No, not yet.. so lets talk state. The state of a Custom Object can be discussed for two aspects, the state of the object itself, and the state of a field on the object.Possible states are:
Right now, all of our fields are "new" and the object itself is "Draft". To publish it so it's available for use, just click the publish button and see that these statuses change. Up until you publish the object you can change things about the object like the key fields etc.. but once its published, those key fields are locked down.. including the Link and Dedupe fields.
Once you're object is published, you can use it, and load it up with data using the REST or SOAP APIs (see next week's blog on that)... or even BULK LOAD data. You read that right. Hop over to the Lead Database and you'll see New --> Import Custom Object Data. This option works a lot like importing leads. You can import a CSV and map the fields into your object. Obviously you'll have to include the link field, the dedupe fields and the data fields. You're limited to ~100mb per file.. and you can expect very high speed imports (up to 1,000,000 per hour)
Changing an Existing Object
Previously, this was awful and involved deleting the object data, dropping the object and recreating the object. No more! You're free to remove columns, add columns, and then republish the object! Click "new" to add a new field, and right click a deletable field and click "delete" to see those other two attribute states.
As before.. NOTHING changes from an API or application perspective until you push the publish button.. then the changes are live.
Next up.. Custom Objects in Marketo - Part 2 - REST API !!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.