Numerous devices, including sensors, RF ID, and other types of smart devices, have been developed as a result of the Artificial Intelligence (AI), and Internet of Things (IoT) revolution. Urban areas can become smart by monitoring and collecting data about their surroundings through the deployment of technologies with powerful computational capabilities and those that are converted into intelligent things. Waste management is among the most significant issues in smart cities, a rise in metropolitan regions and faster increases in population are the main reasons. When it comes to gathering data about waste management, intelligent services can serve as the front line. Waste management with IoT support is a common example of a service offered by smart cities. Various duties, like gathering, processing, and use of waste in appropriate facilities, are included in waste management. The present study proposed an updated waste management system architecture design after reviewing existing artificial intelligence and IoT-based waste management systems and automation in smart cities. The proposed system architecture deals with the automation of municipality trash in smarter urban areas, using IoT technology and sending notification messages based on sensor data relating to the dustbin state, such as full or empty. The notifications are sent simultaneously to the municipality office and the waste carrier vehicle driver, so that waste can be emptied on time. The proposed system architecture represents a scalable and adaptable model for municipalities that aim to transform their waste collection processes and play a key step in minimizing municipality waste in smart cities. By deploying this proposed system architecture with smart sensors and IoT devices, municipalities can monitor waste levels to ensure that bins are emptied when it is necessary. This reduces the frequency of waste collection, lowers fuel consumption, and minimizes operational costs. The Route optimization algorithms further enhance efficiency by determining the most efficient paths for waste collection trucks, so they can reduce travel time and fuel emissions.