...
created_at
→ Heure de création de l'entrée de feedback. ⚠️ Le format doit être AAAA-MM-JJ HH:MM:SS. Dans Excel ou Google Spreadsheet, vous pouvez définir un format d'heure personnalisé comme dans l’exemple de tableau ci-dessous, mais il n'est pas obligatoire.question_answer:X
→ Every answer that needs to be imported in Feedier, must have its own column with the header Chaque réponse qui doit être importée dans Feedier doit avoir sa propre colonne avec l'en-tête question_answer:X where X is the Feedier’s Question ID. You can find the Question ID from the Questions page.All other columns will be treated and imported as Attributes in Feedier.
Here is an example of working file structure:
...
où X est l'ID de la question de Feedier. Vous pouvez trouver l'ID de la question depuis la page des Questions.
Toutes les autres colonnes seront traitées et importées en tant qu'attributs dans Feedier.
Voici un exemple de structure de fichier fonctionnelle :
cree_le: | question_answer:121881 | question_answer:121882 | customer_id |
---|---|---|---|
2022-12-25 00:00:00 | 5I love this company | J’aime cette entreprise | 123 |
This will create in Feedier a feedback with a creation time 25rd of December 2022, with a rating score of 5, text answer and attribute customer_id with the value 123.
...
The file must be UTF-8 encoded and with “;” as seperator and not “,“.
...
Cela créera dans Feedier un retour avec une date de création le 25 décembre 2022, avec une note de 5, une réponse texte et un attribut customer_id avec la valeur 123
Note |
---|
Le fichier doit être encodé en UTF-8 et avec ';' comme séparateur et non ','. Documentation Excel ici :" https://support.microsoft.com/en-gb/office/import-or-export-text-txt-or-csv-files-5250ac4c-663c-47ce-937b-339e391393ba#:~:text=When%20you%20save%20a%20workbook,your%20computer%2C%20affecting%20all%20applications. “ |
...
Étape 2:
...
Importer le fichier
Télécharger le fichier venant de l'étape 1.
NowMaintenant, Feedier’s API must be able to reach the file online. So import it to an online service that return the file as a readable CSV (not a page to download the CSV). When reached by URL the file must download automatically. Such servcies can be Hubspot files, AWS S3 or others. Examplel'API de Feedier doit être capable d'accéder au fichier en ligne. Importez-le sur un service en ligne qui renvoie le fichier sous forme de CSV lisible (pas une page pour télécharger le CSV). Lorsqu'il est atteint par URL, le fichier doit se télécharger automatiquement. Des services tels que Hubspot files, AWS S3 ou d'autres peuvent être utilisés.
Exemple: https://resources.feedier.com/hubfs/Import-Feedier-test.csv
Note |
---|
For security reasons, we highly recommend you to delete the file when the import is completed. |
Step 3: Prepare the API call
...
Pour des raisons de sécurité, nous vous recommandons vivement de supprimer le fichier une fois l'importation terminée. |
Étape 3: Preparer l’appel API
Pour démarrer le processus d'importation, nous avons besoin de l'appel API suivant :
https://api.feedier.com/v1/feedback/bulk?url={csv_file_url}&api_key={private_api_key}
If you are using a private instance, replace the Si vous utilisez une instance privée, remplacez api.feedier.com with your instance’s API url.
...
par l'URL API de votre instance.
L'URL du fichier CSV doit être remplacée par l'URL que vous obtenez à l'étape 2 et encodée en URL (https%3A%2F%2Fresources.feedier.com%2Fhubfs%2FImport-Feedier-test.csv)
Info |
---|
The Private API key, can be found on your Feedier Dashboard with an Admin role: |
Step 4: Call the API
...
La clé API privée peut être trouvée sur votre tableau de bord Feedier avec un rôle d'administrateur : Organisations → Intégrations → Clé API privée. |
Étape 4 : Appeler l’API
Ouvrez votre navigateur et appelez l'URL avec votre fichier CSV et votre clé API privée
When it works, you will see the Lorsque cela fonctionne, vous verrez le message :
A job has been triggered to import the feedback data
...