Solved

Use Object Data in Campaign

  • 16 May 2023
  • 1 reply
  • 78 views

I have created an Appointment object within customer.io and hoped to send a person various touchpoints based upon the appinment data.  Things like reminders, etc.  It doesn’t appear to me that customer.io can use object data in campaigns.  Is that correct?

A person may have multiple appointments in various stages of the campaign.

 

icon

Best answer by Ramy 17 May 2023, 18:23

View original

1 reply

Userlevel 1
Badge

Hello!

 

Thank you for posting to our Community; I hope my reply here finds you well!

 

To directly answer your question, you can reference objects in liquid by their type. By default, this means you’d use {{objects.companies}}. But, if your objects were called something like appointments, you’d use {{objects.appointments}}. With that said, it is important to keep in mind that:

  • Objects in Customer.io use JSON dot notation where each object is an Array.
  • You can reference the most recent 10 objects associated with a person for each object type.
  • You’ll reference objects in the order that they’re created.

We go over Using Objects in Liquid in this section of our Documentation: Linked Section. We also have an introductory guide to Using JSON Dot Notation in Customer.io in this section of our Docs: Getting Started with JSON.

 

I hope this helps answer your question!

Best,

Reply