This is all it is. Basically it updates a layer in a geodatabase and then clears out the features in the ArcGIS Online feature service (using a pre-condition so it copies over before clearing out). This way transfers over the attachments with the record since it's copying into a geodatabase. I just run this manually in Pro on a weekly basis or so, but you could export it as a Python Script on run in on a regular interval to copy over to your master feature layer and delete from the original Online feature layer. Let me know if you have any more questions about it.