Depending on your destination, table and column names may not appear as they are outlined below.
The account_contacts
table contains information about contacts in your ActiveCampaign account.
account_custom_field_values
The account_custom_field_values
table contains information about your account custom fields’ values in your ActiveCampaign account.
account_custom_field_values table foreign keys Join account_custom_field_values with on account_custom_fields account_custom_field_values.custom_field_id = account_custom_fields.id accounts account_custom_field_values.account_id = accounts.id deals account_custom_field_values.account_id = deals.account contact_emails account_custom_field_values.account_id = contact_emails.account email_activities account_custom_field_values.account_id = email_activities.account account_contacts account_custom_field_values.account_id = account_contacts.account
account_custom_field_values table schema
account_custom_field_metum_id
INTEGER
account_id
INTEGER
created_timestamp
DATE-TIME
custom_field_id
INTEGER
field_value
STRING
id
INTEGER
updated_timestamp
DATE-TIME
account_custom_fields
The account_custom_fields
table contains information about account custom fields in your ActiveCampaign account.
account_custom_fields table foreign keys account_custom_fields table schema
created_timestamp
DATE-TIME
display_order
INTEGER
field_default
STRING
field_default_currency
STRING
field_label
STRING
field_options
ARRAY
field_type
STRING
hide_field_flag
BOOLEAN
id
INTEGER
is_form_visible
BOOLEAN
is_required
BOOLEAN
known_field_id
INTEGER
personalization
STRING
updated_timestamp
DATE-TIME
accounts
The accounts
table contains information about accounts in your ActiveCampaign account.
accounts table foreign keys accounts table schema
account_url
STRING
contact_count
INTEGER
created_timestamp
DATE-TIME
deal_count
INTEGER
id
INTEGER
name
STRING
updated_timestamp
DATE-TIME
activities Replication Method
CDC
Primary Key
id
Replication Key
tstamp
activities table foreign keys activities table schema
id
INTEGER
json_data
STRING
permission
STRING
reference
OBJECT
This is a nested data structure:
reference_action
STRING
reference_id
INTEGER
reference_model_name
STRING
reference_type
STRING
subscriberid
INTEGER
tstamp
DATE-TIME
user
INTEGER
userid
INTEGER
addresses
The addresses
table contains information about addresses in your ActiveCampaign account.
addresses table foreign keys Join addresses with on campaigns addresses.id = campaigns.addressid forms addresses.id = forms.addressid
addresses table schema
address1
STRING
address2
STRING
allgroup
INTEGER
city
STRING
company_name
STRING
country
STRING
district
STRING
id
INTEGER
is_default
BOOLEAN
state
STRING
zip
STRING
automation_blocks Replication Method
CDC
Primary Key
id
automation_blocks table foreign keys Join automation_blocks with on automations automation_blocks.automation = automations.id deal_activities automation_blocks.automation = deal_activities.automation goals automation_blocks.automation = goals.automation site_messages automation_blocks.automation = site_messages.automation sms automation_blocks.automation = sms.automation campaigns automation_blocks.automation = campaigns.automation contact_automations automation_blocks.automation = contact_automations.automation
automation_blocks table schema
automation
INTEGER
cdate
DATE-TIME
deleted
INTEGER
id
INTEGER
mdate
DATE-TIME
ordernum
INTEGER
params
OBJECT
ARRAY
parent
INTEGER
automations
The automations
table contains information about automations in your ActiveCampaign account.
automations table foreign keys Join automations with on users automations.userid = users.id forms automations.userid = forms.userid lists automations.userid = lists.userid messages automations.userid = messages.userid saved_responses automations.userid = saved_responses.last_sent_user_id tasks automations.userid = tasks.user templates automations.userid = templates.userid activities automations.userid = activities.userid campaign_lists automations.userid = campaign_lists.userid configs automations.userid = configs.userid contact_emails automations.userid = contact_emails.userid deal_activities automations.userid = deal_activities.userid automations.id = deal_activities.automation deal_group_users automations.userid = deal_group_users.user email_activities automations.userid = email_activities.userid sms automations.userid = sms.userid automations.id = sms.automation calendars automations.userid = calendars.userid campaigns automations.userid = campaigns.userid automations.id = campaigns.automation goals automations.id = goals.automation site_messages automations.id = site_messages.automation automation_blocks automations.id = automation_blocks.automation contact_automations automations.id = contact_automations.automation
automations table schema
cdate
DATE-TIME
defaultscreenshot
STRING
entered
INTEGER
exited
INTEGER
hidden
INTEGER
id
INTEGER
mdate
DATE-TIME
name
STRING
screenshot
STRING
status
INTEGER
userid
INTEGER
bounce_logs Replication Method
CDC
Replication Key
updated_timestamp
bounce_logs table foreign keys Join bounce_logs with on campaigns bounce_logs.campaignid = campaigns.id campaign_links bounce_logs.campaignid = campaign_links.campaignid bounce_logs.messageid = campaign_links.messageid campaign_lists bounce_logs.campaignid = campaign_lists.campaignid campaign_messages bounce_logs.campaignid = campaign_messages.campaignid bounce_logs.messageid = campaign_messages.messageid contact_lists bounce_logs.campaignid = contact_lists.campaign bounce_logs.contact = contact_lists.contact bounce_logs.messageid = contact_lists.message contacts bounce_logs.contact = contacts.id deals bounce_logs.contact = deals.contact forms bounce_logs.contact = forms.contacts contact_data bounce_logs.contact = contact_data.contact contact_emails bounce_logs.contact = contact_emails.contact bounce_logs.messageid = contact_emails.messageid contact_tags bounce_logs.contact = contact_tags.contact contact_conversions bounce_logs.contact = contact_conversions.contact email_activities bounce_logs.contact = email_activities.contact account_contacts bounce_logs.contact = account_contacts.contact contact_automations bounce_logs.contact = contact_automations.contact contact_custom_field_values bounce_logs.contact = contact_custom_field_values.contact contact_deals bounce_logs.contact = contact_deals.contact messages bounce_logs.messageid = messages.id
bounce_logs table schema
bounce
INTEGER
bounceid
INTEGER
campaign
INTEGER
campaignid
INTEGER
code
INTEGER
codeid
INTEGER
contact
INTEGER
created_by
INTEGER
created_timestamp
DATE-TIME
email
STRING
error
STRING
id
INTEGER
message
INTEGER
messageid
INTEGER
source
STRING
subscriberid
INTEGER
tstamp
DATE-TIME
updated_by
INTEGER
updated_timestamp
DATE-TIME
brandings
The brandings
table contains information about existing branding resources in your ActiveCampaign account.
brandings table schema
admin_template_css
STRING
admin_template_htm
STRING
copyright
INTEGER
favicon
STRING
footer_html_value
STRING
footer_text_value
STRING
groupid
STRING
header_html_value
STRING
header_text_value
STRING
help
INTEGER
id
INTEGER
license
INTEGER
public_template_css
STRING
public_template_htm
STRING
site_logo
STRING
site_logo_small
STRING
site_name
STRING
version
INTEGER
calendars
The calendars
table contains information about calendar feeds in your ActiveCampaign account.
calendars table foreign keys calendars table schema
cdate
DATE-TIME
id
INTEGER
mdate
DATE-TIME
notification
INTEGER
title
STRING
token
STRING
type
STRING
userid
INTEGER
campaign_links
The campaign_links
table contains information about the links attached to your campaigns in your ActiveCampaign account.
campaign_links table foreign keys Join campaign_links with on campaigns campaign_links.campaignid = campaigns.id bounce_logs campaign_links.campaignid = bounce_logs.campaignid campaign_links.messageid = bounce_logs.messageid campaign_lists campaign_links.campaignid = campaign_lists.campaignid campaign_messages campaign_links.campaignid = campaign_messages.campaignid campaign_links.messageid = campaign_messages.messageid contact_lists campaign_links.campaignid = contact_lists.campaign campaign_links.messageid = contact_lists.message messages campaign_links.messageid = messages.id contact_emails campaign_links.messageid = contact_emails.messageid
campaign_links table schema
campaign
INTEGER
campaignid
INTEGER
created_by
INTEGER
created_timestamp
DATE-TIME
id
INTEGER
link
STRING
linkclicks
INTEGER
message
STRING
messageid
INTEGER
name
STRING
ref
STRING
tracked
INTEGER
uniquelinkclicks
INTEGER
updated_by
INTEGER
updated_timestamp
DATE-TIME
campaign_lists Replication Method
Full Table
Primary Key
id
campaign_lists table foreign keys Join campaign_lists with on campaigns campaign_lists.campaignid = campaigns.id campaign_lists.userid = campaigns.userid campaign_links campaign_lists.campaignid = campaign_links.campaignid bounce_logs campaign_lists.campaignid = bounce_logs.campaignid campaign_messages campaign_lists.campaignid = campaign_messages.campaignid contact_lists campaign_lists.campaignid = contact_lists.campaign campaign_lists.listid = contact_lists.list users campaign_lists.userid = users.id forms campaign_lists.userid = forms.userid lists campaign_lists.userid = lists.userid campaign_lists.listid = lists.id messages campaign_lists.userid = messages.userid saved_responses campaign_lists.userid = saved_responses.last_sent_user_id tasks campaign_lists.userid = tasks.user templates campaign_lists.userid = templates.userid activities campaign_lists.userid = activities.userid configs campaign_lists.userid = configs.userid contact_emails campaign_lists.userid = contact_emails.userid deal_activities campaign_lists.userid = deal_activities.userid deal_group_users campaign_lists.userid = deal_group_users.user email_activities campaign_lists.userid = email_activities.userid sms campaign_lists.userid = sms.userid automations campaign_lists.userid = automations.userid calendars campaign_lists.userid = calendars.userid webhooks campaign_lists.listid = webhooks.listid
campaign_lists table schema
campaign
INTEGER
campaignid
INTEGER
cdate
DATE-TIME
id
INTEGER
list
INTEGER
list_amt
INTEGER
listid
INTEGER
name
STRING
udate
DATE-TIME
user
INTEGER
userid
INTEGER
campaign_messages Replication Method
Full Table
Primary Key
id
campaign_messages table foreign keys Join campaign_messages with on campaigns campaign_messages.campaignid = campaigns.id campaign_links campaign_messages.campaignid = campaign_links.campaignid campaign_messages.messageid = campaign_links.messageid bounce_logs campaign_messages.campaignid = bounce_logs.campaignid campaign_messages.messageid = bounce_logs.messageid campaign_lists campaign_messages.campaignid = campaign_lists.campaignid contact_lists campaign_messages.campaignid = contact_lists.campaign campaign_messages.messageid = contact_lists.message messages campaign_messages.messageid = messages.id contact_emails campaign_messages.messageid = contact_emails.messageid
campaign_messages table schema
campaign
INTEGER
campaignid
INTEGER
forwards
INTEGER
hardbounces
INTEGER
id
INTEGER
initial_split_percentage
NUMBER
linkclicks
INTEGER
message
INTEGER
messageid
INTEGER
opens
INTEGER
percentage
NUMBER
replies
INTEGER
screenshot
STRING
send_amt
INTEGER
socialshares
INTEGER
softbounces
INTEGER
sourcesize
INTEGER
spamcheck_max
INTEGER
spamcheck_score
INTEGER
subject
STRING
subscriberclicks
INTEGER
total_amt
INTEGER
uniqueforwards
INTEGER
uniquelinkclicks
INTEGER
uniqueopens
INTEGER
uniquereplies
INTEGER
unsubreasons
INTEGER
unsubscribes
INTEGER
updates
INTEGER
campaigns
The campaigns
table contains information about your campaigns in your ActiveCampaign account.
campaigns table foreign keys Join campaigns with on addresses campaigns.addressid = addresses.id forms campaigns.addressid = forms.addressid campaigns.userid = forms.userid campaign_links campaigns.id = campaign_links.campaignid bounce_logs campaigns.id = bounce_logs.campaignid campaign_lists campaigns.id = campaign_lists.campaignid campaigns.userid = campaign_lists.userid campaign_messages campaigns.id = campaign_messages.campaignid contact_lists campaigns.id = contact_lists.campaign users campaigns.userid = users.id lists campaigns.userid = lists.userid messages campaigns.userid = messages.userid saved_responses campaigns.userid = saved_responses.last_sent_user_id tasks campaigns.userid = tasks.user templates campaigns.userid = templates.userid activities campaigns.userid = activities.userid configs campaigns.userid = configs.userid contact_emails campaigns.userid = contact_emails.userid deal_activities campaigns.userid = deal_activities.userid campaigns.automation = deal_activities.automation deal_group_users campaigns.userid = deal_group_users.user email_activities campaigns.userid = email_activities.userid sms campaigns.userid = sms.userid campaigns.automation = sms.automation automations campaigns.userid = automations.userid campaigns.automation = automations.id calendars campaigns.userid = calendars.userid goals campaigns.automation = goals.automation site_messages campaigns.automation = site_messages.automation automation_blocks campaigns.automation = automation_blocks.automation contact_automations campaigns.automation = contact_automations.automation segments campaigns.segmentid = segments.id
campaigns table schema
activerss_interval
STRING
activerss_items
INTEGER
activerss_url
STRING
addressid
INTEGER
analytics_campaign_name
STRING
automation
INTEGER
basemessageid
INTEGER
basetemplateid
STRING
bounceid
INTEGER
cdate
DATE-TIME
created_timestamp
DATE-TIME
deletestamp
DATE-TIME
embed_images
INTEGER
facebook
INTEGER
formid
INTEGER
forwards
INTEGER
hardbounces
INTEGER
htmlunsub
INTEGER
htmlunsubdata
STRING
id
INTEGER
ip4
STRING
laststep
STRING
ldate
DATE-TIME
linkclicks
INTEGER
mail_cleanup
INTEGER
mail_send
INTEGER
mail_transfer
INTEGER
mailer_log_file
INTEGER
managetext
INTEGER
mdate
DATE-TIME
name
STRING
opens
INTEGER
public
INTEGER
realcid
INTEGER
recurring
STRING
reminder_field
STRING
reminder_format
STRING
reminder_last_cron_run
STRING
reminder_offset
INTEGER
reminder_offset_sign
STRING
reminder_offset_type
STRING
reminder_type
STRING
replies
INTEGER
replysys
INTEGER
responder_existing
INTEGER
responder_offset
INTEGER
responder_type
STRING
schedule
INTEGER
scheduleddate
STRING
sdate
DATE-TIME
segmentid
INTEGER
send_amt
INTEGER
sendid
INTEGER
seriesid
INTEGER
socialshares
INTEGER
softbounces
INTEGER
source
STRING
split_content
INTEGER
split_offset
INTEGER
split_offset_type
STRING
split_type
STRING
split_winner_awaiting
INTEGER
split_winner_messageid
INTEGER
status
INTEGER
subscriberclicks
INTEGER
survey
STRING
textunsub
INTEGER
textunsubdata
STRING
threadid
INTEGER
total_amt
INTEGER
tracklinks
STRING
tracklinksanalytics
INTEGER
trackreads
INTEGER
trackreadsanalytics
INTEGER
tweet
INTEGER
type
STRING
uniqueforwards
INTEGER
uniquelinkclicks
INTEGER
uniqueopens
INTEGER
uniquereplies
INTEGER
unsubreasons
INTEGER
unsubscribes
INTEGER
updated_timestamp
DATE-TIME
updates
INTEGER
user
INTEGER
userid
INTEGER
waitpreview
INTEGER
willrecur
INTEGER
configs Replication Method
CDC
Primary Key
id
Replication Key
updated_timestamp
configs table foreign keys configs table schema
cdate
DATE-TIME
created_by
INTEGER
created_timestamp
DATE-TIME
id
INTEGER
item
STRING
keyname
STRING
owner
INTEGER
section
STRING
udate
DATE-TIME
updated_by
INTEGER
updated_timestamp
DATE-TIME
userid
INTEGER
val
STRING
The contact_automations
table contains information about automations in your ActiveCampaign account that you can add contacts to.
Replication Method
CDC
Primary Key
id
Replication Key
cdate
The contact_custom_field_options
table contains information about custom field options for your contacts in your ActiveCampaign account.
The contact_custom_field_rels
table contains information about custom field relationships for your contacts in your ActiveCampaign account.
The contact_custom_field_values
table contains information about custom field values for your contacts in your ActiveCampaign account.
The contact_custom_fields
table contains information about custom fields for your contacts in your ActiveCampaign account.
Replication Method
CDC
Primary Key
id
Replication Key
tstamp
The contact_deals
contains information about secondary contacts associated with a deal in your ActiveCampaign account.
Replication Method
CDC
Primary Key
id
Replication Key
sdate
Replication Method
CDC
Primary Key
id
Replication Key
updated_timestamp
Replication Method
CDC
Primary Key
id
Replication Key
updated_timestamp
The contacts
table contains information about the people that you market or sell to in your ActiveCampaign account.
conversion_triggers Replication Method
CDC
Primary Key
id
Replication Key
udate
conversion_triggers table foreign keys Join conversion_triggers with on conversions conversion_triggers.conversion = conversions.id contact_conversions conversion_triggers.conversion = contact_conversions.conversion conversion_triggers.id = contact_conversions.conversiontrigger
conversion_triggers table schema
automation_block
INTEGER
cdate
DATE-TIME
conversion
INTEGER
dynamic
INTEGER
id
INTEGER
modifier
STRING
retroactive
INTEGER
trigger_type
STRING
udate
DATE-TIME
value
STRING
conversions Replication Method
CDC
Primary Key
id
Replication Key
udate
conversions table foreign keys conversions table schema
cdate
DATE-TIME
currency
STRING
enforcelimit
INTEGER
id
INTEGER
limit
INTEGER
name
STRING
udate
DATE-TIME
value
INTEGER
deal_activities Replication Method
CDC
Primary Key
id
Replication Key
cdate
deal_activities table foreign keys Join deal_activities with on deals deal_activities.deal = deals.id deal_activities.stage = deals.stage deal_custom_field_values deal_activities.deal = deal_custom_field_values.deal_id contact_deals deal_activities.deal = contact_deals.deal forms deal_activities.deal = forms.deals deal_activities.userid = forms.userid email_activities deal_activities.deal = email_activities.deal deal_activities.userid = email_activities.userid contact_emails deal_activities.deal = contact_emails.deal deal_activities.userid = contact_emails.userid deal_stages deal_activities.stage = deal_stages.id deal_groups deal_activities.stage = deal_groups.stages users deal_activities.userid = users.id lists deal_activities.userid = lists.userid messages deal_activities.userid = messages.userid saved_responses deal_activities.userid = saved_responses.last_sent_user_id tasks deal_activities.userid = tasks.user templates deal_activities.userid = templates.userid activities deal_activities.userid = activities.userid campaign_lists deal_activities.userid = campaign_lists.userid configs deal_activities.userid = configs.userid deal_group_users deal_activities.userid = deal_group_users.user sms deal_activities.userid = sms.userid deal_activities.automation = sms.automation automations deal_activities.userid = automations.userid deal_activities.automation = automations.id calendars deal_activities.userid = calendars.userid campaigns deal_activities.userid = campaigns.userid deal_activities.automation = campaigns.automation goals deal_activities.automation = goals.automation site_messages deal_activities.automation = site_messages.automation automation_blocks deal_activities.automation = automation_blocks.automation contact_automations deal_activities.automation = contact_automations.automation
deal_activities table schema
automation
INTEGER
cdate
DATE-TIME
d_id
INTEGER
d_stageid
INTEGER
data_action
STRING
data_id
INTEGER
data_oldval
STRING
data_type
STRING
deal
INTEGER
deleted
INTEGER
id
INTEGER
is_addtask
INTEGER
seriesid
INTEGER
sortdate
DATE-TIME
stage
INTEGER
user
INTEGER
userid
INTEGER
deal_custom_field_values
The deal_custom_field_values
table contains information about custom field values for deals in your ActiveCampaign account.
deal_custom_field_values table foreign keys Join deal_custom_field_values with on deal_custom_fields deal_custom_field_values.custom_field_id = deal_custom_fields.id deals deal_custom_field_values.deal_id = deals.id contact_deals deal_custom_field_values.deal_id = contact_deals.deal forms deal_custom_field_values.deal_id = forms.deals deal_activities deal_custom_field_values.deal_id = deal_activities.deal email_activities deal_custom_field_values.deal_id = email_activities.deal contact_emails deal_custom_field_values.deal_id = contact_emails.deal
deal_custom_field_values table schema
created_timestamp
DATE-TIME
custom_field_id
INTEGER
deal_custom_field_metum_id
INTEGER
deal_id
INTEGER
field_value
STRING
id
INTEGER
updated_timestamp
DATE-TIME
deal_custom_fields
The deal_custom_fields
table contains information about custom fields for deals in your ActiveCampaign account.
deal_custom_fields table foreign keys deal_custom_fields table schema
created_timestamp
DATE-TIME
display_order
INTEGER
field_default
STRING
field_default_currency
STRING
field_label
STRING
field_options
ARRAY
field_type
STRING
hide_field_flag
BOOLEAN
id
INTEGER
is_form_visible
BOOLEAN
is_required
BOOLEAN
known_field_id
INTEGER
personalization
STRING
updated_timestamp
DATE-TIME
deal_group_users Replication Method
Full Table
Primary Key
id
deal_group_users table foreign keys Join deal_group_users with on deal_groups deal_group_users.deal_group = deal_groups.id deals deal_group_users.deal_group = deals.group deal_stages deal_group_users.deal_group = deal_stages.group users deal_group_users.user = users.id forms deal_group_users.user = forms.userid lists deal_group_users.user = lists.userid messages deal_group_users.user = messages.userid saved_responses deal_group_users.user = saved_responses.last_sent_user_id tasks deal_group_users.user = tasks.user templates deal_group_users.user = templates.userid activities deal_group_users.user = activities.userid campaign_lists deal_group_users.user = campaign_lists.userid configs deal_group_users.user = configs.userid contact_emails deal_group_users.user = contact_emails.userid deal_activities deal_group_users.user = deal_activities.userid email_activities deal_group_users.user = email_activities.userid sms deal_group_users.user = sms.userid automations deal_group_users.user = automations.userid calendars deal_group_users.user = calendars.userid campaigns deal_group_users.user = campaigns.userid
deal_group_users table schema
cdate
DATE-TIME
deal_group
INTEGER
id
INTEGER
user
INTEGER
deal_groups
The deal_groups
table contains information about deal pipelines in your ActiveCampaign account.
deal_groups table foreign keys Join deal_groups with on deal_stages deal_groups.stages = deal_stages.id deal_groups.id = deal_stages.group deals deal_groups.stages = deals.stage deal_groups.id = deals.group deal_activities deal_groups.stages = deal_activities.stage deal_group_users deal_groups.id = deal_group_users.deal_group
deal_groups table schema
allgroups
STRING
allusers
STRING
autoassign
STRING
cdate
DATE-TIME
currency
STRING
id
INTEGER
stages
ARRAY
title
STRING
udate
DATE-TIME
deal_stages
The deal_stages
table contains information about grouped deals within a pipeline in your ActiveCampaign account.
deal_stages table foreign keys deal_stages table schema
card_region1
STRING
card_region2
STRING
card_region3
STRING
card_region4
STRING
card_region5
STRING
cdate
DATE-TIME
color
STRING
deal_order
STRING
group
INTEGER
id
INTEGER
order
INTEGER
title
STRING
udate
DATE-TIME
width
INTEGER
deals
The deals
table contains information about deals in your ActiveCampaign account.
deals table schema
account
INTEGER
activitycount
INTEGER
cdate
DATE-TIME
contact
INTEGER
currency
STRING
customer_account
INTEGER
description
STRING
edate
DATE-TIME
group
INTEGER
hash
STRING
id
INTEGER
is_disabled
BOOLEAN
mdate
DATE-TIME
next_task
INTEGER
nextdate
STRING
nextdealid
INTEGER
nexttaskid
INTEGER
organization
INTEGER
owner
INTEGER
percent
NUMBER
stage
INTEGER
status
INTEGER
title
STRING
value
NUMBER
win_probability
NUMBER
win_probability_mdate
DATE-TIME
ecommerce_connections
The ecommerce_connections
table contains information about accounts within your ActiveCampaign account that are linked to an external e-commerce service.
ecommerce_connections table foreign keys ecommerce_connections table schema
cdate
DATE-TIME
externalid
STRING
id
INTEGER
is_internal
INTEGER
last_sync
DATE-TIME
link_url
STRING
logo_url
STRING
name
STRING
service
STRING
status
INTEGER
sync_status
INTEGER
udate
DATE-TIME
ecommerce_customers
The ecommerce_customers
table contains the aggregated e-commerce data from customers in your ActiveCampaign account who are using an external e-commerce service.
ecommerce_customers table foreign keys Join ecommerce_customers with on ecommerce_connections ecommerce_customers.connectionid = ecommerce_connections.id ecommerce_orders ecommerce_customers.connectionid = ecommerce_orders.connectionid ecommerce_customers.id = ecommerce_orders.customer ecommerce_order_products ecommerce_customers.connectionid = ecommerce_order_products.connectionid ecommerce_order_activities ecommerce_customers.connectionid = ecommerce_order_activities.connectionid ecommerce_customers.id = ecommerce_order_activities.customerid
ecommerce_customers table schema
avg_product_category
STRING
avg_revenue_per_order
NUMBER
connection
INTEGER
connectionid
INTEGER
email
STRING
externalid
STRING
id
INTEGER
total_orders
INTEGER
total_products
INTEGER
total_revenue
NUMBER
tstamp
DATE-TIME
ecommerce_order_activities Replication Method
CDC
Primary Key
id
Replication Key
updated_date
ecommerce_order_activities table foreign keys Join ecommerce_order_activities with on ecommerce_connections ecommerce_order_activities.connectionid = ecommerce_connections.id ecommerce_customers ecommerce_order_activities.connectionid = ecommerce_customers.connectionid ecommerce_order_activities.customerid = ecommerce_customers.id ecommerce_orders ecommerce_order_activities.connectionid = ecommerce_orders.connectionid ecommerce_order_activities.customerid = ecommerce_orders.customer ecommerce_order_activities.orderid = ecommerce_orders.id ecommerce_order_products ecommerce_order_activities.connectionid = ecommerce_order_products.connectionid ecommerce_order_activities.orderid = ecommerce_order_products.orderid contact_custom_field_options ecommerce_order_activities.orderid = contact_custom_field_options.orderid deal_stages ecommerce_order_activities.orderid = deal_stages.order
ecommerce_order_activities table schema
abandoned_date
DATE-TIME
connection
INTEGER
connectionid
INTEGER
created_date
DATE-TIME
currency
STRING
customerid
INTEGER
discount_amount
NUMBER
email
STRING
external_created_date
DATE-TIME
external_updated_date
DATE-TIME
externalcheckoutid
STRING
externalid
STRING
id
INTEGER
logo_url
STRING
order
INTEGER
order_number
STRING
order_url
STRING
orderid
INTEGER
shipping_amount
NUMBER
shipping_method
STRING
source
INTEGER
state
INTEGER
store_name
STRING
tax_amount
NUMBER
total_price
NUMBER
total_products
INTEGER
updated_date
DATE-TIME
ecommerce_order_products
The ecommerce_order_products
table contains lists of products for e-commerce orders in your ActiveCampaign account that come from external services. This is a child table of ecommerce_order_products
.
ecommerce_order_products table foreign keys Join ecommerce_order_products with on ecommerce_connections ecommerce_order_products.connectionid = ecommerce_connections.id ecommerce_customers ecommerce_order_products.connectionid = ecommerce_customers.connectionid ecommerce_orders ecommerce_order_products.connectionid = ecommerce_orders.connectionid ecommerce_order_products.orderid = ecommerce_orders.id ecommerce_order_activities ecommerce_order_products.connectionid = ecommerce_order_activities.connectionid ecommerce_order_products.orderid = ecommerce_order_activities.orderid contact_custom_field_options ecommerce_order_products.orderid = contact_custom_field_options.orderid deal_stages ecommerce_order_products.orderid = deal_stages.order
ecommerce_order_products table schema
category
STRING
connectionid
INTEGER
created_date
DATE-TIME
description
STRING
ecom_order
INTEGER
externalid
STRING
id
INTEGER
image_url
STRING
name
STRING
orderid
INTEGER
price
NUMBER
product_url
STRING
quantity
INTEGER
sku
STRING
tstamp
DATE-TIME
updated_date
DATE-TIME
ecommerce_orders
The ecommerce_orders
table contains information about your ActiveCampaign account’s customer orders using an external e-commerce service.
ecommerce_orders table foreign keys Join ecommerce_orders with on ecommerce_connections ecommerce_orders.connectionid = ecommerce_connections.id ecommerce_customers ecommerce_orders.connectionid = ecommerce_customers.connectionid ecommerce_orders.customer = ecommerce_customers.id ecommerce_order_products ecommerce_orders.connectionid = ecommerce_order_products.connectionid ecommerce_orders.id = ecommerce_order_products.orderid ecommerce_order_activities ecommerce_orders.connectionid = ecommerce_order_activities.connectionid ecommerce_orders.customer = ecommerce_order_activities.customerid ecommerce_orders.id = ecommerce_order_activities.orderid contact_custom_field_options ecommerce_orders.id = contact_custom_field_options.orderid deal_stages ecommerce_orders.id = deal_stages.order
ecommerce_orders table schema
connection
INTEGER
connectionid
INTEGER
created_date
DATE-TIME
currency
STRING
customer
INTEGER
discount_amount
NUMBER
email
STRING
external_created_date
DATE-TIME
external_updated_date
DATE-TIME
externalid
STRING
id
INTEGER
order_date
DATE-TIME
order_products
ARRAY
order_url
STRING
shipping_amount
NUMBER
shipping_method
STRING
source
INTEGER
state
INTEGER
tax_amount
NUMBER
total_price
NUMBER
total_products
INTEGER
tstamp
DATE-TIME
updated_date
DATE-TIME
email_activities Replication Method
CDC
Primary Key
id
Replication Key
tstamp
email_activities table foreign keys Join email_activities with on deals email_activities.deal = deals.id email_activities.account = deals.account email_activities.contact = deals.contact deal_custom_field_values email_activities.deal = deal_custom_field_values.deal_id contact_deals email_activities.deal = contact_deals.deal email_activities.contact = contact_deals.contact forms email_activities.deal = forms.deals email_activities.contact = forms.contacts email_activities.userid = forms.userid deal_activities email_activities.deal = deal_activities.deal email_activities.userid = deal_activities.userid contact_emails email_activities.deal = contact_emails.deal email_activities.account = contact_emails.account email_activities.contact = contact_emails.contact email_activities.userid = contact_emails.userid accounts email_activities.account = accounts.id account_contacts email_activities.account = account_contacts.account email_activities.contact = account_contacts.contact account_custom_field_values email_activities.account = account_custom_field_values.account_id contacts email_activities.contact = contacts.id bounce_logs email_activities.contact = bounce_logs.contact contact_data email_activities.contact = contact_data.contact contact_lists email_activities.contact = contact_lists.contact contact_tags email_activities.contact = contact_tags.contact contact_conversions email_activities.contact = contact_conversions.contact contact_automations email_activities.contact = contact_automations.contact contact_custom_field_values email_activities.contact = contact_custom_field_values.contact users email_activities.userid = users.id lists email_activities.userid = lists.userid messages email_activities.userid = messages.userid saved_responses email_activities.userid = saved_responses.last_sent_user_id tasks email_activities.userid = tasks.user templates email_activities.userid = templates.userid activities email_activities.userid = activities.userid campaign_lists email_activities.userid = campaign_lists.userid configs email_activities.userid = configs.userid deal_group_users email_activities.userid = deal_group_users.user sms email_activities.userid = sms.userid automations email_activities.userid = automations.userid calendars email_activities.userid = calendars.userid campaigns email_activities.userid = campaigns.userid
email_activities table schema
account
INTEGER
cc_address
STRING
contact
INTEGER
d_id
INTEGER
deal
INTEGER
from_address
STRING
from_name
STRING
id
INTEGER
message
STRING
message_html
STRING
reference
OBJECT
This is a nested data structure:
relid
INTEGER
reltype
STRING
subject
STRING
subscriberid
INTEGER
to_address
STRING
tstamp
DATE-TIME
user
INTEGER
userid
INTEGER
The forms
table contains information about forms in your ActiveCampaign account.
goals Replication Method
Full Table
Primary Key
id
goals table schema
automation
INTEGER
automation_block
INTEGER
blockid
INTEGER
cdate
DATE-TIME
dirty_stats
INTEGER
id
INTEGER
name
STRING
seriesid
INTEGER
groups
The groups
table contains information about user groups in your ActiveCampaign account.
groups table schema
descript
STRING
id
INTEGER
optinconfirm
INTEGER
p_admin
INTEGER
pg_automation_manage
INTEGER
pg_contact_actions
INTEGER
pg_contact_add
INTEGER
pg_contact_approve
INTEGER
pg_contact_delete
INTEGER
pg_contact_edit
INTEGER
pg_contact_export
INTEGER
pg_contact_fields
INTEGER
pg_contact_filters
INTEGER
pg_contact_import
INTEGER
pg_contact_merge
INTEGER
pg_contact_sync
INTEGER
pg_deal
INTEGER
pg_deal_delete
INTEGER
pg_deal_group_add
INTEGER
pg_deal_group_delete
INTEGER
pg_deal_group_edit
INTEGER
pg_deal_reassign
INTEGER
pg_form_edit
INTEGER
pg_group_add
INTEGER
pg_group_delete
INTEGER
pg_group_edit
INTEGER
pg_list_add
INTEGER
pg_list_bounce
INTEGER
pg_list_delete
INTEGER
pg_list_edit
INTEGER
pg_list_emailaccount
INTEGER
pg_list_headers
INTEGER
pg_message_add
INTEGER
pg_message_delete
INTEGER
pg_message_edit
INTEGER
pg_message_send
INTEGER
pg_personalization_add
INTEGER
pg_personalization_delete
INTEGER
pg_personalization_edit
INTEGER
pg_reports_campaign
INTEGER
pg_reports_list
INTEGER
pg_reports_trend
INTEGER
pg_reports_user
INTEGER
pg_saved_responses_manage
INTEGER
pg_startup_gettingstarted
INTEGER
pg_startup_reports
INTEGER
pg_template_add
INTEGER
pg_template_delete
INTEGER
pg_template_edit
INTEGER
pg_user_add
INTEGER
pg_user_delete
INTEGER
pg_user_edit
INTEGER
req_approval
INTEGER
req_approval1st
INTEGER
req_approval_notify
INTEGER
sdate
DATE-TIME
socialdata
INTEGER
title
STRING
unsubscribelink
INTEGER
lists
The lists
table contains information about groups of contacts that campaigns can be sent to in your ActiveCampaign account.
lists table schema
analytics_domains
STRING
analytics_source
STRING
analytics_ua
STRING
carboncopy
STRING
cdate
DATE-TIME
created_by
INTEGER
created_timestamp
DATE-TIME
deletestamp
STRING
facebook_session
STRING
fulladdress
STRING
get_unsubscribe_reason
INTEGER
id
INTEGER
name
STRING
optinmessageid
INTEGER
optinoptout
INTEGER
optoutconf
INTEGER
p_embed_image
INTEGER
p_use_analytics_link
INTEGER
p_use_analytics_read
INTEGER
p_use_captcha
INTEGER
p_use_facebook
INTEGER
p_use_tracking
INTEGER
p_use_twitter
INTEGER
private
INTEGER
require_name
INTEGER
send_last_broadcast
INTEGER
sender_addr1
STRING
sender_addr2
STRING
sender_city
STRING
sender_country
STRING
sender_name
STRING
sender_phone
STRING
sender_reminder
STRING
sender_state
STRING
sender_url
STRING
sender_zip
STRING
stringid
STRING
subscription_notify
STRING
to_name
STRING
twitter_token
STRING
twitter_token_secret
STRING
udate
DATE-TIME
unsubscription_notify
STRING
updated_by
INTEGER
updated_timestamp
DATE-TIME
user
INTEGER
userid
INTEGER
messages
The messages
table contains information about messages for campaigns in your ActiveCampaign account.
messages table foreign keys messages table schema
cdate
DATE-TIME
charset
STRING
ed_instanceid
INTEGER
ed_version
INTEGER
encoding
STRING
format
STRING
fromemail
STRING
fromname
STRING
hidden
INTEGER
html
STRING
htmlfetch
STRING
id
INTEGER
mdate
DATE-TIME
name
STRING
preheader_text
STRING
preview_data
STRING
preview_mime
STRING
priority
INTEGER
reply2
STRING
subject
STRING
text
STRING
textfetch
STRING
user
INTEGER
userid
INTEGER
saved_responses
The saved_responses
table contains information about email response templates in your ActiveCampaign account.
saved_responses table foreign keys Join saved_responses with on users saved_responses.last_sent_user_id = users.id forms saved_responses.last_sent_user_id = forms.userid lists saved_responses.last_sent_user_id = lists.userid messages saved_responses.last_sent_user_id = messages.userid tasks saved_responses.last_sent_user_id = tasks.user templates saved_responses.last_sent_user_id = templates.userid activities saved_responses.last_sent_user_id = activities.userid campaign_lists saved_responses.last_sent_user_id = campaign_lists.userid configs saved_responses.last_sent_user_id = configs.userid contact_emails saved_responses.last_sent_user_id = contact_emails.userid deal_activities saved_responses.last_sent_user_id = deal_activities.userid deal_group_users saved_responses.last_sent_user_id = deal_group_users.user email_activities saved_responses.last_sent_user_id = email_activities.userid sms saved_responses.last_sent_user_id = sms.userid automations saved_responses.last_sent_user_id = automations.userid calendars saved_responses.last_sent_user_id = calendars.userid campaigns saved_responses.last_sent_user_id = campaigns.userid
saved_responses table schema
body
STRING
cdate
DATE-TIME
id
INTEGER
last_sent_user_id
INTEGER
ldate
DATE-TIME
mdate
DATE-TIME
subject
STRING
title
STRING
scores
The scores
table contains information about prioritization scores on leads in your ActiveCampaign account.
scores table schema
cdate
DATE-TIME
descript
STRING
id
INTEGER
mdate
DATE-TIME
name
STRING
reltype
STRING
status
INTEGER
segments
The segments
table contains information about targeted groups of contacts that meet specified criteria in your ActiveCampaign account.
segments table foreign keys Join segments with on campaigns segments.id = campaigns.segmentid
segments table schema
created_by
INTEGER
created_timestamp
DATE-TIME
hidden
INTEGER
id
INTEGER
logic
STRING
name
STRING
seriesid
INTEGER
updated_by
INTEGER
updated_timestamp
DATE-TIME
site_messages Replication Method
CDC
Primary Key
id
Replication Key
ldate
site_messages table foreign keys Join site_messages with on automations site_messages.automation = automations.id deal_activities site_messages.automation = deal_activities.automation goals site_messages.automation = goals.automation sms site_messages.automation = sms.automation automation_blocks site_messages.automation = automation_blocks.automation campaigns site_messages.automation = campaigns.automation contact_automations site_messages.automation = contact_automations.automation
site_messages table schema
automation
INTEGER
id
INTEGER
ldate
DATE-TIME
name
STRING
template
OBJECT
This is a nested data structure:
detailed : OBJECT, which is also a nested data structure.initial : OBJECT, which is also a nested data structure.
sms Replication Method
CDC
Primary Key
id
Replication Key
ldate
sms table schema
automation
INTEGER
failed
INTEGER
id
INTEGER
ldate
DATE-TIME
msg
STRING
replies
INTEGER
sdate
DATE-TIME
sent
INTEGER
seriesid
INTEGER
tf_day
STRING
tf_hr_from
INTEGER
tf_hr_to
INTEGER
tstamp
DATE-TIME
uniquereplies
INTEGER
unsubscribes
INTEGER
user
INTEGER
userid
INTEGER
The tags
table contains information about labels that you can apply to contacts in your ActiveCampaign account.
task_types
The task_types
table contains information about task types in your ActiveCampaign account.
task_types table foreign keys Join task_types with on tasks task_types.id = tasks.deal_tasktype
task_types table schema
cdate
DATE-TIME
defduration
INTEGER
id
INTEGER
status
INTEGER
title
STRING
udate
DATE-TIME
tasks
The tasks
table contains information about tasks to do in your ActiveCampaign account.
tasks table schema
assignee
INTEGER
automation
INTEGER
cdate
DATE-TIME
deal_tasktype
INTEGER
done_automation
INTEGER
duedate
DATE-TIME
edate
DATE-TIME
id
INTEGER
note
STRING
owner
OBJECT
This is a nested data structure:
relid
INTEGER
reltype
STRING
status
INTEGER
title
STRING
udate
DATE-TIME
user
INTEGER
templates
The templates
table contains information about templates used for campaign emails in your ActiveCampaign account.
templates table foreign keys templates table schema
categoryid
INTEGER
content
STRING
ed_instanceid
INTEGER
ed_version
INTEGER
hidden
INTEGER
id
INTEGER
importnum
INTEGER
mdate
DATE-TIME
modified
INTEGER
name
STRING
preview_content
STRING
screenshot
STRING
subject
STRING
used
INTEGER
userid
INTEGER
waitpreview
INTEGER
users
The users
table contains information about users who can login to your ActiveCampaign account.
users table schema
cdate
DATE-TIME
email
STRING
first_name
STRING
id
INTEGER
last_name
STRING
local_zoneid
STRING
mfa_enabled
INTEGER
password_updated_utc_timestamp
DATE-TIME
phone
STRING
signature
STRING
udate
DATE-TIME
username
STRING
webhooks
The webhooks
table contains information about real-time updates about your contact and campaign activity in your ActiveCampaign account.
webhooks table foreign keys webhooks table schema
cdate
DATE-TIME
events
ARRAY
id
INTEGER
listid
INTEGER
name
STRING
sources
ARRAY
url
STRING