This is being addressed by the app using three contacts for each account.
On the RP side, these accounts may flow through different triggers (app session identifiers - chat, reportrumors, poll), starting respective flows - which is currently in use.
Another option is to make one flow address which option should be started by the identifier string and all triggers would point to this flow.
I suggest using the last option, as it will also allow a single flow to setup the contact by addressing the contact’s preferred language.
Created a contact field called Active session (that should also be set en every poll flow) which will allow an administrator to see the number of active contacts on each session.
The suggested values are:
Using the search option on contacts the administrator may use active_session = "Poll"
in other to sort contacts accordingly, just replace Poll
with the option.
Saving the query will create Dynamic groups, so splitting contacts is also possible.
Changed the flow name Set language WEB to Contact setup. In this flow, created a contact field called Channel name and this will allow the creation of as many Dynamics groups as needed for all the workspace channels.
ATM I created two, one for Telegram and one for Mobile.
Channel - Telegram uses channel_name = "Ecaropoc Telegram"
.
Channel - Mobile app uses channel_name = "HealthBuddy Mobile app"
.
Headsup: to achieve this functionality I had to edit the channels’ names and run a flow to update contact’s info retroactively, Contacts adjustment. New contacts will populate this field automatically and the flow through the Contact setup.
Two options can be applied to achieve this:
First an Active poll group can be created and a contact should be added to it once the poll flow is completed, then the first action of every poll flow should be a split in order to see if the contact is already inside that group.
Second a Poll status contact field should be used update in the following steps:
This will allow the creation of Dynamic groups for each scenario just by using, for instance, poll_status = "Completed"
.
In the next topic I will explain another status, called Received.
When Completed a Send message will allow the contact to know that the poll has already been responded.
In my opinion, the second option works better in a larger scenario. I added this in the poll flow as an example.
Created the flow Current poll which completes the strategy for already registered contacts and the ones registered after the poll’s broadcast.
Updating Poll status to Received will allow to see which contacts received the poll successfully but took no further action.
Poll date contact field will save the date this poll has been started in order to compare it with the contact’s registration date.
The third action is to make the contact enter the new poll flow.
Here’s how it works:
I remember we’ve argued about using a Campaing in order to sort for contacts that registered after a poll that has been launched. The problem is that the Push notification message is always broadcasted, by the app’s backend, for all accounts and RP just doesn’t know which one received it already. The worse thing in this scenario is that even if I create a scheduled event to sort contacts which didn’t reply to the last Poll (which is completely possible) I can’t let them know there’s an ongoing Poll because a push notification would be received by everyone, not just the sorted contacts.
In this scenario, using any scheduled event isn’t possible on the RapidPro side.
Already under evaluation on https://staging.healthbuddy.info
In progress…
In progress…
Under evaluation…