If I assume Contact Link is separate entity, then you need to create a plugin step on Contact Link Entity with following details, in the plugin code you can get the Context and check your logic accordingly.
Message:Create
Primary Entity: Contact Link
Secondary Entity: None
Context: Calling User
Stage of Execution: Pre operation
Execution Mode: Synchronous