Change woocommerce order status by database change

Đã có trọn bộ đề thi thử THPT Quốc Gia 2022 các môn: vip.dethihsg247.com

I have a dropshipping client who uses Delphi in his company. He connected his system to my wordpress database and can read and write it.
The WordPress site runs on a windows server.

How can I make sure that when he makes specific changes in the database the order will be changed by script? (processing -> completed)

In the first place I would use the php/javascript/python api, but how can I make sure it will be triggered automatically by his database connection?

The best solution would be if the database change alone triggers the order status change with all its functions, like customer email etc.

My ideas would be:

What are your ideas for a stable and reliable solution?

No hate please im a beginner. I appreciate any ideas and solutions.

Thank you

Xin chào các bạn và quý Thầy Cô. Hãy nhập từ khóa mình muốn vào ô tìm kiếm trên Website để tìm kiếm mọi thứ hoặc trên google các bạn hãy nhập từ khóa + dethihsg247.com để tìm kiếm các bài viết của chúng tôi nhé.
  • Hiện tại chúng tôi có hơn 25 nghìn bài văn mẫu các thể loại.
  • Kho tài liệu, đề thi học sinh giỏi các lớp vô cùng phong phú.
  • Mỗi ngày cập nhật hơn 100 đề thi chất lượng từ các website bán tài liệu lớn.

Tải đề thi VIP với giá siêu rẻ tại Vip.Dethihsg247.Com