Data QA

Clean data from day one means accurate segments, reliable predictions and campaigns you can trust from launch. Data QA confirms your data is ready before it's loaded, and the checklist on this page helps you get it right the first time.

Problems caught now are quick to fix, while problems found after launch take much longer to unwind. The more of this checklist you cover before your first delivery, the faster you'll get through QA.

📘

Using self-service onboarding? QA in your Onboarding Hub doesn't just flag issues; it helps you resolve them. Automated checks identify what needs attention, and you can fix common issues directly in the Hub, such as choosing to keep the newest record when duplicates are found. Rerun the checks until your data passes validation.

Use the checklist below to prepare your data. The QA process described further down applies to Optimove-managed onboarding.


How the QA loop works (Optimove-managed)

  1. You deliver your data

    Start with the Customers table, then the rest of your tables, including historical data.

  2. Optimove runs QA

    You get a report listing every issue found.

  3. You fix and redeliver

    The loop repeats until the data is clean.

  4. QA finalization

    Both sides confirm the data is ready, and Optimove loads your data.

Going through the checklist below before your first delivery cuts down the number of rounds.

QA checklist

Data types

LanguageEnglish is recommended for file, table and column names.
Dateyyyy-MM-dd. Don't use default dates like 1900-01-01. Use NULL (blank in files).
Datetimeyyyy-MM-dd hh:mm:ss. No UTC suffix. yyyy-MM-ddThh:mm:ssZ isn't valid.
DecimalsUse a dot (.). The Optimove UI shows up to 4 decimals, and more are supported behind the scenes when needed for accurate calculations.
CurrencyAdd currency as its own string column (for example, GBP). Don't put the currency symbol in the amount field.
Currency conversionOptimove shows monetary values in one currency. If you have several, tell us which one is the main one and how to convert the others.
StatusProvide a definition for any status column that uses numeric IDs.
Missing valuesLeave them blank or NULL. Don't replace them with a string or default value.

Alignment between tables

Share documentation or an ERD that explains your data schema.

Customer IDAll sources must use the same unique customer identifier so Optimove can link them.
Primary keysSpecify the primary key for each table. It must be unique for every row and can't be NULL.
Foreign keysSpecify the foreign keys for each table, meaning the columns that reference another table's primary key.
CustomersEvery customer in a transactional table must exist in the Customers table. Only customer IDs in the Customers table are included in Optimove.
Registration dateTransactional records can't predate the customer's registration date, and registration date can't be NULL. Only customers with a valid registration date are included.

Data stability

Date rangeCheck that daily trends are stable and look for gaps. If gaps are expected, tell us in advance.

Files

FormatCSV, JSON or PARQUET are preferred. If you can't use those, see the other supported formats.
File sizeSplit large files into smaller batches. See Batch Data Delivery Methods for file size guidance.
CompressionGZ. ZIP isn't supported.
HeadersField names must be in the first row, even when the file is empty.
DelimitersComma (,), semicolon (;) or pipe (|)
Double quotesWrap fields that contain double quotes in double quotes, and double each embedded quote. John "The Man" becomes "John ""The Man""".
NamingHistorical files use the table name from your schema. Daily files use TableName_yyyyMMdd.csv (for example, Customers_20160120.csv). In cloud storage, use [BucketName]/[TableName]/[Date]/[File].[ext], for example MongoDb/Customers/20201202/Customers_20201202.json.
JSONOne JSON object per row, with no extra brackets at the start or end of the file. Leave NULL fields empty. Don't write "NULL".
{"Id":"30515240","SubscriptionId":null}
{"Id":"30515241","SubscriptionId":null,"Amount":"99.00"}

Database

Last updated dateDaily updates are incremental, so every table must have, and keep up to date, a last updated date column.

Other

Marketing opt-inInclude the marketing opt-in field. It determines whether promotional messages can be sent to a customer.

Once your daily updates are live

From then on, Optimove checks every daily delivery for missing files and unexpected data volumes. See Batch Data Update.


Did this page help you?