-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Webhook & schema changes to monitor user group switching #70
Comments
The proposed solution would be:
Required Database changes:There are two possible ways to capture these data with the required change in the DB Solution 1:Having a single table called user_groups Table structure:
Solution 2:Having two tables user_groups and group (or contact_groups). In this approach, we will need to pre-populate the groups table data. Table structure:
We can discussion more on adding user_phone in details, but in short, this it to ease out analytics. |
This looks good. I think first option is better but we can discuss before finalizing. |
We can fo with option 1 |
This got close but Github automation, reopening for testing. |
This is deployed on UAT and ready for testing. Note: Please use these two flows for testing or create new for testing. Steps to test:
|
This is working fine on staging and production as well. |
Everything is working as expected on prod. Closing this out |
Is your feature request related to a problem? Please describe.
We are handling user groups switching at Rapidpro level. Whenever a flow runs for a user, it remove the user from that particular group and add it to a different group. There are a few chances where the user is not getting removed from a group/ getting added to other group, and user is either keep receiving the same call or multiple calls due to multiple group assignment.
We need to capture the use's group assignment.
Describe the solution you'd like
Capture the user's group assignment whenever a flow runs.
Describe alternatives you've considered
None
Additional context
None
The text was updated successfully, but these errors were encountered: