Skip to Content
AffFast
Connect

Connect File import (CSV and XLSX)

Step-by-step guide to connect File import (CSV and XLSX).

Follow these steps to connect File import (CSV and XLSX). The dashboard shows the same steps when you connect the network.

Steps

  1. Open the reports of your network in your browser. Find the report that lists your sales.
  2. Download the report as a CSV file or an XLSX file. Do not change the column names.
  3. Select the mapping that fits the file. The mapping generic reads a file with our own columns. Other mappings read the report of one network.
  4. Upload the file to the connection. The upload reads the whole file first.
  5. If the upload shows errors, fix each row in the file. Upload the file again. The upload writes nothing until the file has no error.

Where to find each value

  • Default mapping (mappingId, required). Open the list of mappings (GET /v1/import_mappings). Copy the id of the mapping that fits your file. Example: generic.

We encrypt each secret value. We never show it again after you save it.

Common mistakes

  • The file has a column name that the mapping does not know. Compare the header of the file with the columns of the mapping.
  • The date has another format than the mapping expects. Check the date format of the mapping.
  • A number uses the other decimal separator. The mapping says which separator it expects.
  • The file is in the old XLS format. Save it as XLSX or CSV.
  • Two rows have the same id. An id must be unique in a file.
  • You upload the same sales with the file import and with the connector of the network. The sales are then two times in the data.

Check the connection

Enter the values in the dashboard and press Check credentials. The check asks File import (CSV and XLSX) if it accepts the values. Nothing is saved until you press Save. With the API, send POST /v1/connections/test with the network file-import and the credentials. Then send POST /v1/connections to save them.

On this page