It can be done in the HA config like so.
Sentence:
language: "en"
intents:
AskTheRobot:
data:
- sentences:
- "{question}"
lists:
question:
wildcard: true
Then for an intent script do the following:
AskTheRobot:
action:
- service: conversation.process
data:
agent_id: <your conversation agent id>
text: '{{question}}'
language: en
response_variable: answer
- stop: ""
response_variable: answer
speech:
text: "{{ action_response.response.speech.plain.speech }}"
This worked for me when I tested it just now. Not sure if this will help you since I don’t use Node Red and never have, but this at least works in HA.