How do I send a chat transcript?

I’m using the default MobileChatSurvey, and the documentation indicates that I need to check variables to see if Customer requested transcript - what are the variables that indicate this, and additionally, what variable represents the customer email address filled out on that screen?

The key pieces

  1. Variables set in the survey page are:
    (item.externalChatData.transcriptEmail) (item.externalChatData.transcript)

  2. The transcript variable is a 0/1 (it should be 1 if checked0

  3. The example shows the use of the IF block to determine if customer has selected the checkbox

Please let us know if you need additional guidance on this