Hi Xi Hu,
Not sure if this will all work, but this is my suggestion.
You could try to build something with the REST api step. during your initial IVR script you can use a REST post step to deliver some json/xml variables to an external (web) app. (This can be something like MS Azure functions or a local app where you store and receive data from a local database ) . Together with an unique ID which you have to parse from something like ANI number + datestamp, you could query that data in your Survey script with a REST api get method. Now you have your variables in your survey script. You can then post it again to your final table once the caller has filled in the survey.
Hope this helps.