5.12.0 5.11.0 5.10.0 5.9.0 5.8.0 5.7.0 5.6.0 5.5.0 5.4.0 5.3.0 5.2.0 5.1.0 5.0 4.10 4.9 4.8 4.7 4.6 4.5.3 4.5.2 4.5.1 4.5 4.4 4.3
5.12.0 5.11.0 5.10.0 5.9.0 5.8.0 5.7.0 5.6.0 5.5.0 5.4.0 5.3.0 5.2.0 5.1.0 5.0 4.10 4.9 4.8 4.7 4.6 4.5.3 4.5.2 4.5.1 4.5 4.4 4.3

Setting Up Campaigns,Survey and QM Reports

Step 1: Clone the Expertflow CX repository

git clone -b <Branch-Name> https://efcx:RecRpsuH34yqp56YRFUb@gitlab.expertflow.com/cim/cim-solution.git <Branch-Name>

Step 2: Navigate to the reports artifacts directory

cd <Branch-Name>/kubernetes/external/metabase-reports/metabase_reporting_update_tool/

From here onward, we assume the repo contains "campaigns" and "survey" directories with their respective report artifacts within "/metabase_reporting_update_tool". If the directory structure changes, update the commands below accordingly.

To import Campaigns reports

python3 metabase_import.py https://<Metabase-FQDN>/metabase/api/ <admin-email> <admin-password> <metabase-db-display-name> campaigns <collection-name-on-metabase>

To import Survey reports

python3 metabase_import.py https://<Metabase-FQDN>/metabase/api/ <admin-email> <admin-password> <metabase-db-display-name> survey <collection-name-on-metabase>

To import QM reports

python3 metabase_import.py https://<Metabase-FQDN>/metabase/api/ <admin-email> <admin-password> <metabase-db-display-name> qm_report <collection-name-on-metabase>
  • <metabase-db-display-name> = It is the database name that we set while configuring a DB on metabase.

  • <collection-name-on-metabase> = It is the collection that we create on metabase interface.

example: python3 metabase_import.py https://rm-03.expertflow.com/metabase/api/ <admin-email> <admin-password> mtt02 campaigns Campaigns_mtt02_test