Email and Text messages can use the following merge fields in automated email and text notifications to pull actual data into the messages when they are generated. The "Type of Message" column contains the text or email message that can use a specific merge field.
See Merge Fields.