⇓ More from ICTworks

Introducing 4PBot: A Facebook Chatbot for 4 Million Philippine Households

By Guest Writer on June 13, 2018

facebook chatbot

The Pantawid Pamilyang Pilipino Program (4Ps for short), is the Philippines national social welfare program, which gives financial assistance to households who are deemed the ‘poorest of the poor’.

The 4Ps is one of the world’s biggest conditional cash transfer programs, serving over 4.3 million households across the Philippines. It is run by the Filipino Department of Social Welfare and Development and has been running since 2007.

The grant is disbursed every 2 months, primarily to household mothers or grandmothers and disbursement has been a key challenge throughout the life of the program, as for many logistics in a nation of over 7,000 islands. Most payouts occur either in person or through the use of ATM cash cards.

Facebook Chatbot for 4P

4PBot is a chatbot that helps people to navigate the social welfare program in the Philippines. We at Vessels Tech built 4PBot as a part of a grand challenge from DFS Lab, an investor-slash-incubator, who focus on improving access to financial services for the poor.

In this post, I want to give you an overview of what we learned from the process of building 4PBot, and hopefully demonstrate the potential that we see for this project and others like it to succeed in assisting low income people to access financial services in emerging markets.

Our Approach

We started this project with a significant research phase. During this phase, we met with program stakeholders, conducted in person interviews of 4Ps constituents, and conducted surveys. We took a less-traditional approach to surveying, in that we used Facebook in addition to traditional paper-based surveys.

Facebook turned out to be a powerful tool for the research and implementation of 4PBot. At the start of our research, we found that a large number (25,000+) of 4Ps constituents were already self organising in Facebook groups, offering advice, support and chatting about their lives and the 4Ps program.

This is in part because of Facebook Free Basics, which allows users to use a limited subset of Facebook’s features without needing to purchase mobile data.

We managed to get trusted in these groups and simply started asking people questions about their experiences with the program. This gave us a direct channel that traversed the entire Philippines – something paper wouldn’t have been able to give us for sure.

We came away from this research phase with 3 key ideas that guided our product development:

  1. The power dynamic between 4Ps constituents and government workers means many issues go unresolved.
  2. Payment dates are unpredictable, making it difficult for constituents to plan or budget ahead of time.
  3. Gossip, misinformation and confusion is commonplace from one barangay (village) to another.

 

The Bot

4PBot runs in Facebook Messenger. It speaks Tagalog, Bisaya and English, and is available to users on Facebook Free Basics. It has a collection of menu-driven conversations, which users can select from and interact with.

Onboarding

  • User selects language, Tagalog, Bisaya/Cebuano, or English
  • Asked for mobile number, or can skip (in early versions, we didn’t offer this option and people gave up)
  • User is given a scrollable menu where they can select between conversations with the bot

Report a Payout Date

  • Crowdsources payout dates to help predict future dates – this was an early feature we pulled out, as this data is hard to come by.
  • The system is built to handle flexible inputs – relative dates, and plain-text locations
  • Many constituents post on Facebook groups when they have received their payout, and they posted it here also

Make a Report

  • Allows user to anonymously report issues they have been facing in the program.
  • 4PBot is able to collect data that is sensitive or personal, or users are afraid would get them in trouble
  • Users can share details they are afraid or embarrassed to share

Calculate My Payout

  • A payment calculator, based on the situation of the individual
  • Helps constituents figure out if they are receiving the wrong amount
  • Also reminds them of the conditions they need to meet

Get the Latest News

  • 3 short news items
  • Translated and curated by our team
  • Mostly about DSWD and the future of 4Ps – this was a popular topic!

Technology Stack

We built 4Pbot in a modular way, to allow for a reusable and extendable system. The core of 4PBot was implemented with BotKit, an open source bot building framework. We chose open source as we didn’t want to be locked into any specific bot building platform.

This means we can pick up what works for Facebook Messenger, and pretty easily move it over to a different messaging service such as Slack or Viber. We can also build out or own extensions, which is what we’re planning to do with 4PBot over SMS.

Instead of running servers and a big ‘ol database, we opted for Google’s Firebase Functions and Database. This offers us very cheap, reliable storage and compute, and makes the system incredibly scalable and configurable. To scale from 100 users to 1 million, there is very little we would need to change about the system.

