Skip to content

Event Schema

This is the schema of the FlareLane CRM events loaded via Exporting CRM Events (S3).

ColumnTypeCategoryDescription
idstringCommonUnique event identifier (ULID)
typestringCommonEvent type. e.g., push.sent
channelstringCommonChannel discriminator. push / sms / kakaoalimtalk / kakaobrandmessage / email / iam
timestringCommonEvent occurrence time (RFC 3339, UTC)
deviceidstringCommonFlareLane device identifier
useridstringCommonFlareLane user identifier (null for unidentified users)
campaign_idstringSharedCampaign identifier
campaign_namestringSharedCampaign name
trigger_typestringSharedSend trigger. api / console / test / journey / recurring / system
journey_idstringSharedAutomation identifier
journey_namestringSharedAutomation name
journey_step_idstringSharedAutomation action identifier
journey_enrollment_idstringSharedAutomation run identifier
recurring_message_idstringSharedRecurring message identifier
senderstringSharedSender. SMS=sender number, Email=sender email
recipientstringSharedRecipient. SMS/Kakao=recipient number, Email=recipient email
subjectstringSharedSubject. push/sms/email=subject, AlimTalk=emphasized title, Brand Message=header
bodystringSharedBody (original before interpolation). Not included for Email
template_idstringSharedTemplate identifier (push / kakaoalimtalk / email)
template_namestringSharedTemplate name (push / kakaoalimtalk / email)
providerstringSharedPush provider. fcm / apns / webpush (Push only)
provider_message_idstringSharedProvider-side message ID (Push only)
provider_errorstringSharedProvider-side error message (Push only)
errorstringSharedError/failure reason (on failed, undelivered, aborted)
platformstringSharedDevice platform. android / ios / webDesktop / webMobile
message_typestringSharedMessage type. SMS=SMS/LMS/MMS, Kakao=message type
is_advertisementbooleanSharedAdvertisement flag (SMS / Brand Message)
kakaoalimtalk_template_codestringChannel-specificKakao-reviewed template code (AlimTalk only)
kakao_sender_keystringChannel-specificKakao sender profile (channel) key (Brand Message only)
iam_groupstringChannel-specificIn-app group/category (InAppMessage only)
iam_clickable_idstringChannel-specificCTA button identifier (iam.clicked only)
iam_dont_show_minutesintChannel-specific"Don't show again" value in minutes (iam.closed only). 0/null means a simple close, a positive value means hidden for N minutes
projectidstringPartitionFlareLane project identifier
datestringPartitionYYYY-MM-DD derived from time (UTC)

