how to perform some logic after creating a relation through a relation manager? ex. upload file to another server