For the complete documentation index, see llms.txt. This page is also available as Markdown.

Custom Objects

Introduction

Custom Objects are structures defined to store various information within a contact. The same contact can contain any number of Custom Objects, which can be created through automations or manually.

Examples of possible Custom Objects:

  • Feedbacks: service ID, feedback message (optional), and service rating.

  • Order: order ID, order name, and unit value.

  • Requested Exams: exam type, appointment date, laboratory.

  • Event Participations: event name, date, attendance confirmed, notes.

  • Internal Trainings: training name, workload, date, completion (yes/no).

Creating a Custom Object definition

Enter the Settingsmenu, and then into Custom Objects. After that, click the button New, to create a new definition.

The value entered in the field Name (Plural) will be displayed as a new tab in the profile of all contacts, representing a list of linked objects. For a Custom Object to be available in the instance, it is necessary to check the option Published.

If you want to allow the automatic creation of these objects through chatbots, automations, integrated webhooks, or through the contacts page itself, also enable the option Allow dynamic creation of objects.

Settings Menu.
Definition list.
Edit Definition screen.

Field Settings

When creating a new field for the definition of a Custom Object, it is necessary to select the data type, such as Text, Number, Date, among others — as listed in the image below.

Each field can have some additional settings:

  • Required: Requires that the field be filled in when creating or editing the custom object.

  • Unique Identifier: Defines whether the field value will be exclusive to each object, working as a unique identifier (useful for cases such as order IDs, protocol codes, etc.).

  • Default Value: Value that will be filled in automatically when creating a new object, and can be changed manually if necessary.

  • Alias: Defines how the field will be referenced in other parts of the system, such as when using tokens. See more about custom object tokens.

List of field types.
Field editing screen.

Filling in an Object Manually

When accessing the full data of a lead, it will be possible to view the tab Event Participations, where the custom objects associated with it are listed.

You can relate a pre-existing custom object to a lead — ideal, for example, in cases of fixed subscription plans, where it is enough to relate it to the lead without creating a new object from scratch. However, in this example, we will choose to create a new custom object.

After being created, the object will automatically appear in the lead's tab Event Participations of the lead. This data can be used in tokens (for customizations in messages, for example) or consulted via automations, as needed.

Full contact data.
Filling in an object.
Registered event.

Last updated