What: The Google Drive connection allows you to synchronize data and databases into BlueConic via delimited flat files on servers. User profiles can be created or enhanced with this data and BlueConic information can be shared with marketing platforms. This connection supports scheduled batch import and export, as well as importing groups such as households, companies, or accounts.
About BlueConic: The BlueConic customer data platform harnesses the data required to power the recognition of an individual at each interaction, and then synchronizes their intent across the marketing ecosystem.
Why: Transfer customer data from and to internal data warehouses, CRM databases, analytics platforms, and other marketing systems to enrich BlueConic profiles with purchase history and predictive analytics segmentation (e.g. propensity modeling and lifecycle signals). This data can then be used directly within BlueConic or synchronized out to other marketing platforms to interact with users with relevancy and enable right-time messaging, or to enrich data and enhance capabilities with behavioral data collected by BlueConic and profile data integrated from other systems.
Note: Before connecting your BlueConic data with Google Drive, be sure to review the information on using BlueConic with Google in our privacy policy.
Adding a Google Drive connection
- Choose Connections in the Navigation bar.
- Click Add Connection.
- Search for "Google Drive" in the Search bar and choose Google Drive connection.
- The Google Drive connection page opens.
You can expand or collapse metadata fields (favorite, labels, description) by clicking the gray chevron at the top of the page.
- Enter a descriptive name for your connection.
-
Optional: Select the Email notifications box if you would like BlueConic to notify one or more email addresses if there's a problem running the connection or when it runs successfully. Enter one or more email addresses and click OK. You can select whether to receive emails each time it runs or only if the connection fails to run successfully.
Configuring a Google Drive connection
In the side bar on the left are a number of tabs. There is a setup section and there are group import goals and profile import and export goals. You can activate or deactivate goals by using the checkbox in front of the name. Multiple goals can be added by using the "Add goal" button at the bottom of the page and you can delete or copy goals by hovering over them and selecting the respective "x" icon.
Select a goal to open its tab and see that goal's configuration options. You can change the name of the goal at the top of the goal configurations. You can also prioritize the order of your goals by dragging and dropping them to your desired sequence by using the drag handle that appears at the left-hand side of a goal when hovering over it.
The connection will then import and export data based on the order of goals within each category. Categories will always run in the order listed - import groups, import profiles, export profiles.
Set up and run
This is where you set up the authentication that allows BlueConic to connect to Google Drive. Clicking the "Sign in with Google" button will open a pop-up window that will allow you to enter your account credentials.
Setting up a Group import goal
To import data from Google Drive into BlueConic groups, such as households, accounts, companies, etc., click Add goal > Import groups and follow the steps outlined in the goal. The groups import option is available in the connection once you've set up a BlueConic group.
1. Select a group type to import data to a BlueConic group.
Use the dropdown menu to select from the group types defined for your BlueConic tenant.
2. Select your Google Drive source files to be imported.
Select the file source(s) for the data you're importing.
Optional: Specify the files to be imported. You can use regular expressions or wildcards to choose the files.
Note: If you use a wildcard, make sure the value of that wildcard matches your root file and all nested files. For instance, if example_course_20*.csv is used for your root file, and this results in example_course_20244.csv being selected, then your nested files must contain the wildcard value of 244 in their filenames to avoid an error.
Note: The connection can only access files located in the authenticated user's "My Drive". It does not have access to files within "Shared Drives" or files "Shared with me”.
3. Optional: Correct your files before the import.
Use the Search for a processor field to add a data processor to filter or transform the data during the import. For example, you can create a processor to normalize email addresses, filter data fields, or transform data during the import, before it is matched and mapped to BlueConic properties. To add data processors to your BlueConic environment, contact your Customer Success Manager. Learn more about using data processors to filter or transform data imports.
4. Define file and field handling.
Here you can customize how your CSV files and fields should be handled during the import. See the options for configuring CSV file and field imports for details.
5. Link identifiers between Google Drive files and BlueConic groups.
Data that has no matching identifier will be excluded from the import.
6. Map imported fields to BlueConic group properties.
Here, you can configure which values should be mapped to which BlueConic group properties.
- Add mapping: Select a data field from the dropdown list and select the BlueConic group property it populates by entering a search term.
- Bulk mapping: If there are many fields to be mapped, BlueConic detects these fields and offers the option to "Add all detected fields." This also allows you to set a merge rule for these fields simultaneously.
-
Add a prefix: You can optionally add a prefix to the BlueConic properties. If you set the prefix and then add an empty mapping, the right side automatically adds the prefix as well
7. Run the connection.
Check the box next to Import group data into BlueConic in the left panel, and save your settings. A green arrow appears, going from the Google Drive icon to the BlueConic icon.
Setting up a profile import goal
Use the profile import goal to import profile data and events such as transactions or orders (via CSV files) from Google Drive into BlueConic. To do this, choose Add goal > Import profiles and complete the steps outlined in the goal.
1. Select a BlueConic domain group for the import.
BlueConic supports domain groups to ensure profiles are exchanged between the right domains. Select a domain group for the import to ensure that the correct profiles are updated or added.
2. Select the Google Drive source files to be imported.
Select the file source(s) for the data you're importing. Note: The connection can only access files located in the authenticated user's "My Drive". It does not have access to files within "Shared Drives" or files "Shared with me”.
Tip: When you are choosing which file to designate as the root file, choose the one containing customer or profile data first. Then, you can link it to additional CSV files, such as event or product files, using the Connect (chain) icon.
Note about unique file names: The name of the root file must be unique. The root file cannot have the same filename as the files linked to it, or the files will not be imported.
Optional: You can also use regular expressions or wildcards to choose the files.
Click OK. Continue adding files and linking their data columns as needed. Note that the Connect icon is red until linking is established correctly, and then turns clear. In this example, we are importing profile order data from a person.csv file that is linked to contract.csv and contract2.csv.
Tip: If you select one of the files, a lightbox opens with a preview of the file columns and contents.
3. Optional: Correct your files before the import.
Use the "Search for a processor" field to add a data processor to filter or transform the data during the import. For example, you can create a processor to normalize email addresses, filter data fields, or transform data during the import, before it is matched and mapped to BlueConic properties. To add data processors to your BlueConic environment, contact your Customer Success Manager. Learn more about using data processors to filter or transform data imports.
4. Define file and field handling.
Here you can customize how your CSV files and fields should be handled during the import. See the options for configuring CSV files and field imports for details.
5. Link identifiers between Google Drive files and BlueConic.
Here you link profile identifiers from the Google Drive import to BlueConic profiles. Data without matching identifiers will be excluded from the import.
Select a column name on the left and select either the BlueConic profile identifier or a profile property that is a unique identifier on the right-hand side for matching.
Check the Allow the creation of new profiles in BlueConic box to create a new BlueConic profile if the data field doesn't match an existing BlueConic profile when the import runs. If the box isn't checked, only existing profiles are updated, and data that doesn't match BlueConic profiles will be ignored.
6. Map Google Drive data to BlueConic profile properties.
Choose Add mapping to configure which CSV values should be mapped to which BlueConic profile properties. If you have multiple fields to map, BlueConic detects the fields and offers the option to map them all at once.
Bulk mapping: Select "Add all detected fields" to set up a bulk mapping between Google Drive and BlueConic. This also allows you to set a merge rule for these fields simultaneously.
Add a prefix: You can optionally add a prefix for the BlueConic profile properties. If you set the prefix and then add an empty mapping, the right side automatically adds the prefix as well.
A warning message saying "Existing property" appears if the BlueConic profile property you're mapping to already exists and the import would save data into an existing profile property.
You can use the dropdown menu to specify how the value(s) should be imported:
- Set: Always overwrite the profile property value in BlueConic.
- Set if empty: Import the value in BlueConic only if the profile property does not contain a value yet.
- Set or clear: Clear the value in the profile property if the CSV contains no value for the field.
- Add: Add the imported value to the list of values for the profile property. The list will only contain unique values, doubles are not imported.
- Sum: Numerically add the imported value to the value of the profile property in BlueConic. If the profile property was empty, it will be treated as 0. If the imported value is not a number, it is not imported.
You do not have to create a mapping and import every field of the CSV into BlueConic; there is no need to clutter BlueConic's data storage with values that serve no purpose in BlueConic or other connected systems. It is a best practice to only import values that are of interest to BlueConic use cases.
7. Optional: Import Timeline events into BlueConic.
You can choose to import customer order data to BlueConic using either the default BlueConic Order event type, or using a custom Timeline event type you have already created with a plugin XML file. You can map order details in the left column with order event properties, event date/time, and the event ID. Learn more about how you can use Timeline events in BlueConic.
Use the Add mapping button if you want to extend the mapping for each order to include additional, nested Order event details, such as additional products. If there are many event properties to be mapped, BlueConic detects these and offers the option to "Add all event properties to import."
Click the Add a Timeline event type button to add additional Timeline event types to the data import. Learn more about using Timeline events in BlueConic.
8. Run the connection.
To run the connection, you need to Save your changes and turn the connection On.
Check the box for Import data into BlueConic in the left panel. A green arrow appears, going from the Google Drive icon to the BlueConic icon.
Setting up profile export goals for a Google Drive connection
Export goals enable you to send profile data from BlueConic to Google Drive. To do this, choose Add goal > Export profiles and complete the steps outlined in the goal. Note that by default, this connection will only export profiles that have been changed since the last export.
1. Select a BlueConic segment to export profile data from.
Using the Select segment Search bar, choose a BlueConic segment. Only profiles in this segment with a value for at least one of the selected profile properties (from Step 4) are exported.
2. Set up the directory to export to.
Enter the Google Drive directory for the exported files, or choose the folder icon to select a directory. View the files already in the directory in the Files detected table.
3. Determine file and field handling.
Here you can customize how your CSV files and fields should be handled during the import. See the options for configuring CSV file and field imports for details.
4. Optional: Modify your data before the export.
You can add one or more data processors to filter or transform your data for export. For example, you can use a processor to normalize email addresses, filter data fields, or transform data during the export. To add data processors to your BlueConic environment, contact your Customer Success Manager. Learn more about using data processors to filter or transform exported data.
5. Map BlueConic data to Google Drive.
Select the BlueConic data you want to export into Google Drive.
Select a BlueConic profile property by entering a search term and enter the data field value it should populate. Order mappings by grabbing the drag bar on the left side; this will be reflected in the order of the fields in the exported file.
Select the BlueConic icon to open a dropdown menu where you can switch between the type of information you want to export. Pick one of:
- Profile property: The value of a specific profile property
- BlueConic profile identifier: The unique identifier for a profile
- Associated segments: All segments, or a selection of one or more specific segments that the profile is associated with
- Associated lifecycles: All lifecycles this profile is associated with. Learn more about BlueConic Lifecycles.
- All viewed interactions (all time): The interactions that the profile has seen
- Permission level: The permission level set in the profile
-
Text value: Enter any static text
6. Optional: Export Timeline events to Google Drive.
If you have BlueConic Timeline events, you can choose whether to export events for profiles in the current export, for all event types or a single event type, for all time, or a during a specific time period.
When you run the connection, BlueConic creates a CSV file for each event type (for example, order.csv for the event type orders). If there are nested events (for example, products), BlueConic creates additional CSV files in the same directory for each nested event. Column headers in the CSV file are derived from the Event type definition.
7. Run the connection.
Choose Save on the top right corner of the screen to save your Export goal and turn the connection On at the top of the Connection window.
In the left panel, check the box next to Export profiles. A green arrow appears, going from the BlueConic icon to the Google Drive icon.
Running a Google Drive connection
Tip: Make sure you have added Import and Export goals and saved your settings before running the connection.
- Turn the Google Drive connection on.
- Go to the Authentication and run page. Scroll down to the Run history section. This table shows all past and scheduled runs for the connection. In the details column, it also lists the last five created or updated profiles and links to the profile identifier so you are able to see exactly how and whether profiles were created or updated correctly.
- To start the import and export manually, save your settings and select Run now.
- To schedule the import and export for a future date, select the Settings icon . Choose how to schedule the import by choosing an option from the drop-down list:
- Every X minutes
- Number of times per day
- Days of the week
- Days of the month
- Weekday of the month
Set a time for the import. Choose OK.
Data exchange shows you the total number of unique profiles that have been imported or exported via the connection. Note that these are unique profiles. If the same profile is exported multiple times, it is counted as 1.
Privacy management
Connections can be added to Objectives, allowing for privacy management of the information that is being picked up. A connection will only process the profiles of visitors who have consented to at least one of the objectives that the connection is linked to.