How to save voice assistant responses?

You’ll need to include the conversation.process action. I was able to ask chatgpt if we can change the response from Assist, and it turns out that it’s possible, so I added the set_conversation_response action. Try this:

alias: "tmp: test speech automation"
description: ""
triggers:
  - trigger: conversation
    command: "{question}"
conditions: []
actions:
  - action: conversation.process
    metadata: {}
    data:
      agent_id: conversation.chatgpt
      text: >-
        "{{ trigger.slots.question }}"
    response_variable: chatgpt
  - set_conversation_response: "{{ chatgpt.response.speech.plain.speech }}"
  - action: notify.mobile_app_mobil_adi
    metadata: {}
    data:
      message: "{{ chatgpt.response.speech.plain.speech }}"
mode: single
1 Like