Let's say that you have defined a custom input field, in the Widgets v2 Chat registration form (assuming you are referring to Widgets v2), with "name" attribute equal to "myCustomQuestion".
In your Architect Inbound Chat flow, you would use a "Get Participant Data" action with Attribute Name set to context.myCustomQuestion
Input fields sent from Widgets will be made available in the Conversation Participant Data with a prefix of "context." + the name of your input (ex: context.subject).
My plan is to give an option called "Question" to the customer in the prechat form. so that the customer enter A, B or C.
i need to know which of the above names ex: A,B,C the customer enters.
If i get the data from prechat form to the inbound chat, i will create a switch or any logical decision and i can send the responses based on the customer input (A,B or C)
So in your inbound chat flow, as I explained above, you take the "name" of that field and add a "context." prefix.
You would then retrieve the value using a "Get Participant Data" action with Attribute name set to context.Question
"name" corresponds to the name you want to give to your attribute.
"label" corresponds to the text you want to display for that attribute in the Chat Registration form.