Direct mail configuration direct-mail-configuration
Journey Optimizer allows you to personalize and generate the files required by direct mail providers to send mail to your customers.
When creating a direct mail message, you define the targeted audience data, including the chosen contact information (postal address for example). A file containing this data will then be automatically generated and exported to a server, where your direct mail provider will be able to retrieve it and take care of the actual sending.
Before being able to generate this file, you need to create:
-
A file routing configuration to specify the server where the file will be exported and encrypt the file, if necessary.
note caution CAUTION To create a file routing configuration, you need to have the Manage file routing built-in permission. Learn more. -
A direct mail configuration that will reference the file routing configuration. If you have not configured any file routing option, you will not be able to create a direct mail configuration.
Configure file routing file-routing-configuration
To deliver a direct mail message, Journey Optimizer generates and exports the file containing your targeted audience data to a server.
You need to specify that server details so that your direct mail provider can access and use that file for delivering mail.
To configure the file routing, follow the steps below.
-
Access the Administration > Channels > Direct mail settings > File Routing menu, then click Create routing configuration.
{align="center" width="800"}
-
Set a name for your configuration.
-
Select Amazon S3 as the Server type to use for exporting the direct mail files.
{align="center" width="800"}
-
Fill in the details and credentials for your server
-
AWS bucket name:To know where to find your AWS bucket name, refer to this page.
-
AWS access key: To know where to find your AWS access key ID, refer to this page.
-
AWS secret key: To know where to find your AWS secret key, refer to this page.
-
AWS region: choose the AWS region where the server infrastructure will be located. AWS regions are geographic areas that AWS uses to host its cloud infrastructures. As a general practice, it is preferred to choose the region that is closest to you direct mail provider’s location.
{align="center" width="800"}
-
-
To encrypt the file, copy-paste your encryption key in the PGP/GPG encryption key field.
-
Select Submit. The file routing configuration is created with the Active status. It is now ready to be used in a direct mail configuration.
You can also select Save as draft to create the file routing configuration, but you will not be able to select it in a configuration until it is Active.
-
Access the Administration > Channels > Direct mail settings > File Routing menu, then click Create routing configuration.
{align="center" width="800"}
-
Set a name for your configuration.
-
Select SFTP as Server type to use for exporting the direct mail files.
{align="center" width="800"}
-
Fill in the details and credentials for your server:
-
Account: Account name used to connect to the SFTP server.
-
Server address: URL of the SFTP server.
-
Port: FTP connection port number.
-
Password: Password used to connect to the SFTP server.
-
-
To encrypt the file, copy-paste your encryption key in the PGP/GPG encryption key field.
-
Select Submit. The file routing configuration is created with the Active status. It is now ready to be used in a direct mail configuration.
You can also select Save as draft to create the file routing configuration, but you will not be able to select it in a configuration until it is Active.
-
Access the Administration > Channels > Direct mail settings > File Routing menu, then click Create routing configuration.
{align="center" width="800"}
-
Set a name for your configuration.
-
Select Azure Server type to use for exporting the direct mail files.
{align="center" width="800"}
-
Fill in the details and credentials for your server:
-
Azure Connection String: To find your Azure Connection String, refer to this page.
The Azure Connection String should follow the format below:
DefaultEndpointsProtocol=[http|https];AccountName=myAccountName;AccountKey=myAccountKey
-
Container Name: To find your Container Name, refer to this page.
The Container Name should contain only the container’s name without any slashes. To specify a path within the container for saving the file, update the Direct Mail Campaign’s file name to include the desired path.
-
-
To encrypt the file, copy-paste your encryption key in the PGP/GPG encryption key field.
-
Select Submit. The file routing configuration is created with the Active status. It is now ready to be used in a direct mail configuration.
You can also select Save as draft to create the file routing configuration, but you will not be able to select it in a configuration until it is Active.
Create a direct mail configuration direct-mail-surface
To be able to deliver direct mail with Journey Optimizer, you need to create a channel configuration to define the settings for the formatting of the file that will be used by the mail provider.
A direct mail configuration must also include the file routing configuration which defines the server where your direct mail file will be exported.
-
In the left rail, browse to Administration > Channels and select General settings > Channel configurations. Click the Create channel configuration button. Learn more
-
Enter a name and a description (optional) for the configuration, then select the channel to configure.
note note NOTE Names must begin with a letter (A-Z). It can only contain alpha-numeric characters. You can also use underscore _
, dot.
and hyphen-
characters. -
To assign custom or core data usage labels to the configuration, you can select Manage access. Learn more on Object Level Access Control (OLAC).
-
Select the Direct mail channel.
-
Select Marketing action(s) to associate consent policies to the messages using this configuration. All consent policies associated with the marketing action are leveraged in order to respect the preferences of your customers. Learn more
-
Define the direct mail settings in the dedicated section of the channel configuration.
{align="center" width="800"}
-
Select the file format: CSV or Text delimited.
-
If you select Text delimited, define the column separator of your choice: tabulation, semicolon, pipe, or ampersand.
-
Select the File routing configuration amongst the ones that you created. This defines where the file will be exported for your direct mail provider to use.
note caution CAUTION If you have not configured any file routing option, you will not be able to create a direct mail configuration. Learn more {align="center" width="800"}
-
Submit the direct mail configuration.
You can now create a direct mail message inside a campaign. Once the campaign is started, the file containing the targeted audience data will automatically be exported to the server that you defined. The direct mail provider will then be able to retrieve that file and proceed with the direct mail delivery.