Skip to main content

Import / edit data table in Qobra with exec and CSV

Written by Foucauld Bergerault
Updated yesterday

Import data table in Qobra with exec and CSV

Create and update a data table with a .csv/.xls files


On the data tables pages, you will be able to upload .csv files to either :

  • Create a data table

  • Edit or add a record

Format of the .csv file


First, you will have to respect a given format so everything goes smoothly.

When you create the file, you must have at least a column with the id and the name of the record. Then, you can insert as many columns as you need.

The order of the columns doesn't matter.

⚠️Each id must be different.⚠️

<a href="https://downloads.intercomcdn.com/i/o/554087901/90dde69131a293e743159547/Capture+d%E2%80%99e%CC%81cran+2022-07-28+a%CC%80+17.21.03.png?expires=1772928000&amp;signature=f881fff9f82a82d10e7af7b4854b0fd7018bd302b5c4ae6e0c54a10823d63498&amp;req=cSUjFsF5lIFeFb4X1HO4gY2JyqSw7QWpJpB5mMPwqpb5hepkQkQFTCRdqQt1%0A" target="_blank" rel="nofollow noopener noreferrer">https://downloads.intercomcdn.com/i/o/554087901/90dde69131a293e743159547/Capture+d’écran+2022-07-28+à+17.21.03.png</a>

Once you’ve completed this step, save the file under the .csv (comma-separated values) format.

☝️ Note: In GoogleSheet, you can do that by going to File > Download > Comma Separated Values (.csv).

☝️ Note: the "Amount" column must be an "only-number" column. The currency codes don't belong there 😉

<a href="https://downloads.intercomcdn.com/i/o/554399363/c7f44f6ad32e9c1f6190d927/Capture+d%E2%80%99e%CC%81cran+2022-07-29+a%CC%80+10.00.24.png?expires=1772928000&amp;signature=7ef01bcce46f971eedd61eee64d0b443ddbbdef09702836e874a69bb1582b730&amp;req=cSUjFcB3nodcFb4X1HO4gTW2RNNbT8Hceqc2zvTqOgyGx2QxwDbZa15odIBG%0A" target="_blank" rel="nofollow noopener noreferrer">https://downloads.intercomcdn.com/i/o/554399363/c7f44f6ad32e9c1f6190d927/Capture+d’écran+2022-07-29+à+10.00.24.png</a>

Warning: Make sure you don't have any comas in any of the cells. They will be considered as separators of columns in the .csv format

Warning: The dates must be in the YYYY/MM/DD format.

Import CSV in Qobra


You are now ready to import the file. In the Data Table page :

  • Click on the Table Settings button.

  • Click on the + Add Table button.

  • Click on "Import CSV file" at the bottom of the modal, and follow the steps :

    1. Name the data table

    2. Select the user matching key.

Once your .csv is uploaded, you will have to map the columns in the system:

  1. Select the id and name columns.

  2. Choose the data format of each column (string, date, user, percentage, picklist, etc).

Once you validate the import, the data table will be created and filled with the records from your file.

☝️ Note: The ID must be a unique and constant value over time. This is what allows you to correctly update your table without creating duplicates or inconsistencies.

☝️ Note: If you don’t select a type for a field, it won’t be imported.

Edit or add records (import)


Import CSV in Qobra

Click on the ... button at the top right hand corner of the data table.

  1. Click on "Import" and select your file

    Select the idcolumns.

  2. Associate each field of the CSV file with the existing field of the data table

  3. Select the way to manage the records with the same id

Did this answer your question?