LinkedIn will block spam.
It is actually not a spam, it automatically sends a connection request and message to the target audience you have set. It does everything the same as human but 100 times faster thus saving time.
We are using this service from time to time since spring and never have been banned or warned for spamming.