How to passed the value of the variable to the live agent transfer flow

For example, let said the agent already created a ticket after collected the required details then the bot trigger the super agent live agent transfer flow itself so i follow up with a question asking whether user want to connect to live agent for the ticket created (using custom live agent), but seems like the collected details are not being passed when trying to connect to agent.