Conversation response doesn't work

Hi!
I have a script called “Dobranoc”:


As you can see, the first action is set_conversation_response. However, it does not work.

As you can see, it responds with generic “Uruchomiono skrypt” meaning “script was executed”. It also behaves exactly the same when using my Voice PE.

stage: done
run:
  pipeline: 01jhqmywxtz547cfegs321tdq2
  language: pl
  runner_data:
    stt_binary_handler_id: null
    timeout: 300
events:
  - type: run-start
    data:
      pipeline: 01jhqmywxtz547cfegs321tdq2
      language: pl
      runner_data:
        stt_binary_handler_id: null
        timeout: 300
    timestamp: "2025-02-15T12:24:54.160848+00:00"
  - type: intent-start
    data:
      engine: conversation.chatgpt
      language: pl-PL
      intent_input: dobranoc
      conversation_id: null
      device_id: null
      prefer_local_intents: true
    timestamp: "2025-02-15T12:24:54.160877+00:00"
  - type: intent-end
    data:
      processed_locally: true
      intent_output:
        response:
          speech:
            plain:
              speech: Uruchomiono skrypt
              extra_data: null
          card: {}
          language: pl-PL
          response_type: action_done
          data:
            targets: []
            success:
              - name: Dobranoc
                type: entity
                id: script.dobranoc
            failed: []
        conversation_id: 01JM4S38MZA8V625Y7D4MRJ36P
    timestamp: "2025-02-15T12:24:54.175501+00:00"
  - type: run-end
    data: null
    timestamp: "2025-02-15T12:24:54.175550+00:00"
intent:
  engine: conversation.chatgpt
  language: pl-PL
  intent_input: dobranoc
  conversation_id: null
  device_id: null
  prefer_local_intents: true
  done: true
  processed_locally: true
  intent_output:
    response:
      speech:
        plain:
          speech: Uruchomiono skrypt
          extra_data: null
      card: {}
      language: pl-PL
      response_type: action_done
      data:
        targets: []
        success:
          - name: Dobranoc
            type: entity
            id: script.dobranoc
        failed: []
    conversation_id: 01JM4S38MZA8V625Y7D4MRJ36P

Did anyone else had similar issues?

Thank you in advance!

There’s no reason why it should work.
set_conversation_response is not a standalone service and is not used outside of custom sentences.

Okay, I think I misunderstood its purpose. Is there a way to make a custom reply for a script execution?

  • The easiest way is to make automations(custom sentences) for the script.
  • If the situation allows, you can explicitly specify notifications on the media player in the script.
  • Perhaps there are more complicated variants with obtaining the enity_id of the satellite in the script, but it looks overcomplicated
1 Like

Works like a charm, thank you very much!