Sending message when nodes are connected

I thought about it and what works for me is triggering the message flow just after deploying the flow but without having explicit inject node.