White house facebook messenger bot

White House open sources Facebook Messenger chatbot

The White House has created a chatbot to make it easier for citizens to send President Obama messages through Facebook’s Messenger platform and has open sourced the code so others can create a similar tool.

The chatbot doesn’t answer any questions; it simply facilitates sending a question to the president to be considered for one of the 10 that he reads from citizens every day. It asks for contact info and confirms the sender’s message.

The White House posted the Drupal module used to make the bot on GitHub along with information on how to get it up and running.

“While Drupal may not be the platform others would immediately consider for building a bot, this new White House module will allow non-developers to create bot interactions (with customized language and workflows), and empower other governments and agencies who already use Drupal to power their digital experiences,” Jason Goldman, the chief digital officer of the White House, said in the announcement.

Using the chatbot is easy. It responds quickly, much faster than a person possibly could. The entire process took this reporter about two minutes -- much faster than some users have said it can take. Though, to be fair, the test message was a short “Happy Birthday!” (It’s not Obama’s birthday).

Officials in North Carolina are looking at how to use chatbots in government, with their first project potentially being a bot that answers basic IT questions from state employees. They’re currently researching the technology at the state’s Innovation Center with plans to roll out a tool within the year.

The benefit of the open source chatbot, according to Goldman, is that it allows government to meet people where they are – on social media.

“Now, there is one less barrier to being more accessible and responsive to constituents,” Goldman said. “We look forward to seeing what others build on top of this work.”

About the Author

Matt Leonard is a former reporter for GCN.


  • Records management: Look beyond the NARA mandates

    Pandemic tests electronic records management

    Between the rush enable more virtual collaboration, stalled digitization of archived records and managing records that reside in datasets, records management executives are sorting through new challenges.

  • boy learning at home (Travelpixs/Shutterstock.com)

    Tucson’s community wireless bridges the digital divide

    The city built cell sites at government-owned facilities such as fire departments and libraries that were already connected to Tucson’s existing fiber backbone.

Stay Connected