You can use the Agentless API to do something like that, using a Data Action.
Agentless SMS Notifications
There is a section in that article on how to do it from an Architect flow
------------------------------
George Ganahl GCP (Genesys Cloud), CCXP
Principal PS Consultant
Genesys
------------------------------