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.


  • 2020 Government Innovation Awards
    Government Innovation Awards - https://governmentinnovationawards.com

    21 Public Sector Innovation award winners

    These projects at the federal, state and local levels show just how transformative government IT can be.

  • Federal 100 Awards
    cheering federal workers

    Nominations for the 2021 Fed 100 are now being accepted

    The deadline for submissions is Dec. 31.

Stay Connected