Goal​

Set up ongoing automation to import contact information collected by your mobile app.

Prerequisites​

Set up an Engage FTP server and forward the FTP server information to Mapp.

Background Information​

Your mobile app provides data to the Mobile App Manager. The Mobile App Manager sorts this data and stores it in different files. You need to set up an automation to import the data from the Mobile App Manager into the profile attributes of your contacts in Engage.

You must create an automation for every app that is connected to your Engage system.

The program runs continuously in your Engage system so you always collect data about your contacts.

Procedure​

For this automation, you need to create a time-based trigger using a «Time» trigger that repeats every hour.

Define the automation as follows:

Time Module

Field

Setting

Date

​Recurring Date​

Period

Hour(s)

Value

1

Time

00:30:00

Mobile App Manager uploads the file at the top of the hour. Engage must run the automation after the upload has finished.

Time-based Module

Field

Setting

Job

Import Contacts

Import Mode

​Update current members​

Plus, add a checkmark next to the ​override attributes-only​ setting.

System Name

Select an Engage system. If you have more than one domain, the names of the domains appear in the list. Enter the domain that you use for email sendout to your group.

Encoding

UTF-8

Source File

*.csv.gz

File Type

CSV

File location

Enter the FTP address where the import file is located. This address has the following format: protocol://user:password@host.port/url-path. Example: ftp://joesample:1password@ftp.mapp.com/import

Group Email

Define the group where the contacts of the app are saved.

Parameter

Add a parameter that unzips a gzip file.

​source-compression​ ​gzip​.

For more information, see Import Contacts.

Be careful when the parallel import feature is enabled for a specific system. One automation per file is needed. So you need to have at least one for each of the following:

*_LTAPPIDGT_lastactivation.csv.gz

*_LTAPPIDGT_lastactivation.csv.gz

*_LTAPPIDGT_lastactivation.csv.gz

If you use custom fields then you need to create one per each one.