pass in flow_id to relation settings