Hello @arkiboys
You can use a Web Activity to signal the program that the ADF is completed and the program can start its execution
You can place the Web Activity on succeed output of an ADF activity and when the activity succeeds it will then trigger Logic app and will execute your code
Your custom code can be published to an App Service and can be used inside a Logic App