Skip to main content

Two Datasets

Aampe needs two datasets to function
  1. A table of users along with important user properties. Any properties included will be available within the audience builder.
  2. A table of user events. This table powers agentic learning and is also available within the audience builder.

User Properties

Following is the data model Aampe uses to store properties about users.
Column NameData TypeDescription
contact_idStringA unique user identifier
countryStringRequired
<property_1> (e.g language)
<property_n> (e.g subscription_status)
push_tokenString (Optional)Token of the user that will be used to send out push-messages, if different from contact_id
phone_numberString (Optional)Number to be used to send out SMS and whatsapp messages, if different from contact_id
email_addressString (Optional)Email of the user that will be used to send out email messages, if different from contact_id
See this page for industry-specific examples of user attributes

Events

Column NameData typeDescription
contact_idStringA unique user identifier
timestampTimestampThe timestamp of when the event happened in UTC
event_nameStringAn event name corresponding to the event that was triggered
event_instance_idString (Optional)An event identifier
timezoneString (Optional)Local timezone of the user/event - locale
metadataJSON (Optional)Any useful data points about the event
See this page for industry-specific examples of events and event properties