This is an old revision of the document!
Please upload csv-files with addresses or target group definitions (with customer IDs or eMail addresses) to /upload/manual. Click on Adresses > Lists, choose action Import addresses and follow the given instructions. You can find a manual in article “How to import addresses?”.
A set of standard fields is set up. Individual fields can be defined. When choosing a field description, please take into consideration that these can be used as variables in all e-mail components and that the name scheme should be standardized.
Generally, two types of automatic imports exist:
The complete positive database is available and synchronized on a daily basis. The selection of target groups takes place in promio.connect or via import of target group definitions (customer ID, eMail, internal promio.connect ID, one-columned csv).
Target groups are imported as sub parts of the total database. Here the following options are available:
Client | client number |
Test file | This file must correspond exactly to the files that will be uploaded later, regarding charset, formatting (csv, bz2, Z), data structure (number + order of columns, separator, field delimiter). |
E-mail address/es | For receiving of status mails (logfiles) of all import processes. |
Address management feature | custID OR mail; can be chosen differing from client configuration. |
Time of import | Process is checking whether a file has been uploaded: daily at x o'clock OR every 5 minutes. |
Creating a new target group | Per import OR adding to a auto target group. |
If auto target group | 1) Adding OR replacing of the auto target group - possible methods: - replace - replaceNoResubscribes - add - addNoResubscribes 2) if auto target group is replaced: Unsubscribing of all users that are not included in the current file?* * Please note: this is not recommended and only possible if user data are synchronized completely and every night because users will be added to the blacklist. |
File structure / Nomenclature:
This is the standard file structure which can be extended for individual purposes.
Fieldname | Fieldtype | Standard | Comment |
b2b_user_id | int(8) | 0 | internal client ID: [xxxx] |
id | int(9) | internal customer ID. System field of promio.connect. | |
varchar(255) | e-mail address | ||
nick | varchar(255) | nickname | |
vorname | varchar(255) | first name | |
name | varchar(255) | surname | |
gender | tinyint(1) | 0 | 1=male, 2=female |
mailerror | tinyint(1) | 0 | Internal last bounce status. System field of promio.connect. |
unsubscribe | tinyint(1) | 0 | Internal unsubscribe status. System field of promio.connect. |
source | tinyint(1) | 0 | Internal import marker. System field of promio.connect. |
strasse | varchar(255) | street | |
plz | varchar(255) | postal code | |
ort | varchar(255) | place | |
custID | varbinary(255) | external customer ID | |
country | varchar(255) | de, at, ch, … | |
reg_datetime | datetime | 0000-00-00 00:00:00 | Time of registration |
reg_ip | varchar(255) | Registration IP | |
tsCreated | timestamp | 0000-00-00 00:00:00 | Timestamp of creation of data set. System field of promio.connect. |
tsLastUpdate | timestamp | on update CURRENT_TIMESTAMP | Timestamp of last update of data set. System field of promio.connect. |
agr | tinyint(3) | 0 | Advertisement agreement (1=given) |
tel | varchar(255) | phone number | |
birthday | date | 0000-00-00 | birthday |
pm_image | varchar(255) | Link to an image of person (address research). Can be filled manually. | |
pm_reputation_score | tinyint(1) | Internal reputation score. System field of promio.connect. | |
special_1 | varchar(255) | Free variable for future use | |
special_2 | varchar(255) | Free variable for future use | |
special_3 | varchar(255) | Free variable for future use | |
special_4 | varchar(255) | Free variable for future use | |
special_5 | varchar(255) | Free variable for future use | |
special_6 | varchar(255) | Free variable for future use | |
special_7 | varchar(255) | Free variable for future use | |
special_8 | varchar(255) | Free variable for future use | |
special_9 | varchar(255) | Free variable for future use | |
special_10 | varchar(255) | Free variable for future use | |
html_version | tinyint(1) | format of view of email | |
test_flag | tinyint(1) | 0 | internal marker for test user |
test_letter_id | int(6) | 0 | internal marker for test user |
Fieldname | Fieldtype | Standard | Comment |
b2b_user_id | int(8) | 0 | internal client ID: [xxxx] |
id | int(9) | internal customer ID | |
varchar(255) | e-mail address | ||
nick | varchar(255) | nickname | |
vorname | varchar(255) | first name | |
name | varchar(255) | surname | |
gender | tinyint(1) | 0 | 1=male, 2=female |
strasse | varchar(255) | street | |
plz | varchar(255) | postal code | |
ort | varchar(255) | city | |
custID | varbinary(255) | external customer ID | |
country | varchar(255) | de, at, ch, … | |
reg_datetime | datetime | 0000-00-00 00:00:00 | Registration date |
reg_ip | varchar(255) | Registration IP | |
agr | tinyint(3) | 0 | Advertisement agreement (1=given) |
tel | varchar(255) | phone number | |
birthday | date | 0000-00-00 | birthday |
special_1 | varchar(255) | Free variable for future use | |
special_2 | varchar(255) | Free variable for future use |
After the automatic import of a target group, you can carry out additional tasks by invoking an API call. A common application is the automatic set-up of an email with subsequent dispatch.
This requires configuring an automatic import process through promio.net support.
To do so, you must provide two files in a ZIP archive:
Contains the data configured for automatic import.
adress1@mail.de adress2@mail.de
Contains the SOAP API call to be invoked after the automatic import. %CHECKSUM%, %REQUEST_ID% and %TARGETGROUP_ID% must remain unchanged; these placeholders are replaced automatically after import.
The other values must be filled out correctly. Be certain to ensure that all text uses HTML entities throughout.
< => < > => > etc.
<?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="https://api.promio-mail.com/1.4/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <SOAP-ENV:Body> <ns1:createDelivery> <authentification xsi:type="ns1:authentification"> <checksum xsi:type="xsd:string">%CHECKSUM%</checksum> <requestId xsi:type="xsd:string">%REQUEST_ID%</requestId> <requestIdBlockedMinutes xsi:type="xsd:integer">0</requestIdBlockedMinutes> </authentification> <delivery xsi:type="ns1:delivery"> <format xsi:type="ns1:contentType">html</format> <clientId xsi:type="xsd:integer">$CLIENTID$</clientId> <deliveryReceiver xsi:type="ns1:deliveryReceiver"> <targetGroupAndSendFromId xsi:type="ns1:targetGroupAndSendFromId"> <targetGroupId xsi:type="xsd:integer">%TARGETGROUP_ID%</targetGroupId> <sendFromId xsi:type="xsd:integer">$SEND_FROM_ID$</sendFromId> </targetGroupAndSendFromId> </deliveryReceiver> <deliverySendTime xsi:type="ns1:deliverySendTime"> <sendDelayMinutes xsi:type="xsd:integer">$SEND_DELAY_MINUTES$</sendDelayMinutes> </deliverySendTime> <sendTestMail xsi:type="xsd:boolean">false</sendTestMail> <delivery xsi:type="xsd:boolean">false</delivery> <subject xsi:type="xsd:string">Betreffzeile</subject> <description xsi:type="xsd:string">Testcampaign</description> <campaignCode xsi:type="xsd:string">test</campaignCode> <contentHtml xsi:type="xsd:string"> <h1>Content</h2><p> some escaped HTML </p> </contentHtml> <contentText xsi:type="xsd:string">Content text as text/plain</contentText> </delivery> </ns1:createDelivery> </SOAP-ENV:Body> </SOAP-ENV:Envelope>
This ZIP file must be named according to the agreed upon naming scheme and saved in the SFTP folder /upload/auto for automatic processing.