The thank you email is sent to all respondents who have finished the survey.

create_thankyou_distribution(
  parent_distribution_id,
  library_id,
  message_id,
  send_date = paste0(Sys.Date() + 2, "T00:00:00Z"),
  from_email = "noreply@qualtrics.com",
  from_name = "Qualtrics",
  reply_to_email = "noreply@qualtrics.com",
  subject = "Thank you for your participation"
)

Arguments

parent_distribution_id

id of the library item

library_id

Library ID of the message

message_id

id of the message item

send_date

date for distribution to be sent

from_email

sender email, default is noreply@qualtrics.com

from_name

appearing sender name, default is Qualtrics

reply_to_email

reply email, default is noreply@qualtrics.com

subject

email subject, default is "Thank you for your participation"

Value

The thank you distribution id

Examples

if (FALSE) { create_thankyou_distribution( "EMD_6yYmF6vopfUz4gn", "UR_0NXtl92JJWqfWcJ", "MS_0fddN2xI3J0nGQZ" ) }