Short cut to stop call if a person is with me


Hi I’m new to short cuts, I can do some simple things like the above “ create a short cut to call someone when I leave a location” but the question is below

How do I create a Apple automation that detects that the person that I’ve set an automation to call is with me and not to call