Pass the text from dialogflow to home assistant

I would like fill a text_input field in home assistant from dialogflow
So i have set up an intent in dialogflow and the text is output as variable youtube_search_name

But a little bit confused how to set the ha intent…

ha_kitchen_youtube:
  speech: 
    text: ok passing on
  action:         
  - service: input_text.set_value
    data_template:
      entity_id: input_text.kitchen_youtube
      value: youtube_search_name

I have tried as it states in the example value: {{ youtube_search_name }} with no luck - errors

I have examples in my repo.

You probably need value: "{{ youtube_search_name}}"

1 Like

Yes. Worked perfectly