write workflow hook article