pre-trigger integration