Configuring Dinamize as a Source
In the Sources tab, click on the “Add source” button located on the top right of your screen. Then, select the Dinamize option from the list of connectors. Click Next and you’ll be prompted to add your access.1. Add account access
You’ll need to provide your Dinamize credentials to access your data. The following configurations are required:- User: Your Dinamize username (Nome do usuário)
- Password: Your Dinamize password (Senha do usuário)
- Client Code: Your Dinamize client code (Código do cliente)
- Start Date: (Optional) The earliest date from which records will be synced. If not provided, all available data will be synced. This is particularly useful for streams with replication keys to limit the initial sync window.
2. Select streams
Choose which data streams you want to sync. For faster extractions, select only the streams that are relevant to your analysis. You can select entire groups of streams or pick specific ones.Tip: The stream can be found more easily by typing its name.Select the streams and click Next.
3. Configure data streams
Customize how you want your data to appear in your catalog. Select the desired layer where the data will be placed, a folder to organize it inside the layer, a name for each table (which will effectively contain the fetched data) and the type of sync.- Layer: choose between the existing layers on your catalog. This is where you will find your new extracted tables as the extraction runs successfully.
- Folder: a folder can be created inside the selected layer to group all tables being created from this new data source.
- Table name: we suggest a name, but feel free to customize it. You have the option to add a prefix to all tables at once and make this process faster!
- Sync Type: you can choose between INCREMENTAL and FULL_TABLE.
- Incremental: every time the extraction happens, we’ll get only the new data - which is good if, for example, you want to keep every record ever fetched.
- Full table: every time the extraction happens, we’ll get the current state of the data - which is good if, for example, you don’t want to have deleted data in your catalog.
4. Configure data source
Describe your data source for easy identification within your organization, not exceeding 140 characters. To define your Trigger, consider how often you want data to be extracted from this source. This decision usually depends on how frequently you need the new table data updated (every day, once a week, or only at specific times). Optionally, you can define some additional settings:- Configure Delta Log Retention and determine for how long we should store old states of this table as it gets updated. Read more about this resource here.
- Determine when to execute an Additional Full Sync. This will complement the incremental data extractions, ensuring that your data is completely synchronized with your source every once in a while.
5. Check your new source
You can view your new source on the Sources page. If needed, manually trigger the source extraction by clicking on the arrow button. Once executed, your data will appear in your Catalog.Streams and Fields
Below you’ll find all available data streams from Dinamize and their corresponding fields:Contacts
Contacts
Stream for managing contact information, including email addresses, names, custom fields, and contact preferences.Identifiers:
code- Unique identifier for the contact (primary key)external_code- External code of the contact
email- Contact email addressname- Contact namecustom_fields- Custom fields object (cmp4, cmp5, cmp6…)
insert_date- Registration date (replication key)rest_date- Rest date (contacts will not receive emails until the end of the specified day)
Contact Lists
Contact Lists
Stream for managing contact lists, which group contacts for campaign targeting and segmentation.Identifiers:
code- Unique identifier for the contact list (primary key)user_code- User code of the contact list owner
title- Contact list titletype- Key field for duplicate verification - EM (email) | CE (external code)status- Contact list status - LI (released) | EA (under review) | BL (blocked)
total_contacts- Total number of contactstotal_valid- Total number of valid contacts
insert_date- Registration date (replication key)rest_date- Rest date (contacts in the list will not receive emails until the end of the specified day)
Actions
Actions
Stream for managing email sends (envios), including campaign dispatches, scheduling, and send statistics.Identifiers:
code- Unique identifier for the send (primary key)campaign_code- Campaign codecontact-list_code- Contact list codecontact-list_title- Contact list titlefilter_code- Filter codemessage_code- Message code
title- Send titlesubject- Email subjectsender_name- Sender namesender_email- Sender emailreply_to- Reply-to emailmessage_type- Message type (CAD, URL)url- Message URL (if send type is ‘URL’)action_mark- Verification code to confirm ‘URL’action_type- Send type (PT - Point, IC - Incremental)status- Send status (PD - Pending, AG - Scheduled, EN - Sending, EP - Partially sending, FN - Finished)
total_contacts- Total contacts separated for the sendtotal_sent- Total sent
date_create- Registration date (replication key)date_start- Start datedate_end- End date
Campaigns
Campaigns
Stream for managing email marketing campaigns.Identifiers:
code- Unique identifier for the campaign (primary key)
title- Campaign title
insert_date- Registration date (replication key)
Messages
Messages
Stream for managing email message templates and content.Identifiers:
code- Unique identifier for the message (primary key)
title- Message title
insert_date- Registration date (replication key)
Transactions
Transactions
Stream for tracking consumption/usage transactions, providing billing and usage data for email sends and platform usage.Identifiers:
action_code- Send code (part of composite primary key)dt_transaction- Transaction date (part of composite primary key, replication key)
description- Consumption descriptionvalue- Transaction value
Fields
Fields
Stream for managing custom fields that can be associated with contacts for segmentation and personalization.Identifiers:
code- Unique identifier for the field (primary key)code_name- Internal name for reference in other API callsfield-group_code- Field group codefield-group_name- Field group title
title- Field titletype- Field type (LV - List of Values, DH - Date/time, DT - Date, VC - Short text, TXT - Long text, INT - Integer, FLT - Decimal, PHN - Phone number, DVC - Application token)is_required- Whether the field is requiredis_uniquevalue- For ‘List of Values’ type fields, whether it’s unique (true) or multiple (false)is_searchable- Field applicability
insert_date- Registration date (replication key)
Field Groups
Field Groups
Stream for managing field groups that organize custom fields into logical categories.Identifiers:
code- Unique identifier for the field group (primary key)
title- Field group title
insert_date- Registration date (replication key)
Filters
Filters
Stream for managing segmentation filters used to create dynamic contact lists and target specific contact groups.Identifiers:
code- Unique identifier for the filter (primary key)
title- Filter titletype- Operator between rules (AND, OR)
insert_date- Registration date (replication key)
List of Values
List of Values
Stream for managing predefined value lists used in fields of type “List of Values”.Identifiers:
code- Unique identifier for the value in the list of values (primary key)
value- The value
Optout Emails
Optout Emails
Stream for tracking email opt-outs and unsubscribes, including the reason and origin of the opt-out request.Identifiers:
email- Contact email (primary key)
reason_description- Opt-out reasonorigin- Opt-out origin (C - Manually included, P - Requested by email owner, D - Spam complaint)
request_date- Opt-out request date (replication key)
Users
Users
Stream for managing user accounts and user information.Identifiers:
code- Unique identifier for the user (primary key)
email- User emailname- User namelanguage- Languagetimezone- Timezone
insert_date- Registration date (replication key)
Teams
Teams
Stream for managing teams and organizational hierarchy.Identifiers:
code- Unique identifier for the team (primary key)top_team- Parent team code
name- Team name
Use Cases for Data Analysis
This guide outlines valuable business intelligence use cases when consolidating Dinamize data, along with ready-to-use SQL queries that you can run on Explorer.1. Campaign Performance Overview
Analyze email campaign performance by tracking send statistics, delivery rates, and engagement metrics across all campaigns. Business Value:- Identify which campaigns have the highest delivery rates
- Track send volumes over time
- Monitor campaign status distribution
- Analyze send patterns by campaign type
SQL query
SQL query
- AWS
- GCP
Sample Result
Sample Result
| campaign_code | action_title | action_type | status | contact-list_title | total_contacts | total_sent | send_rate | date_create | date_start | date_end |
|---|---|---|---|---|---|---|---|---|---|---|
| CAM001 | Welcome Campaign | PT | FN | Newsletter Subscribers | 1000 | 985 | 98.5 | 2024-11-15 10:00:00 | 2024-11-15 10:00:00 | 2024-11-15 12:00:00 |
| CAM002 | Monthly Newsletter | IC | EN | Customer Base | 5000 | 3200 | 64.0 | 2024-11-20 08:00:00 | 2024-11-20 08:00:00 | NULL |
2. Contact List Analysis
Analyze contact list health, growth, and composition to understand your subscriber base. Business Value:- Track contact list growth over time
- Monitor list status and health
- Identify lists with high valid contact rates
- Understand list ownership and distribution
SQL query
SQL query
- AWS
- GCP
Sample Result
Sample Result
| code | title | type | status | user_code | total_contacts | total_valid | validity_rate | insert_date | owner_name |
|---|---|---|---|---|---|---|---|---|---|
| LIST001 | Newsletter Subscribers | EM | LI | USR001 | 5000 | 4850 | 97.0 | 2024-01-15 10:00:00 | João Silva |
| LIST002 | Customer Base | CE | LI | USR002 | 3200 | 3100 | 96.9 | 2024-02-20 14:30:00 | Maria Santos |
3. Transaction and Consumption Analysis
Analyze platform usage and consumption patterns to understand costs and usage trends. Business Value:- Track platform usage and consumption over time
- Identify high-consumption periods
- Monitor transaction values and trends
- Correlate usage with campaign activity
SQL query
SQL query
- AWS
- GCP
Sample Result
Sample Result
| transaction_date | transaction_count | total_value | avg_value | unique_actions |
|---|---|---|---|---|
| 2024-11-27 | 45 | 1250.50 | 27.79 | 12 |
| 2024-11-26 | 38 | 980.00 | 25.79 | 10 |
| 2024-11-25 | 52 | 1450.75 | 27.90 | 15 |
4. Opt-out Analysis
Track and analyze email opt-outs to understand subscriber churn and identify patterns in unsubscribes. Business Value:- Monitor opt-out trends over time
- Identify common opt-out reasons
- Track opt-out origins (manual, user request, spam complaint)
- Correlate opt-outs with campaign sends
SQL query
SQL query
- AWS
- GCP
Implementation Notes
Data Quality Considerations
- Most streams use incremental replication based on date fields (
insert_date,date_create,dt_transaction,request_date) - The
start_dateconfiguration parameter can be used to limit the initial sync window for streams with replication keys - Some fields like
total_contacts,total_sent, andvalueare stored as strings and may need casting to numeric types in queries - The
custom_fieldsfield in contacts is an object type and may contain dynamic fields (cmp4, cmp5, cmp6, etc.) - Contact lists and contacts support a
rest_datefield that prevents emails from being sent until the end of the specified day
API Limits & Performance
- The API uses POST requests with pagination
- Rate limiting is handled automatically with retry logic (error code 240024)
- For faster extractions, select only the streams necessary for your analysis
- Streams with replication keys (incremental sync) will only fetch new records since the last sync or the configured start date
- The
teamsandlist_of_valuesstreams are full table syncs (no replication key)