Sentence triggers were added to Home Assistant in 2023.7 and can trigger automations directly. This is controlled by the conversation agent and not controlled earlier in the pipeline. This conversation agent should be altered to check if the sentence was part of an automation and if it was it should trigger that automation instead of submitting the sentence to OpenAI.
https://www.home-assistant.io/docs/automation/trigger/#sentence-trigger