Capitalizing captured entities

I have a chatbot asking for the user’s name and capturing it as {name} using the predefined entity option (not custom).

Is there a way for the bot to capitalize the {name} entity when using it, in the case that the user inputs a lower case name?

For example, if the user says “my name is 'bob”, the bot will say “Thanks bob” then proceed to the next step. However, I’d like it to say “Thanks Bob” instead.

I’ve noticed also that in the test function messaging will actually correct the user’s response and capitalize the name. However, the captured entity seems to capture only the keystrokes performed (ie. in the above example, the ‘bob’ in the user’s reply will actually self correct as ‘Bob’ in the message, but the captured entity remains as ‘bob’.)