Instead of using the @name directly in the text field, try using the Webex API to send messages with mentions.
@name