RPA can use artificial intelligence such as machine learning and natural language processing to automate complex tasks and make intelligent decisions.