How to pipe the speech to text message into automation?

I wonder how to set up automation that gets triggered by trigger word (this part i know how) and then pipe the part after the trigger word to a webhook or something?

Like if i say - ok nabu, send message, my new message → this sends message in text form the “my new message” part to the web hook.

I have the part that sends “something” / hard coded string to a webhook already sorted out.

I dont understand how to send the thing that i say in voice → in text for to the web hook.

Can some one help?

This example below sends whatever I say to assist, as a mobile phone notification, so should also work for your use case:-

alias: notify test
description: ""
trigger:
  - platform: conversation
    command: Send message {message}
condition: []
action:
  - service: notify.mobile_app_ro_phone
    data:
      message: "{{trigger.slots.message}}"
mode: single

i wonder if there is possible to wire up chatgpt, and like talk to it, and have it parse the text and also have it work to send the message… i think it would be called multiple assistants?

You mean, say something like ‘send a nice message to julie, congratulating her on moving into a new house ?’ and it would work out what to ‘say’ ?

no what i mean to say is i could interact with chatgpt and ask anything and get responses, and also have the assistant react to my sentences to trigger things… but use it with more like natural language, and not strict - if match these words → trigger that.

1 Like

Outdated and only chatgpt support… i am looking at this

But it has limitations where you cant execute much… need to find a way to somehow instruct it not to use the AI when “sentences with keywords are being said” to execute commands…

Im not quite sure how everything works, and how can i pipe my input text to to either AI or automation to run a script…