How to Create and Use Liquid Objects in Email Marketing

David Giali

Updated

Liquid Objects can be used to personalize emails based on information collected in Form Fields. Learn how to create and use Liquid Objects in your Kajabi email marketing in this step-by-step guide! 


In this article:


What are Liquid Objects?

Liquid is a programming logic that tells templates what to do.

On Kajabi, when a contact opts-in through a Form, the information they input is saved into a data store.

You can use Liquid Objects to pull that information from the data store and use it to personalize your Emails.

You may have noticed an example of a Liquid Object which automatically populates a customer's First Name in your default email template.

Liquid Objects are wrapped in {{ }} characters:

Kajabi_-__admin_themes_1798649_settings_edit.jpg


Adding Kajabi's default Liquid Objects to an email

There are many default Liquid Objects you can use in your emails to personalize them, including but not limited to: 

  • First Name
  • Last Name
  • Location
  • Phone Number

To insert a default Liquid Object into an email:

  • Open the Marketing tab from your Dashboard.
  • Then, click Email Campaigns.
  • Select + New Email Campaign and choose between an Email Broadcast or Email Sequence. For this example we'll use an Email Broadcast.
  • Next, choose an Email Template, select your recipients, and click Save & Continue.
    Important Note: Be sure to send your email to a segment of your contacts for whom your Liquid Object data exists in the data store.
  • Hover over your Email Content and click Edit content to open the Visual Editor.
  • Then, hover over the email section you wish to edit and click Edit.
  • In the Text Editor in the sidebar, locate a dropdown labeled "Personalize". Click the dropdown and choose a Liquid Object.
  • Click Save to insert your Liquid Object and keep your changes:

Note:
If you're using the Email Classic Editor instead of the Visual Editor, after selecting your recipients you can access the "Personalize" dropdown directly on the Edit Content page in the Body text editor.

Creating and inputting a custom Liquid Object

When you create a custom Form Field on Kajabi, that field is saved as an Object which can then be inserted into your marketing emails to increase personalization.

As an example, let's say you teach music lessons for multiple instruments.

In your Opt-in Form, you can create a custom Form Field asking potential students which instrument they are interested in learning.

Then, in your marketing emails, you can add the newly created Liquid Object from the custom Form Field to personalize the emails with the chosen instrument.

To learn how to incorporate custom Liquid Objects into your marketing emails, follow the guide below. 

Step 1. Create a custom form field

  • Open the Marketing tab from the Dashboard.
  • Then, click Forms.
  • Click + New Form.
  • Give your form an internal title and click Save.
  • Under "Form Fields", select + Add Form Field, then Create a New Field
  • In the Title field, input the question you want to ask your page visitor.
    For example:  "Which instrument would you like to learn?"
  • Under Type, choose the input method your contacts will use to answer the question (i.e. Checkbox, Select Box, Radio Buttons).
  • Click Save to keep your changes:

Step 2. Add the opt-in form to a page

In order for the Liquid Object to pull information from a data store, first there needs to be data.

Add your newly created Opt-in Form to your pages and funnels:

Learn to add your Opt-In Form to different pages throughout your Kajabi site and external pages

Music_Lesson_Interest_Form.png

Step 3. Add the Liquid Object to your marketing emails

After you've created your custom Form Field and added it to a Form, you can use the corresponding Liquid Object in your marketing emails. 

To add your custom Liquid Object to an Email Campaign:

  • Open the Marketing tab from your Dashboard.
  • Then, click Email Campaigns.
  • Select + New Email Campaign and choose between an Email Broadcast or Email Sequence. For this example, we'll create an Email Broadcast.
  • Choose an Email Template, select your recipients, and click Save and continue.
    Important Note: Be sure to send your email to a segment of your contacts for whom your Liquid Object data exists in the data store (i.e. contacts who've submitted your Opt-in Form).
  • Hover over your email body content and click Edit content to open the Visual Editor.
  • From inside the Visual Editor, click to edit your desired Text Block.
  • In the sidebar Text Body editor, locate a dropdown labeled "Personalize". Click the dropdown to choose a Liquid Object.
  • The list of supported Liquid Objects will now include the custom Form Field you created. Simply click the title of the field to insert the Object in the body of your email.
  • Click Save to keep your changes:

Note:
When a custom Liquid Object is placed into the Text body it will appear in the format of {{ custom_1 }}, with the number ascending for each custom Form Field created in your site.

Step 4. Send

When your email is sent, your recipients will receive a personalized message based on the information they input into your Opt-In Form.

In this example, a prospective student indicated in our form created above that they would like to learn how to play Guitar. In the email we created and sent, the Liquid Object was replaced by their radio button selection (i.e. Guitar):

Inbox___david_g_kajabi_com__1_667_messages__2_unread_.png

 

And that's how to create and use Liquid Objects in email marketing! Please vote below and let us know if you found this article helpful. We value your feedback. Thanks for being the best part of Kajabi!

Did you find this article helpful?

Need more help?

Contact Us