# Overview The survey extension provides an example of how to create a grammar that asks a customer a series of questions as part of a typical survey and then use a Python extension to store the results into a file for later processing ## Core Grammars The grammars are slightly different and show a good example of how to use a combination of topic and forward chaining to link a series of questions together. A question is posed as the output of a question, the answer is processed in a subsequent grammar given a specific topic. You start the survey with `START SURVEY` either the customer enters that, or its driven as the result of another question and an `` tag. At the end of the question, an Extension is used to write the results to a file. ```xml START SURVEY # # ```