The channel value is one of push / sms / kakaoalimtalk / kakaobrandmessage / email / iam.

  • *.created: Send request created
  • *.sent: Successfully accepted by the provider
  • *.aborted: Not sent due to policy/condition reasons such as frequency capping, opt-out, or Liquid interruption. The reason is included in error
  • *.failed: Send failed due to a provider error
  • *.delivered/*.undelivered: Delivery to the recipient device succeeded/failed
typeDescription
push.createdPush send request created (before the PNS call)
push.sentPush send succeeded (PNS responded normally)
push.abortedPush send stopped (frequency cap/opt-out/Liquid, etc.)
push.failedPush send failed (provider/technical error)
push.clickedThe user clicked the push notification
typeDescription
sms.createdSMS send request created (before the provider call)
sms.sentSuccessfully accepted by the provider
sms.abortedSend stopped (frequency cap/opt-out/Liquid, etc.)
sms.failedProvider acceptance failed
sms.deliveredDelivered to the recipient device (based on the provider callback)
sms.undeliveredDelivery to the recipient device failed (based on the provider callback)
typeDescription
kakaoalimtalk.createdAlimTalk send request created (before the provider call)
kakaoalimtalk.sentSuccessfully accepted by the provider
kakaoalimtalk.abortedSend stopped (frequency cap/opt-out/Liquid, etc.)
kakaoalimtalk.failedProvider acceptance failed
kakaoalimtalk.deliveredDelivered to the recipient device (based on the provider callback)
kakaoalimtalk.undeliveredDelivery to the recipient device failed (based on the provider callback)

Kakao Brand Message (channel=kakaobrandmessage)

Section titled “Kakao Brand Message (channel=kakaobrandmessage)”
typeDescription
kakaobrandmessage.createdBrand Message send request created (before the provider call)
kakaobrandmessage.sentSuccessfully accepted by the provider
kakaobrandmessage.abortedSend stopped (frequency cap/opt-out/Liquid, etc.)
kakaobrandmessage.failedProvider acceptance failed
kakaobrandmessage.deliveredDelivered to the recipient device (based on the provider callback)
kakaobrandmessage.undeliveredDelivery to the recipient device failed (based on the provider callback)
typeDescription
email.createdEmail send request created
email.sentAccepted by the provider
email.deliveredDelivered to the recipient mail server
email.failedProvider acceptance failed
email.abortedSend stopped (frequency cap/opt-out/Liquid, etc.)
email.complaintSpam report received
email.openedThe recipient opened the email
email.clickedThe recipient clicked a link in the email
typeDescription
iam.createdIn-app message display request created (server side)
iam.displayedThe in-app message was displayed on the user's device (SDK event)
iam.clickedThe user clicked the in-app CTA button (SDK event)
iam.closedThe user closed the in-app message (SDK event)

The columns each channel populates and their meaning. Any column not in the table is always null for that channel.

ColumnRequiredDescription
campaign_idrequiredCampaign identifier
campaign_nameoptionalCampaign name
template_idoptionalTemplate identifier
template_nameoptionalTemplate name
subjectoptionalPush subject (original before interpolation)
bodyoptionalPush body (original before interpolation)
trigger_typeoptionalapi / console / test / journey, etc.
journey_*optionalAutomation context
recurring_message_idoptionalRecurring message identifier
platformrequiredDevice platform
provideroptionalPush provider (fcm / apns / webpush)
provider_message_idoptionalProvider-side message ID
provider_erroroptionalProvider-side error message
erroroptionalError/failure reason
ColumnRequiredDescription
campaign_idrequiredCampaign identifier
campaign_nameoptionalCampaign name
message_typerequiredMessage type. SMS / LMS / MMS
subjectoptionalLMS/MMS subject
bodyrequiredBody (original before interpolation)
senderrequiredSender number
recipientoptionalRecipient number
is_advertisementrequiredAdvertisement flag
trigger_typeoptionalSend trigger
journey_*optionalAutomation context
recurring_message_idoptionalRecurring message identifier
platformoptionalDevice/send platform
erroroptionalError/failure reason
ColumnRequiredDescription
campaign_idrequiredCampaign identifier
campaign_nameoptionalCampaign name
template_idrequiredFlareLane internal template identifier
kakaoalimtalk_template_coderequiredKakao-reviewed template code
template_nameoptionalTemplate name
subjectoptionalEmphasized title
bodyrequiredBody (original before interpolation)
recipientrequiredRecipient number
message_typerequiredMessage type
trigger_typeoptionalSend trigger
journey_*optionalAutomation context
recurring_message_idoptionalRecurring message identifier
platformoptionalDevice/send platform
erroroptionalError/failure reason
ColumnRequiredDescription
campaign_idrequiredCampaign identifier
campaign_nameoptionalCampaign name
kakao_sender_keyoptionalKakao sender profile (channel) key
bodyrequiredBody (original before interpolation)
subjectoptionalMessage header
recipientrequiredRecipient number
message_typerequiredMessage type
is_advertisementoptionalAdvertisement flag
trigger_typeoptionalSend trigger
journey_*optionalAutomation context
recurring_message_idoptionalRecurring message identifier
platformoptionalDevice/send platform
erroroptionalError/failure reason
ColumnRequiredDescription
campaign_idrequiredCampaign identifier
campaign_nameoptionalCampaign name
template_idrequiredTemplate identifier
template_nameoptionalTemplate name
subjectoptionalEmail subject
senderrequiredSender email address
recipientoptionalRecipient email address
trigger_typeoptionalSend trigger
journey_*optionalAutomation context
recurring_message_idoptionalRecurring message identifier
platformoptionalDevice/send platform
erroroptionalError/failure reason
ColumnRequiredDescription
campaign_idrequiredCampaign identifier
campaign_nameoptionalCampaign name
iam_grouprequiredIn-app group/category
trigger_typeoptionalconsole / journey (in-app uses only these two)
journey_*optionalAutomation context
platformoptionalDevice platform. Populated only for SDK events (null for iam.created)
iam_clickable_idoptionalCTA button identifier. iam.clicked only
iam_dont_show_minutesoptional"Don't show again" value in minutes. iam.closed only. 0/null means a simple close, a positive value means hidden for N minutes

Customer events (custom tracking events) have a schemaless data attribute and are loaded through a pipeline separate from crm_events.

FieldTypeRequiredDescription
idstringrequiredUnique event identifier (ULID)
typestringrequiredEvent type
timestringrequiredEvent occurrence time (RFC 3339, UTC)
projectidstringrequiredFlareLane project identifier
useridstringoptionalFlareLane user identifier (null for unidentified users)
deviceidstringoptionalFlareLane device identifier
datastringoptionalThe custom attribute object passed along when the event was published. A schemaless value with freely defined keys, values, and types, serialized (stringify) and stored as a single string column.
platformstringoptionalDevice platform. android / ios / webDesktop / webMobile