Input_text as notifier

I created a bunch of automations to speak messages if I am in a room or send me a message if I am outside the rooms with Alexa or away from home. I trigger this automations when state of input_text changes.

But now I have a problem how to use this with components that need notifiers? Like the alert component. I would like to send all messages here to the input_text I use to decide where and how to deliver the message.

Any ideas how to solve that?

Did it myself with a rest notifier filling the input_text.

Here is the rest command