Affiliations 

  • 1 Discipline of Clinical Pharmacy, School of Pharmaceutical Sciences, Universiti Sains Malaysia (USM), Minden, Pulau Pinang, Malaysia. Electronic address: cpe4ever@gmail.com
  • 2 Discipline of Clinical Pharmacy, School of Pharmaceutical Sciences, Universiti Sains Malaysia (USM), Minden, Pulau Pinang, Malaysia. Electronic address: guatsee.ooi@usm.my
  • 3 Discipline of Clinical Pharmacy, School of Pharmaceutical Sciences, Universiti Sains Malaysia (USM), Minden, Pulau Pinang, Malaysia. Electronic address: tanml@usm.my
PMID: 37327997 DOI: 10.1016/j.japh.2023.06.007

Abstract

BACKGROUND: The world is moving fast towards digital transformation as we live in the artificial intelligence (AI) era. The COVID-19 pandemic accelerates this movement. Chatbots were used successfully to help researchers collect data for research purposes.

OBJECTIVE: To implement a chatbot on the Facebook® platform to establish connections with healthcare professionals who had subscribed to the chatbot, provide medical and pharmaceutical educational content, and collect data for online pharmacy research projects. Facebook® was chosen because it has billions of daily active users which offers a massive potential audience for research projects.

PRACTICE DESCRIPTION: The chatbot was successfully implemented on the Facebook® platform following three consecutive steps. Firstly, the ChatPion script was installed on the Pharmind website to establish the chatbot system. Secondly, the PharmindBot application was developed on Facebook®. Finally, the PharmindBot app was integrated with the chatbot system.

PRACTICE INNOVATION: The chatbot responds automatically to public comments and sends subscribers private responses using artificial intelligence. The chatbot collected quantitative and qualitative data with minimal costs.

EVALUATION METHODS: The chatbot's auto-reply function was tested using a post published on a specific page on Facebook®. Testers were asked to leave pre-defined keywords to test its functionality. The chatbot's ability to collect and save data was tested by asking testers to fill out an online survey within Facebook Messenger® for quantitative data and answer pre-defined questions for qualitative data.

RESULTS: The chatbot was tested on 1000 subscribers who interacted with it. Almost all testers (n = 990, 99%) obtained a successful private reply from the chatbot after sending a pre-defined keyword. Also, the chatbot replied privately to almost all public comments (n = 985, 98.5%) which helped to increase the organic reach and to establish a connection with the chatbot subscribers. No missing data was found when the chatbot was used to collect quantitative and qualitative data.

CONCLUSIONS: The chatbot reached thousands of healthcare professionals and provided them with automated responses. At a low cost, the chatbot was able to gather both qualitative and quantitative data without relying on Facebook® ads to reach the intended audience. The data collection was efficient and effective. Using chatbots by pharmacy and medical researchers will help do more feasible online studies using AI to advance healthcare research.

* Title and MeSH Headings from MEDLINE®/PubMed®, a database of the U.S. National Library of Medicine.