Build Commencement based on external application output

Hi

I am new to the CI/CD domain and trying to learn as well. I have a query regarding initiating a build based on the output of another web application.

Idea behind is to commit the code to the github and once the change is approved trigger the automatic deployment.

Any ideas please let me know