Showing slot value in domain utterance template

i am storing user details in the chat bot slot and trying to show user details in the utterance message mentioned in the domain file. But the value is not getting displayed. may i know why it is not getting displayed? am i following the correct syntax?

Details: user object : user name

utter_message template: How are you {user[name]}?

Thanks

You can check Variables section to see a sample use case @Monu

@JiteshGaikwad, @j.mosig how to get the slot value in domain file

slot value is set

cc_code_slot

domain.yml file is like

domain_code

but in outpt it shows

Phone Number with country code None

can you please help, how to get the correct output with slot value

and slot value is set when the bot is loaded. using custom action

Did you guys figure this out?