Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 18 Next »

The Export module allows accessing the data that the loyalty program generates. Administrators can generate reports to get an overall view of their data of customers, coupons, or stores – among others – tailored to their actual requirements. The Export module enables them to define the content of the export using several kinds of fields and filters.

This chapter contains descriptions of the different export functions and instructions on how to create and configure exports on the Antavo loyalty platform.

Find the configuration page of the module by typing 'Exports' into the search bar of the Modules (blue star) menu. The page opens up to a list of existing reports generated by administrators.

This page displays a list of exports created previously including the following information:

  • Name
    Name of the export.

  • Created at
    The date when the export was requested.

  • Created by
    The Backoffice user who requested the export.

  • Model
    This refers to the data type that the export contains.

  • Status
    The system works with the following statuses:

    • Pending – the setup of the export is saved, but the export process has not started yet

    • Processing – the export process is in progress

    • Finished – the export process has finished, and the export is ready for download

    • Failed – the export process has failed. Please contact the Antavo Service Desk for further information if the issue persists.

  • Filesize
    The size of the export compressed file in bytes.

Sorting and searching for exports

Use the search bar on the top to search for specific files in your brand’s export history.

Click the ‘Name’ and 'Create at' column header to sort the exports based on name and create date.

Creating a new export

To start creating a new export, click the ‘Create new export’ button on the left sidebar.

Data model

First, select the data model to export:

  • Changes

  • Content approval

  • Coupons

  • Coupon pools

  • Customers

  • Customer fields

  • Events

  • Products

  • Rewards

  • Stores

  • Webhook logs

Click the ‘Next’ button to continue with the configuration of the export.

Configuring an export

Note: The Appendix chapters contain detailed information on the attributes of each exportable feature.

Localization

  • Name
    Set the name of the export. The name of the downloaded file will be inherited from the name you provide here.

  • Timezone
    The brand’s timezone and the user’s timezone are highlighted separately.

Filters

Different types of filters amend the reports and make the query results more efficient.

  • Attribute – drop-down list
    Select the property to include in the export.

  • Operator – drop-down list
    Select an action to include in the export.

  • Value - Free-text field or drop-down list
    Define the value relating to the action to be performed in the export.

    The system allows combining the filters. The following options are available:

    • and – adds a new set of criteria within the same filtering

    • or – adds a new set of criteria in a separate filtering

Aggregation

Aggregation enables the export of data to be grouped by basic aggregation operators. The aggregation will be applied to every field which is mandatory to be filled. Tick the checkbox to display a calculated or grouped value instead of separate values in the export.

Field settings

In case you wish to export customers, rewards, stores, etc. with all fields, check the ‘All fields’ box.

Otherwise, use the ➕  icon and select a field from the drop-down list to add new data to the export.

Each field setting automatically appears as a row once you’ve added a new field, making it easier to keep track of them visually. Click the (blue star) arrow down-button to go back to editing the field settings.

Each field will populate a separate column in the export file.

At the bottom of the interface, you can find the list of exportable fields with the data type of the fields, their possible values, whether they are mandatory, and their description.

Aggregation type

If you have checked the Aggregation checkbox in the Filters section, you will see a dropdown list at the bottom of each field to select the type of aggregation. This is a mandatory field to fill.

The aggregation types are the following:

Group
Use this option to define group ID values in the report.

Please note that at least one field should be marked as ‘group’, but more than one field can be specified. 

Count
Use this option to retrieve the number of entries in a group in the report.

Please note that this counts the number of entries, not the fields. If more than one field is marked as ‘count’, the same count value will be produced in the report. 

Sum
Use this option to retrieve the total amount of numerical values in the report. 

Average
Use this option to retrieve an approximation of numerical values in the report. 

Min
Use this option to retrieve the lowest field value for each group in the report.

Max
Use this option to retrieve the highest field value for each group in the report. 

File extensions

Choose between .csv and .psv extensions.

File format options

  • Delimiter
    Select the character that separates data in the export file.

  • Enclosure
    Select the character to group certain values into one data field.

  • Newline
    Select an option to determine how to add a new line.

  • No header
    Tick the checkbox to exclude the header row from the export file.

Scheduling

This option allows running the exports in a specified time and also set them as recurrent.

By default, the files are exported at the time of the request, however, exporting can be scheduled by selecting the On-date or Repeated values in the dropdown list.

  • On-date
    The export will start on a predefined date and time.
    Use the date and time selector to specify the scheduled time by clicking on the icons in the Date and Time fields.
    It is also possible to enter the details manually.

  • Repeated
    Select this option to set the data export to be triggered periodically.

    Daily
    Set the time of the day when the export should start.

    Weekly
    Select the day(s) of the week and set the time of the day.

    Monthly
    Select the day(s) of the month and set the time of the day.
    You can use the ‘Last’ value to make sure the export is started on the last day of the month, regardless of the number of days in a given month.

Update Target

Select a file transfer option from the drop-down list to get the export file uploaded to a server directly.

  • None
    By choosing this option, you will be able to download your export file directly through your browser.

  • FTP

  • FTP over Secure Sockets Layer (SSL)

  • SFTP
    Users can create and save multiple exports a day with unique automatically generated file names.
    Antavo currently only supports password-based authentication for its SFTP export functionality.

After selecting an option, fill out the details in the fields that appear.

The export process for all terminal server types requires the following information: host, port, username, password and path (containing the filename).

Lastly, you have the option to request a compressed archive of the output file by checking the ‘Create archive’ checkbox.

Click ‘Create’ after setting each required field to start the export process. 

Field list

The list of exportable fields varies for each data model. The following table provides the name of each field, along with its data type, possible values, whether it is mandatory, and a brief description.

Downloading an export

After applying the filters and fields, click on the ‘Create’ button to start the export process.

This navigates to the export page to track the status of the export. 

When the status of the export changes to ‘Finished’, the Download hyperlink appears under the summary of the export criteria.

Click on the hyperlink to download the compressed file.

Besides receiving the file in the Downloads folder on your computer, will also get an email with a link to the exported file.

Cloning an export

Cloning allows repeating an existing export without having to create a new configuration from the beginning. This feature is helpful for comparing the latest results with the data of a previous export to see the differences. 

You can also modify the settings by changing the filters and fields. 

Navigate to the Exports module which opens up the list of exports.

Click on Details of the export that you wish to clone.

Click on the Clone button in the upper right corner.

The settings of the export appear.

Click on Create to save the settings and start the export process.

  • No labels