Automatically import contact data into your Brevo account from external systems using FTP servers or databases. This allows you to set up an automated data flow that runs without manual intervention.
Before you start
- You need a connection to one of the following:
- An FTP server (yours or one provided by Brevo)
- A supported database (PostgreSQL, MongoDB, BigQuery, or Snowflake)
- Currently, only contact data is supported. Support for e-commerce objects and custom objects will be available at a later date.
- You can create multiple sources within a single integration to import data from different files or database tables.
ℹ️ About data import through integration
Brevo supports two types of data sources for automated imports: FTP servers and databases.
With an FTP server integration, you upload files to an FTP server, and Brevo automatically retrieves them for import. You can use your own FTP server or request one from Brevo.
- You upload data files to your FTP server at regular intervals (or whenever you have new data).
- Brevo checks the FTP server based on the schedule you define.
- If a file matching your specified rules is found, Brevo imports the data according to your configuration.
- If no new file is found, Brevo waits until the next scheduled check.
Database integrations are particularly efficient because they can import only incremental changes rather than reprocess all data each time.
- Your data is stored and updated in your external database.
- Brevo checks your database based on the schedule you define.
- If new data is detected (based on the field you specify for updates), Brevo imports only the new or modified records.
- If no new data is found, Brevo waits until the next scheduled check.
❓How does it work?
The integration automatically imports data from your external system into Brevo at intervals you define. Once configured, the integration:
- Checks for new data at the frequency you set (hourly, daily, or on-demand)
- Processes and imports new or updated records
- Maps your external data fields to Brevo contact attributes
- Applies data transformation rules you've defined
- Sends you alerts if any issues occur during import
You can monitor all import activity from your integration dashboard and download error reports if needed.
🖱️ Step 1: Access the integration
- From Brevo, click the account dropdown and select Integrations.
- In the search bar, enter the name of the integration you want to install and click it:
- FTP Server for file-based imports.
- PostgreSQL, MongoDB, BigQuery, or Snowflake for database imports.
- Click Setup integration.
⚙️ Step 2: Connect your source to Brevo
The integration will create the connection between Brevo and your external system:
- Enter a name for your integration and click Continue.
- Enter your credentials and fill in optional fields if needed to connect your database to Brevo.
- Click Test integration to ensure your Brevo account and server are connected.
- Click Add integration.
🛢️ Step 3: Add a source
Now that your server and Brevo account are connected, you need to add your data source. A source defines what data to import and how to process it.
Source configuration
- Go to Integrations > My integrations and click the name of the integration you just created.
- Click Create source.
- Enter a name for your source.
- Choose the object in Brevo with which you want to sync your source. It can be Contact, Product, Order, or Order item.
- In the File to sync drop-down, select the file from your source that you want to sync with Brevo. Click the drop-down and Refresh list if your file does not appear in the list.
- (Optional) In the Field to check for updates drop-down, select the field from your source that Brevo should check during each sync to retrieve new or updated information.
- In the Sync frequency drop-down, choose how often you want to collect data from your source to Brevo. It can be manually, every hour, or every day. You will be able to change this frequency later if needed.
- Click Continue.
Data selection
In the Fields to sync drop-down, select which fields from your database source will be synchronized with Brevo and click Continue.
Data transformation
Apply formulas to your different attributes to clean and standardize them with the ones you already have in Brevo.
To apply a formula to an attribute:
-
Click Add formula.
-
In the editor field, enter your transformation formula using CEL (Common
Expression
Language).
Open the accordion below to check our examples of transformation formulas:💡 Good to knowEnter
.in the editor to display available formulas and fields.➡️ To learn more about CEL functions, check our dedicated article CEL functions reference.➕ Examples of transformation formulas-
.normalizeEmail()- Removes spaces and converts email addresses to lowercase -
.normalizePhoneNumber()- Converts phone numbers to international E.164 format -
.normalizePhoneNumber("FR")- Normalizes local phone numbers using a specific country code -
.normalizePhoneNumber(["FR", "BE", "CH"])- Tries multiple country codes in order -
(firstname + ' ' + lastname).trim()- Combines first and last name -
email.isNull() || phone.isNull()- Identifies records with missing data -
maritalStatus.ifNull('unknown')- Replaces null values with a default -
variable.asInt()- Converts a value to integer
-
-
Reorder fields if needed using the drag and drop icon
.
- Click Add field to add a new field in your source and sync it with a Brevo attribute.
- Click Continue.
Attribute mapping
Match fields from your source to Brevo attributes.
-
Next to each of your source field name, select in the drop-down the Brevo
attribute corresponding to it.
❗️ ImportantTo ensure the synchronization works correctly, you have to select at least one field from each required group shown in the purple information callout. When mapping fields, ensure that the Brevo attribute type matches the data type of the field in your source. For example, if the Name field in your source is a text (string) field, you must select a Brevo attribute with the string type.
- Deactivate an attribute if you do not want to sync it anymore.
- Click Continue.
You can check your import status directly in your integration settings by checking the list of your sources.
▶️ Step 4: Activate and monitor your source
Once configured, your source will appear in your integration dashboard. From here you can:
- View source settings and see when data was last imported
- Manually trigger an import to test your configuration or get immediate updates
- View alerts and errors from recent imports and download error reports
- Edit source settings to adjust frequency, transformations, or field mappings
- Delete the source if no longer needed
- Add additional sources to the same integration
Your automated imports will now run according to the schedule you configured.
⏭️ What's next?
🤔 Dúvidas?
Em caso de dúvida, sinta-se à vontade para entrar em contato com nossa equipe de suporte, criando um tíquete a partir da sua conta. Caso ainda não tenha uma conta, entre em contato conosco aqui.
Se você está procurando ajuda com um projeto usando o Brevo, podemos encontrar à agência parceira da Brevo certa.