If I want the respondent who completes the survey to immediately see the profile report by seetting a url link in the post survey action section, how can I do? is it possilbe to write a script that autometically identifies the id of the respondent?
There is no good way to do this. There is no scripting function that will build a profile report, so you would have to build the report manually and then send the link to the respondent.
You could also the use RESULT CHART action (https://help.surveygizmo.com/help/video-result-chart) on the THANK YOU page to display a summary of all responses to a single question, and add a text action below with the appropriate merge code displaying their answer to the question.