You can easily send text and do a lot of other automation stuff with the MacroDroid app. I use it to e.g. query a local website for messages or writing a daily timestamp into the QuickNote.md file of Markor (another highly useful app)
cf. https://en.wikipedia.org/wiki/MacroDroid