FTP / S3 Import Templates
Engage+ offers several different ways to bring data into the platform and load it into your marketing database. Data can be imported in a manual process through a file import (see Imports for more details), or by way of an FTP or Amazon S3 automated process. You can manually edit or enter records one at a time using the Record Lookup screen. Data can also be submitted to the platform through an API Post, or through Web Forms and Web Events. The best import method should be indicated by your business requirements and marketing strategy. If you have any questions about which import method best meets your needs, please speak with your Client Services Representative.
As with Export Templates, an Import process can be defined through the use of a repeatable template. An Import Template controls the schedule of when to run the import, as well as details about the file handling settings.
Prerequisites
Before proceeding to import data into the platform, the following required assets need to be created within Cheetah Digital:
-
Tables: The destination Table where you want to load your import data should be created, and should include all the necessary fields and joins, as well a Unique Identifier. See the Tables topic for more details.
-
Data Map: Data Maps identify the correct Table into which the data needs to be loaded, as well as the fields in that Table where each column in the import file will be stored. See the Data Maps topic for more details.
-
Profiles: A Profile controls the location and login credentials for an FTP server, or S3 Bucket, from which import files are to be downloaded. See the FTP / S3 Profiles topic for more details.
-
NCOA Process: If you're importing data with consumer postal address information, you can optionally run that data through NCOA (National Change Of Address) processing. This process submits an address list to a service which in turn runs it against regulated lists that maintains updated addresses. From this, updated addresses are returned. See the NCOA Processes topic for more details.
-
Custom Stored Procedures:Custom procedures are typically used to perform additional data transformations on the import file. If you need a custom stored procedure created for your account, please contact your Client Services Representative.
Data file formats
Engage+ accepts database imports as Microsoft Excel files or as text files, with the data fields being delimited using any of the following characters: tab, comma (,), semicolon (;), pipe (|), or caret (^). The platform also supports the use of fixed-width import files.
Before importing data into the platform, make certain the data is clean and formatted properly. The following tips can be useful when creating text files from Microsoft Excel:
-
Whenever possible, try to avoid using a comma as the delimiter character for your import file, and instead use tab or pipe for a delimiter. Commas are used more frequently within data, and as such, are more difficult to discern when examining data. The tab or pipe characters are rarely found in data.
-
Preview the text file in a text editor, such as Notepad, using line numbers and visible spaces to review the file and ensure proper formatting.
Data parsing
The platform parses the import data to ensure that the values are clean, valid, and usable. Depending on the Data Type for a field, various methods of parsing and cleansing are utilized. The platform may adjust the import value for a field according to rules set for that type of field. For example, if a numeric value is being imported into a field identified as a "Phone Number," the platform will verify that this value is the correct length, and will remove any unnecessary and invalid characters. For more details on the Data Parsing rules utilized by Cheetah Digital, please see the Data Parsing Help topic.
Load and send
The FTP / S3 Import Templates screen is also used to manage Import Templates used for the platform's Load and Send feature. Load and Send allows you to import "campaign-ready" files containing all the information needed to build and deploy the Campaign (such as personalization fields, and contact information like Email Address). This data is loaded into a special table dedicated specifically to the Load and Send feature, rather than into the regular relational database tables. Import Templates that are intended for use in Load and Send Campaigns differ slightly from regular Import Templates, as follows:
-
The Ignore Update History option will un-selected by default, without the option to select it.
-
The only supported Hierarchy Option is Update Current Customer Only.
-
Postal processing isn't supported.
Access
The FTP / S3 Import Templates screen is accessible from the Main menu by selecting Data > Integration > FTP / S3 Import Templates.
Create a new FTP / S3 import template
To create a new Import Template:
-
Above the list of existing Import Templates, click + New button.A New Import Template pop-up window is displayed.
-
In the Name field, enter a name for the new Import Template.
-
Click Create. The workspace is refreshed to show a blank import template details screen, where you can configure the details of the import template.
-
Optionally, you can assign one or more tags to your import template. To assign a tag, click on the Add tag field in the Edit section of the tool ribbon. The system displays a pop-up menu of all the existing tags. You can select one of these tags, or type in a new one and press Enter. You can repeat this process to add more tags. To remove a tag, click the X icon next to the tag label.
Schedule
The Schedule section allows you to set a schedule for automatically executing the import process. To define the schedule frequency and duration:
-
Select either Start Immediately or Start On. If you select Start On, enter the start date and time.
-
Define the recurrence frequency:
-
Daily: Enter an interval (every "X" days).
-
Weekly: Select one or more days of the week.
-
Monthly: Select either:
-
A specific number ("15th of the month" for example).
-
Define a business rule to calculate a date ("second Tuesday of every month" for example).
-
-
Yearly: Select either:
-
A specific month / date ("January 15th" for example).
-
Define a business rule to calculate a date ("second Wednesday in August" for example).
-
-
-
Select the schedule starting time:
-
Once a day: Enter a specific start time.
-
Several times a day: Define an interval in either minutes or hours. Also, define the active window during which the schedule can run by selecting the starting and ending times for this window.
-
-
Select how long this automated schedule should run, either Do Not End or End On. If you select End On, enter the stop date and time.
-
By default, the system will use the time zone that's defined for your user account. To use a different time zone, click Set Time Zone in the Tool Ribbon. A Set Time Zone pop-up window is displayed. Select a time zone, then click OK.
-
To enable the schedule, click Edit> Start Schedule in the Tool Ribbon.
-
In the Tool Ribbon, click Edit > Save.
FTP / S3 Download
The FTP / S3 Download section is used to define the details of the expected file location and name.
-
From the FTP / S3 Profiles drop-down menu, select the desired FTP or S3 Profile (see FTP / S3 Profiles for more details).
-
In the File Path field, enter the file path to the location on the FTP server or S3 Bucket where the import file will be stored. The value you enter here should include both the folder path and the file name. Typically, files imported into the platform are placed in an "incoming" folder. We recommend adding a date / time stamp to the file name in order to keep file names unique. If your import file contains a date / time stamp, use a date mask in the "File Path" field, such as {(yyyy-MM-dd)} for example.
Sample "File Path" value: /incoming/IINFL100_DAILY{(yyyy-MM-dd)}.csv
Note: Cheetah Digital will not pick up a file with the same exact file name more than once.
-
In the Post Processing Suffix field, enter a value that the platform will append to the end of every inbound file name. This suffix is used to differentiate processed files from new files, and also to prevent any confusion around duplicate file names. We recommend using a date / time stamp as part of the Post Processing Suffix to help identify when the file was processed.
-
Sample "Post Processing Suffix" value: .processed_{(yyyyMMdd_HHmmss)}
-
-
Optionally, if you want the platform to delete the file from the FTP site or S3 bucket after it's been downloaded, select the checkbox Delete File.
-
Optionally, if you want the platform to check the file's last modified date and time prior to importing the file, select the check box Timestamp. This option is intended to prevent the platform from re-importing the same data file.
-
Optionally, if you want to use PGP encryption, select PGP Key check box, then enter your encryption key.
-
Optionally, if the import file is compressed and needs to be expanded, select ZIP File check box." If you select this option, a Password field is displayed. If you're importing password-protected ZIP files, enter the password in this field.
-
In the Tool Ribbon, click Edit > Save.
Files to Import
An Import Template can optionally be used to import multiple files within the same ZIP file. You can choose to handle all of these files in the same manner, or you can select different configuration options and Data Maps for each file. Initially, this section displays a single item with the default file name (*.*), which indicates "all files."
To configure the import file (or files):
-
Click the edit link (pen icon) next to the default file name (*.*). The File to Import pop-up window is displayed.
-
If you want all the files within the ZIP file handled the same way, simply leave the default file name (*.*) in the File Name field. If you want to handle each file within the ZIP file separately, then enter the specific file name in the File Name field.
-
From the Import Priority drop-down menu, select the appropriate priority for this import -- Urgent, High, or Normal (the default is Normal). The Priority you select determines the order in which your imports will be handled. When the system initiates an import with a higher priority than an in-progress import, the higher priority file moves to the next in line, waits for the in-process import to finish, then begins processing. If your imports have the same priority, they will be processed in the order in which they were added (older imports first).
Note: You can't adjust the priority of an in-progress import. The import priority you select in the Files to Import dialog box will be applied to this template from this point forward, and not to any in-progress imports.
-
From the Data Source drop down menu, select the table in your database where the import file is to be loaded.
-
In the Data Map field, either begin typing in the data map name, or click the browse button
to browse and select. You can also create a new data map by clicking the new button
. See Data Maps for more details. -
Optionally, if you want to view the details of the data map after selecting it, click
. The system displays the Data Maps screen. When finished, click the Import Template tab in the Top Navigation Pane to return to the Import Template screen. -
If you have any CASS / NCOA Processes defined for your account, an additional Postal drop down menu is displayed. Optionally, select an NCOA Process from this menu. See NCOA Processes for more details.
Note: The Postal drop-down menu is not displayed if you selected a Load and Send table above in step 4.
-
If you have any custom stored procedures defined for your account, an additional Post-Update Process drop down menu is displayed. Optionally, select a stored procedure from this menu. Custom import procedures are typically used to perform additional data transformations on the import file.
-
If your account utilizes a "Parent / Child" database architecture, an additional Hierarchy Options drop-down menu is displayed. Select one of the following options:
-
Update Current Customer Only: This option will load the data to the Parent system only.
Note: If you selected a Load and Send table above in step 4, then the Update Current Customer Only is selected by default, and can't be changed. This option is the only valid setting for Load and Send processing.
-
Update Current Customer and Children: This option will load the data to the Parent and to any Children systems as well.
-
Custom Hierarchy Rule: This option allows you to select a custom Hierarchy Rule. If you select this option, the Hierarchy Rule field is displayed. To use an existing Hierarchy Rule, either begin typing in the Hierarchy Rule name, or click the browse button
to browse for and select it. You can also create a new Hierarchy Rule by clicking the new button
.
-
-
If you selected a Load and Send table above in step 4, an additional Bypass Record limits check box is displayed. The Load and Send feature imposes a limit of 100 columns and / or 5 million rows on the import file. If you need to import a larger file, you can optionally override this limitation by selecting this check box.
-
Optionally, if you want commit this file to the database without requiring manual review and approval of the parsing results, place a check mark next to Auto-Commit. If you leave this option unchecked, the platform will pause the import process after the parsing step, to allow you to manually review and approve the parsing results before committing the import to the database (see Review and Approve an Import for more details).
-
If you want to capture and store records that encounter exceptions,select the check box Import Exceptions (note: this is an optional feature that must be enabled within your account in order to be available for selection).
The next option relates to the platform's update history functionality. Update history for a file means that the platform writes an update for every record that came in on the file, to denote that the record “came in on this file at this time.” This level of detail allows you to create Filters that can look for all records that came in on a specific file, or in a specified timeframe, and return all of those records. The default setting is to retain this information, in order to build an activity history for all records.
If you don't need, or want, to store update history, you can turn this feature off. An example would be something like a Product table. Let's say you don't create Filters on Product records, but instead use that data only to personalize order confirmations. In this case you can ignore the update history, so that you have only the data, but not the unnecessary details of what records were updated, and when.The advantages to not storing update history are basically storage space and performance. Ignoring update history will give you a slight performance boost on import processing, and store less data on the backend.
-
Optionally, select Ignore Update History check box if you don't want to keep a history of the imported records.
Note: The Ignore Update History check box is automatically unchecked, but not displayed, if you selected a Load and Send table above in step 4. Also, the Filter / Trigger check box (described below) will be unchecked, and disabled.
-
If you left Ignore Update History unchecked, you can optionally use the import file as part of a trigger or Filter by checking the Filter / Trigger check box, and selecting a folder where you want the platform to save the import item. If you check this check box, the system will automatically generate a Filter that selects the records in that import. This system-generated Filter will be named Import File <Import name> and will be located within the same folder as the import item. The Filter will consist of a single rule that uses the File Imports Activity type to target the records in that import file.
-
If you checked Ignore Update History, you can optionally select to maintain a copy of the import file by checking the Copy check box, and selecting a folder where you want the platform to save the copy. This feature is primarily intended for auditing purposes, as you can use the copy of the import file to view file statistics, counts, parsing errors, etc.
-
-
Click Save file mapping. The grid in the Files to Import section is updated to show the file name, data map, table, and priority for this import file.
-
If you need to configure additional import files, click Add new file, then repeat steps 2 through 11 as needed. Please note that if you're defining multiple import files within the same FTP Import Template, you can have a mix of Load and Send tables and regular relational tables within that same FTP Import Template.
-
In the Tool Ribbon, click Edit> Save.
Notifications
If you checked the Import Exceptions check box above, an additional Notifications section is displayed on the screen. This section allows you to define email alerts if the contents of your import file surpass certain thresholds for a selected import metric or exception.
-
In the Choose Notification Type drop-down menu, select the desired metric (or "All Metrics"). The Notification Settings pop-up window is displayed.
-
In the Notification Thresholds section, enter the desired threshold settings that will trigger the alert notification. You can enter one or both of the following rules. If you enter both rules, the notification will be triggered if at least one condition is met.
-
Percentage of file: Enter the percentage of "invalid" records on the import file that will trigger the notification.
-
Number of rows: Enter the quantity of "invalid" records on the import file that will trigger the notification.
-
-
Email notification settings can optionally be saved as a template, which allows you to reuse those settings. In the Email Settings sections, you can either select an existing email notification template, or create a new template.
-
Existing Template: Selected the desired template from the Template drop down menu.
Note: If you want to delete an existing template, select it from the Template drop-down menu, then click Delete.
-
New Template: Enter the email subject line, from email address, and recipient email address (or multiple addresses). Enter a short message for the email notification. Optionally, if you want to save these email notifications settings, enter a name for the template in the Save Template As field.
-
-
If you want the system to send notifications after the parsing step, select Parsing.
-
If you want the system to send notifications after the database update step, select Update.
Note: You must check at least one of the above check boxes.
-
Click OK. the system adds the email notification to the Selected Notifications list. To view or edit the notification details, click the edit button
, the Notification Settings pop-up window is displayed. To delete a notification, click the delete button. -
Repeat steps 1 through 6 as needed to define the email notifications for additional metrics. Each selected metric is handled separately, and will generate its own email notification message.
-
In the Tool Ribbon, click Edit> Save.
Copy an Import Template
To copy an existing item to use as the basis for a new item:
-
Search for the desired item (see Search for an Item for more details).
-
Click on the item name. The main item screen is displayed and populated with the details of the selected item.
-
In the Tool Ribbon, click Edit > Save As. A Save as dialog box is displayed.
-
Enter a name for the new item.
-
By default, the new item will be saved in the same folder location as the base item. Optionally, click the magnifying glass icon to browse to and select a different folder location.
-
Click Save a Copy. The system creates a copy of the selected item.
View or Edit an Import Template
To view or edit an FTP / S3 Import Template:
-
When the screen is displayed, a list of all the current Import Templates is displayed in the left-hand side of the workspace. Optionally, you can filter this list by typing in all or part of FTP Import Template name in the Search by Name field.
-
Click on the Import Template that you want to view. The workspace is refreshed to show the details of the selected Import Template.
-
Optionally, to view detailed information about the Import Template, click the FTP Import tab in the Tool Ribbon. The Item Details screen is displayed, showing who created the item, who modified it last, and what the last actions taken on the item were. The direct link URL to the Import Template is available here, which can be copied to the clipboard using the Copy Link icon. This can be used to easily share and also open the Import Template in a browser. On this screen, click Related Items in the function menu to see other items in the system that reference or utilize this Import Template. When finished, click the Edit tab in the tool ribbon to return to the main edit screen.
-
Optionally, you can assign one or more tags to your Import Template. To assign a tag, click on the Add tag field in the Edit section of the tool ribbon. The system displays a pop-up menu of all the existing tags. You can select one of these tags, or type in a new one and press Enter. You can repeat this process to add more tags. To remove a tag, click the X icon next to the tag label.
-
Optionally, to rename the Import Template, click Edit > Rename in the tool ribbon. A Rename Item dialog box is displayed. Enter a new name for the import template, then click Save new name.
-
The Schedule section allows you to set a schedule for automatically executing the import process. Optionally, make any necessary changes to the schedule frequency and duration (see Create a New FTP / S3 Import Template above for more details). To pause or disable a schedule, click Edit > Stop Schedule in the tool ribbon.
-
The FTP / S3 Download section is used to configure the file handling details. Optionally, make any necessary changes to the file handling options.
-
The Files to Import section is used to configure the import file (or files), and to select the priority and Data Map. Optionally, make any necessary changes to the import file configuration.
-
The Select Notifications section is used to define email alerts if the contents of your import file surpass certain thresholds for a selected import metric or exception. Optionally, make any necessary changes to the email notification settings.
-
The Imports section shows a log of all files imported using this Import Template. The log shows the file name, current status, date / time that the import was finished, and the number of rows that were imported. To refresh the log to see the most updated results, click the refresh link (double blue arrow icon). To view additional details for an import file, such as download start and end time, click the down-arrow icon to the left of the filename.
-
To view parsing details or database update details, click the stats link (magnifying glass icon). The File Statistics pop-up window is displayed. The Parsing section of this window (expanded and displayed by default) shows the stats and results of the parsing process. Click the Update section to view the database update stats. For more details on approving a file import, see Review and Approve an Import below.
-
In the Tool Ribbon, click Edit > Save.
Review and Approve an Import Template
The platform parses import data to ensure that the values are clean, valid, and usable. Depending on the Data Type for a field, various methods of parsing and cleansing are utilized. The platform may adjust the import value for a field according to rules set for that type of field. For example, if a numeric value is being imported into a field identified as a "Phone," the platform will verify that this value is the correct length, and will remove any unnecessary and invalid characters. For more details on the Data Parsing rules utilized by Cheetah Digital, please see the Data Parsing Help topic.
When importing data via an Import Template, you have the option of automatically committing the data to the database without reviewing it, or of pausing the import process to allow for a manual review of the parsing results.
To manually review and approve the parsing results for an import file:
-
When the screen is displayed, a list of all the current Import Templates is displayed in the left-hand side of the workspace. Optionally, you can filter this list by typing in all or part of Import Template name in the Search by Name field.
-
Click on the FTP / S3 Import Template that you want to view. The workspace is refreshed to show the details of the selected Import Template.
-
Scroll down to the Imports section. This section shows a log of all files imported using this Import Template. The log shows the file name, current status, date / time that the import was finished, and the number of rows that were imported.
-
Next to the desired import file, click the stats link (magnifying glass icon). The File Statistics pop-up window is displayed.
-
Click Parsing to review the results of the parsing step. This section shows how many records were on the file, and how many records encountered parsing-related warnings or validation errors. To see detailed statistics, click on a parsing or validation sub-heading.
-
Click Update <table name> to review the results of the update step. This section shows how many records passed the parsing step, and how many records encountered update-related warnings or validation errors. To see detailed statistics, click on a validation sub-heading
-
To approve and commit the import records to the database, click Commit Import. Or to cancel the import, click Rollback.
Delete an Import Template
To delete an item:
-
Search for the desired item (see Search for an Item for more details).
-
Click on the item name. The main item screen is displayed and populated with the details of the selected item.
-
In the tool ribbon, click Edit > Delete. A confirmation dialog box is displayed.
-
Click Delete Item to confirm the deletion.
Foldered items are moved to the Recycle Bin. Non-foldered items are permanently deleted.