Finally, we used Google Sheets to manage our translations, and to get data in and out of the Bot’s database. This was critical as we needed an easy way for our translator to quickly translate the bot’s messages and responses.

We tied this together with Zapier, in a solution which suits the title “nifty”. I’ve actually written a post about using this solution to easily get data out of chatbots, you can check it out here if you’re interested.

Findings

Based on our user tests, in-person feedback, and feedback from within 4PBot itself, we had the following insights:

The good:

  • Constituents trusted 4PBot with personal information.
  • People loved to chat! So we built out a 4Pbot chat feature.
  • Many thought it was a real person!

Less Good:

  • Facebook is hard to use for many constituents
  • Payday predictor was not accurate enough

We did receive reports of corruption taking place within the program. For example, a parent leader is a 4Ps constituent who also helps to organise a small group of 4Ps constituents. However, a parent leader’s children were no longer in school, so they shouldn’t receive any more payouts, but this was reportedly not the case.

Feedback:

  • Our users wanted more regular 4PBot news updates. They liked them, but it seems there wasn’t enough!
  • Users also wanted more help with the questions and reports they filed. At the moment 4PBot isn’t equipped to do this, but we’re going to be working on this soon.
  • Finally, our users wanted help understanding the future of the 4Ps. There are lots of rumours circulating about the end of the program, and this adds to stress and anxiety for the parents.

Overall, they gave us a rating of 2.5/3 smileys.

Since releasing 4PBot live on Messenger, it’s had over 300 unique users, with 111 monthly active users in the midst of our big marketing push in December. Based on 4Ps constituents on Facebook alone, we estimate a total market size of 25,000, but we’re hoping to switch over to SMS and IVR soon so we can capture an even bigger market.

Our conversations had a completion rate of 88.9%, which I consider reasonable, especially considering that many of our users had little experience with chatbots before.

Next Steps

We believe that 4PBot can be used to amplify the agency of individuals facing complex bureaucratic processes. We see the potential for 4PBot to help build safe and supportive communities. And we also see how 4PBot can be used to strengthen and enhance the existing processes inside of the 4Ps program.

Now that we’ve done the research and laid the groundwork, we’re going to be working on the next features for 4PBot:

  1. Building a 4PBot Community (think Quora or Stack Overflow for 4Ps), that works over Facebook Messenger, SMS and IVR. We’re also going to work on form automation prefilling the required forms for users to follow up complaints with the problems the’re facing.
  2. Impact analysis, fraud detection and program evaluation We think 4PBot can be used to deliver top level insights into the inner workings of the 4Ps program, and we can use the data collected by 4PBot in a safe and responsible manner to help facilitate better monitoring.
  3. Link in with DSWD, integrate 4PBot into service delivery In order for 4PBot to reach its full potential, it must integrate with the existing 4Ps processes. We hope that by working with the DSWD, we can see that integration take place, and improve the service delivery of the 4Ps and other related programs.

Stakeholder interest:

From our initial meetings and conversations in the Philippines, we’ve seen some interest in what we are doing. Some examples include:

  • Hapinoy, which trains micro entrepreneurs to impact needy communities across the Philippines were interested in 4PBot for training their entrepreneurs.
  • We had some early talks with another social enterprise about using 4PBot’s approach for improving service delivery, gathering insights into the program and fraud detection
  • We also talked with the Office of Senate, and they were specifically interested in how they might use 4PBot for better monitoring & evaluation and 3rd party accountability of government programs.

Closing Thoughts

Finally, I’d love to close on a big thank you to DFS Lab, not only for supporting our project financially, but for your advice and guidance.

We’re hopeful that we will get to continue working on 4PBot, and we see great potential in this approach to transform the lives of low income people facing complex bureaucratic systems.

We’re in the process of looking for partners or other areas where we can apply our experience with 4PBot. If you have an idea or just want to chat about it, please get in touch with me in the comments below.

By Lewis Daly, the Co-Founder and CTO of Vessels Tech and this post was original published on GitHub.

Filed Under: Solutions
More About: , , , , ,

Written by
This Guest Post is an ICTworks community knowledge-sharing effort. We actively solicit original content and search for and re-publish quality ICT-related posts we find online. Please suggest a post (even your own) to add to our collective insight.
Stay Current with ICTworksGet Regular Updates via Email

Sorry, the comment form is closed at this time.