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,