DostEducation / RP_IVR_analytics

This is a cloud function based webhook processing service that is being using to get webhook calls from RapidPro to capture different analytical data point.
GNU Affero General Public License v3.0
4 stars 1 forks source link

[BACKFILLING] Incorrect content ID configured in rapidpro webhooks #249

Open prtkdost opened 2 years ago

prtkdost commented 2 years ago

Describe the bug In weekly monitoring, we found for 17 flows in rapid, content IDs are incorrectly configured in the webhook due to a human error.

Below are the - Flow Names - Incorrect Configured Content ID - Correct content ID

FINAL-DOST-Pilot-P1M15D1 | 326 | 332 FINAL-DOST-Pilot-P1M15D2 | 327 | 333 FINAL-DOST-Pilot-P1M15D3 | 328 | 334 FINAL-DOST-Pilot-P1M15D4 | 329 | 335 FINAL-DOST-Pilot-P1M15D5 | 330 | 336 FINAL-DOST-Pilot-P1M15D6 | 331 | 337 FINAL-DOST-Pilot-P1M15D7 | 332 | 338 FINAL-DOST-Pilot-P1M16D1 | 333 | 339 FINAL-DOST-Pilot-P1M16D2 | 334 | 340 FINAL-DOST-Pilot-P1M16D3 | 335 | 341 FINAL-DOST-Pilot-P1M16D4 | 336 | 342 FINAL-DOST-Pilot-P2M14D1 | 337 | 326 FINAL-DOST-Pilot-P2M14D2 | 338 | 327 FINAL-DOST-Pilot-P2M14D3 | 339 | 328 FINAL-DOST-Pilot-P2M14D4 | 340 | 329 FINAL-DOST-Pilot-P2M14D5 | 341 | 330 FINAL-DOST-Pilot-P2M14D6 | 342 | 331

This also must have led to the incorrect population of call-logs.

Expected behavior

There are more such cases, need to update this on some content ids in RapidPro as well https://docs.google.com/spreadsheets/d/1z12olEAfJ_Yb7UV8ZiB3AUvC3NbofA6wLIgCadHpAwg/edit#gid=0

Satendra-SR commented 2 years ago

For data correction, we need to fix the following table data:

Note:

Check and confirm if the data has been updated to the BigQuery (after fixing in the application database).

Satendra-SR commented 2 years ago
GauravGusain98 commented 2 years ago

@Satendra-SR @prtkdost This issue should also contain the list of onbarding calls fro which we need to update the content id. Sharing the flows list here

INTRO_1-SIGNUP_2-ONBOARDING, INTRO_1-SIGNUP_3-ONBOARDING, MODULE1_1-SIGNUP_1-SELECTION

Please check if there are any other intro flow except these 3.

GauravGusain98 commented 2 years ago

@Satendra-SR We need to also validate if we are still facing this issue. If yes then we need to track that issue separately.