Implementation Chatbot Whatsapp Using Python Programming for Broadcast and Reply
Implementation Chatbot Whatsapp Using Python Programming for Broadcast and Reply
Abstract — The use of VPS (Virtual Private Server) in Indonesia Python is the natural language of Raspberry PI.
2021 International Symposium on Electronics and Smart Devices (ISESD) | 978-1-6654-4146-9/21/$31.00 ©2021 IEEE | DOI: 10.1109/ISESD53023.2021.9501523
is still very expensive. The Chatbot application system is very Python is a programming language that is freeware or free tool
important in the marketing field, especially for disseminating in the sense. In fact, there is no limit in its startup or
information directly and acceptable to many users at a time. This distribution. Complete with source code, debugger and
paper focused on using the WhatsApp application for the profiler, the interface is contained in its nature for service
Chatbot system. This Chatbot system uses the Python
programming language. The message Chatbot flow system will
interfaces, system functions, GUI (graphical user interface),
be sent first to the user. Then the Python program will read the and its database. Python becomes the official language
incoming message to enter Chatbot. If the incoming message integrated in the Raspberry Pi [10]. Smart monitoring System
matches the existing conditions, the chatbot will send the using Raspberry Pi and Smartphone [11].
information according to the condition. But if it doesn't match, Whatsapp chatbot is that makes interactions between man
Chatbot will continue to repeat the process of reading incoming and machines using natural language possible. From literature,
messages. The Chatbot system is designed to run successfully on we found out that in general, ChatBot are functions like a
15 contacts at a time. Chatbot server connection speed affects the typical search engine [17]. Communication ChatBot is faster
speed of sending messages and checking every incoming message. and more efficient for speech-to-text chatbot, but it’s also
Chatbot simulation program cannot read messages that enter the
server if the message contains stickers, emojis and gifs. This is
possible to use libraries [18].
because Python program cannot read the message. This research II. BASIC THEORY
can still be developed by adding a random message feature.
A. Server Monitoring System
Keywords—Python Programming, Chatbot WhatsApp,
Selenium WebDriver, Raspberry Pi.
Technological developments are increasing thus affecting
the security and supervision of the technology itself. System
I. INTRODUCTION monitoring is a solution to prevent errors in the server.
Monitoring system will usually be connected directly to the
Technological developments are increasing thus affecting server to facilitate communication networks. Server are the
the security and supervision of the technology itself. System main components in a computer networks system to provide
monitoring is a solution to prevent errors in the server. service to the users or commonly known as the clients [3]. A
Monitoring system will usually be connected directly to the system to monitor all activities in the server is needed such
server to facilitate communication networks. Server are the that the administrator can monitor and detect if any problem
main components in a computer networks system to provide occurs on the server. The server has many features that can be
service to the users or commonly known as the clients [1]. used for user needs, one of which is monitoring. Server
This Chatbot system uses the Python programming language monitoring which is applied in this research is to monitor the
because it is easier to understand and the program used is not error on the server that is informed via WhatsApp Chat Bot.
too complicated. By using the Python Programming Language On progress, monitoring system designed can be locally
researchers can explore more of the available features such as and remotely using a GSM modem as a transmission data and
automatically sending messages, picture, and documents [2]. also web-based over the internet network. The connection to
Chatbot is an ecosystem that moves fast enough and over the internet network is done through a server computer with
time, new features can be added to the existing platform communication between sensors, remote terminals, and server
according to the needs of users [6]. The Chatbot system runs computers in the study still using cable networks using serial
well with a minimum internet speed of 10Mbps for more- communication and Local Area Networks [4]
efficiency [7]. This research method uses the R & D (Research
& Development) system. The Chatbot system is the best B. ChatBot
solution to assist the service of PLUT SULSEL with FAQ on Chatbot is a computer program designed to be able to
Chatbot which is designed to suit your needs [8]. Traditional interact with humans through text or voice messages. Chatbot
monitoring method requires close maintenance from staff for is usually also equipped with artificial intelligence and natural
continuously monitoring [9]. language processing which makes it an intelligent computer
Solution Comparison
Type Of Read
Technology Cost Contents
Solution Potential
SMS Cellular High Low Only Text
Text &
Telegram Internet Low Low
Picture
Text,
Email Internet Low Medium Picture &
Document
Text,
WhatsApp Internet Low High Picture & Fig. 1. Flow diagram ChatBot
Document
Figure 1. Displays the interface of the ChatBot that has
been designed. The Admin gives a choice in the ChatBot
Table 1. displays solutions that have been compared to response to the Python program, then the user will ask for that
SMS and Email. WhatsApp is the most efficient application option and the ChatBot system will provide an answer
because it has several factors. So, in this research focused on according to the user's application pamphlets.
using the WhatsApp application for the Chatbot system. This
Chatbot system uses the Python programming language
because it is easier to understand and the program used is not
too complicated. By using the Python Programming Language
researchers can explore more of the available features such as
automatically sending messages, picture, and documents.
Chatbot consists of three combinations, in which these three
combinations form a chatbot, including [5]:
- User Interface
- Artificial Intelligence
- Integration
Authorized licensed use limited to: Zhejiang University. Downloaded on February 23,2025 at 15:17:19 UTC from IEEE Xplore. Restrictions apply.
Data retrieval started with sending a broadcast message to contacts, 18 contacts and 20 contacts. But in the trial of data
the user and provides the available answer options. When the retrieval, the program only runs until the 15th contact. This is
user has given an answer, the program will automatically send because contacts to 16.18 and 20 are no longer in the recent
the answer according to the user's request. Chatbot system that chat on the WhatsApp website. So that an error occurs in the
is designed step by step to send messages through the program that is being run.
WhatsApp website. So that WhatsApp developers will not
detect any robots that are sending messages automatically. In Image and video file transfers occur several different
this research, messages will be sent first to users. Then the times, this is due to differences in the resolution of the files
Python program will read incoming messages to enter Chatbot. sent. The larger the file to be sent, the system takes longer to
If the incoming message matches the existing conditions, the upload the file. The smaller the file that is sent, the system will
chatbot will send information according to the conditions. But also be faster to upload and send files. Speed is affected by the
if not matches, Chatbot will continuously repeat the process of receipt of this message from the server Chatbot internet speed
reading the incoming message. This system will continue until and internet speed of the user. The faster the internet speed is
the chatbot program is turned off. used, the faster the message is sent. So that messages that
arrive at the user arrive faster.
Authorized licensed use limited to: Zhejiang University. Downloaded on February 23,2025 at 15:17:19 UTC from IEEE Xplore. Restrictions apply.
researchers put the tab space of each message that you want to IEEE Reg. 10 Humanit. Technol. Conf. 2017, R10-HTC
send, so that incoming messages can be sent once and have a 2017, vol. 2018-Janua, no. December, pp. 75–78, 2018, doi:
tab space for each message. But the message sent is 2x or more 10.1109/R10-HTC.2017.8288910.
so that the incoming message becomes less spam. [7] T. Parthornratt, D. Kitsawat, P. Putthapipat, and P.
Koronjaruwat, “A Smart Home Automation Via Facebook
V. CONCLUSION Chatbot and Raspberry Pi,” 2018 2nd Int. Conf. Eng. Innov.
ICEI 2018, no. 1, pp. 52–56, 2018, doi:
Chatbot system that is designed can only be run on 10.1109/ICEI18.2018.8448761.
15 contacts at a time. This is because the system used uses the [8] A. Muawwal, Renny, and Suryani, “Rancang Bangun
top chat feature or recent chat, so calling contact names that Aplikasi Bot Sebagai Media Pelayanan Umkm Pada Plut
are already under must be done manually. The automatic (Pusat Layanan Usaha Terpadu) Sulsel,” vol. 2018, p. 34,
system also requires time to check alternately of messages that 2018, [Online]. Available: http://manajemen.cis-nasional.id/.
enter the Chatbot server. The connection speed of the Chatbot [9] F. Shariff, N. A. Rahim, and H. W. Ping, “Photovoltaic
server affects the speed of sending messages and checking remote monitoring system based on GSM,” CEAT 2013 -
each incoming message. Chatbot simulation program cannot 2013 IEEE Conf. Clean Energy Technol., no. September
2015, pp. 379–383, 2013, doi:
read messages that enter the server if the message contains
10.1109/CEAT.2013.6775660.
stickers, emojis and gifs. This is because Python cannot read [10] M.- Maslan and H. Hendri, “Analisis Kelayakan Sistem
the message. The Python programming language can read Monitoring dan Kontrol Lampu Menggunakan Web Server
incoming messages but must be in text form. The internet Berbasis Raspberry Pi,” J. Nas. Teknol. dan Sist. Inf., vol. 3,
speed of the Chatbot server affects the response of messages no. 2, pp. 285–290, 2017, doi:
that are read and sent. This causes a time difference for each 10.25077/teknosi.v3i2.2017.285-290.
contact that is sent a message. This internet speed also affects [11] E. SURYA and Y. K. NINGSIH, “Smart Monitoring System
the checking of each contact to read the incoming message. Using Raspberry-Pi and Smartphone,” ELKOMIKA J. Tek.
When the Internet network does not support, it will result in Energi Elektr. Tek. Telekomun. Tek. Elektron., vol. 7, no. 1,
p. 72, 2019, doi: 10.26760/elkomika.v7i1.72.
the Python programming system also reads system errors at
[12] J. Devi, K. Bhatia, and R. Sharma, “A Study on Functioning
delay time. of Selenium Automation Testing Structure,” Int. J. Adv. Res.
This research can still be developed by adding a Comput. Sci. Softw. Eng., vol. 7, no. 5, pp. 855–862, 2017,
random message feature. So, the server doesn't need to save doi: 10.23956/ijarcsse/v7i5/0204.
the contact number first to spread the messages. This research [13] E. Fernando, “Automatisasi Smart Home Dengan Raspberry
can also use a system that can read all messages and send [14] “Buy a Raspberry Pi 4 Model B – Raspberry Pi.”
them back directly without having to enter the contact's name. https://www.raspberrypi.org/products/raspberry-pi-4-model-
Solution for the development of operating system Raspberry b/ (accessed Jul. 12, 2020).
Pi that cannot open the website browser WhatsApp is to [15] I. P. B. Negara, I. M. A. Suyadnya, and N. P. Sastra,
“Perancangan Hardware Sistem Monitoring Portabel Untuk
replace the operating system on a Raspberry Pi with Windows
Monitoring Arus dan Tegangan Listrik Menggunakan
10 or Linux purely. Or it can also use a mini PC other than the Raspberry Pi,” JST (Jurnal Sains dan Teknol., vol. 7, no. 1,
Raspberry Pi to be used as a Chatbot server that will make this p. 1, 2018, doi: 10.23887/jst-undiksha.v7i1.13003.
research better to use. [16] I. Budiawan and A. Andriana, “Pengujian Pengenalan
Wajah Menggunakan Raspberry Pi,” J. Otomasi Kontrol dan
REFERENCES Instrumentasi, vol. 6, no. 2, p. 135, 2015, doi:
[1] A. M. Fanggidae, H. Hermawan, and H. I. Pratiwi, “Sistem 10.5614/joki.2014.6.2.6.issues/Projects_Book_v1.pdf.
Monitoring Server Dengan Menggunakan SNMP,” [17] G. Jindal, D. Upadhyay, and A. Jha, EasyChair Preprint
Widyakala J., vol. 6, no. 2, p. 163, 2019, doi: Whatsapp Chatbot. 2020.
10.36262/widyakala.v6i2.218. [18] N. Shakhovska, O. Basystiuk, and K. Shakhovska,
[2] U. Interface and U. Interface, “Pengertian Singkat tentang “Development of the speech-to-text chatbot interface based
Chatbot,” 2016. on google API,” CEUR Workshop Proc., vol. 2386, pp.
[3] E. Mahdiyah and Y. Andriyani, “Analisa Algoritma 212–221, 2019. pp. 1–5, 2014, doi:
Pemahaman Kalimat Pada ALICE ChatBot Dengan 10.13140/RG.2.1.2786.7601.
Menggunakan Artificial Intelligence Markup Language
(AIML),” Pros. SEMIRATA 2013, vol. 1, no. 1, pp. 193–
201, 2013.
[4] Y. Nagender and K. H. Patil, “Whatsapp auto responder
using natural language processing and AI,” Int. J. Comput.
Eng. Technol., vol. 8, no. 5, pp. 15–22, 2017.
[5] B. Kohli, T. Choudhury, S. Sharma and P. Kumar, "A
Platform for Human-Chatbot Interaction Using
Python," 2018 Second International Conference on Green
Computing and Internet of Things (ICGCIoT), 2018, pp.
439-444, doi: 10.1109/ICGCIoT.2018.8753031.
[6] A. M. Rahman, A. Al Mamun, and A. Islam, “Programming
challenges of chatbot: Current and future prospective,” 5th
Authorized licensed use limited to: Zhejiang University. Downloaded on February 23,2025 at 15:17:19 UTC from IEEE Xplore. Restrictions apply.