What are “Custom Objects”?
Custom Objects allow you more control over your Net-Results marketing use. Think of Custom Objects as custom data tables, that leverage your custom data to control email campaign participation, drive automated workflows, list membership and other actions.
Custom Objects allow for “many-to-one” relationships with both Accounts and Contacts in Net-Results. For example, you could store many purchases that were made by a given Contact or Account, and then leverage the data from those purchases in Segments.
Custom Objects are similar to Custom Fields – you must “define” a Custom Object before you begin storing data in it. Unlike Custom Fields, a Custom Object can consist of many fields that all relate to your object.
Once you’ve defined a Custom Object, you may customize how the data stored in your object will appear in Net-Results – more on that later.
Defining a Custom Object
Our first step is to “define” a Custom Object. We need to give it a name and few other pieces of information.
- Hover your mouse on your username (your email address) at the upper right corner in Net-Results, then navigate to Administration > Custom Objects.
- Here is where all your created Custom Objects will be displayed. To create a new on click New Object in the top left.
- Enter the name of your object in the field labeled Singular Label. (In this example “Tour”) Net-Results will automatically fill the remaining fields. Feel free to edit the text in these fields, but it’s probably safe to leave it as is.
- Click Save
Congratulations! You’ve now created a basic Custom Object in Net-Results. Now let’s add in the fields we need to make our new “Tour” object useful.
Net-Results creates several Standard Fields automatically when you define a Custom Object. These fields will be filled automatically when you create instances of your object. These fields can be found by navigating to Custom Objects and clicking on Tour (the name of your object).
Adding Custom Fields
Now that you’ve defined your object, it’s time to create Custom Fields to store your data. You can create as many Custom Fields as you need. There are several field types available to you when adding Custom Fields…
- On the Tour/”Your Custom Name” Fields page scroll down to an area labeled “Custom Fields”. Click the Create New button to add the fields your object requires.
- Choose a Field Type for your Custom Field
- Date and Time
- Lookup – A lookup field is a reference to another object in Net-Results like a Contact or Account
- Pick List – also known as Drop Down List or Select
- Provide a Label for your Custom Field. You’ll see that the Name field is populated automatically. This is the name the system uses to work with your field. You may change this if you like, but it’s likely fine to leave it as is.
- Decide whether this Custom Field is required for every instance of this object. If so, check the box.
- Click Save
Define Object Relationships
Custom Objects must be “related” – or be tied – to a standard object like a Contact or Account. For example, if you create an object to store Orders, you could choose to have each order “relate” to a Contact or to an Account (but not both). This decision depends on how you track orders within your company.
In order to leverage the data in your objects, you must define the Relationship(s) between your object and an existing object. This tells Net-Results how to use your object in Segments.
In the sub-menu near the top of the page, click on Tour/Your Object Name Relationships
- Click on the Create New Relationship button
- Choose a Label for this Relationship. In our example, we are tying each Tour to a Contact, so we’ll label this Relationship “Tour Contact”.
The Name field will be populated for you.
- Choose a Type for this Relationship. Available choices include
- One to One
- One to Many
- Many to One
- Many to Many
- Choose the existing object you’d like your new Custom Object to be related to.
- Click Save
Appearance in the Platform
Net-Results allows you to customize the appearance of your custom objects both on the List Layout and the Record Layout.
Customize Your List Layout
A “List Layout” is what you see when view the “My Emails” page or the “My Campaigns” page. Now that you’ve defined a Custom Object (Tours in this example), Net-Results creates a List Layout page called “My Tours” for you automatically. You get to choose which fields appear on the “My Tours” page.
- In the sub-menu near the top of the page, click on Tour/Your Custom Object Name List Layout.
- Drag and drop fields from “Available Fields” to “Current Layout Fields” and order them as you see fit. You are free to change your List Layout any time you like.
Customize Your Record Layout
Just like you can view any individual Contact or Account, you will be able to view any individual instance of your Custom Object. You have control over which of your standard and custom fields appear on this view, which is called a Record Layout.
- In the sub-menu near the top of the page, click on Tour/Your Custom Object Name Record Layout
- Objects in Net-Results use a two column record layout. Drag and drop to arrange the columns in your record layout as you see fit. The layout may be changed any time you like.
Adding Data – Create an Instance of Your Object
There are three ways to add data to your Custom Object: Manually, Leveraging the Net-Results API, and coming soon Syncing the Custom Object from your CRM.
Manually Create an Instance of your Custom Object
- In the top menu, hover your mouse over Contacts & Accounts
- Hover Custom Objects
- Hover “Tours” (or the name of the object you’ve created)
- Click on Create New
You can now manually populate the fields for your object.
- Click Save
Use the Net-Results API
- The CustomObjectRecord::setOne method allows you to create or update an instance of your object
- The CustomObjectRecord::setMultiple method allows you to create or update instances of your object in bulk
Sync Custom Objects from Your CRM Automatically
We plan on adding this capability soon. Watch for announcements in the future.
Segmenting on Custom Objects – Put That Object to Work!
The power of Custom Objects in Net-Results lies in your ability to drive workflows and automation based on your custom data. It all starts with segmentation.
- Create or modify an existing Segment and click on Add Conditions
- Click on Custom Objects. This option will not appear until you’ve defined at least one Custom Object
- Within your object, select the field(s) you’d like to Segment on
- Put that data to work adjusting lead scores, managing list membership, driving campaign participation or CRM tasks… All the power of Net-Results is now enhanced by your custom data.