Send Survey via Email workflow task confusion | XM Community
Skip to main content
Solved

Send Survey via Email workflow task confusion

  • February 24, 2025
  • 3 replies
  • 28 views

Forum|alt.badge.img+2

We have used the XM Directory > Distribute survey workflow functionality successfully for a couple years, and it’s being deprecated and replaced with this new task. Problem we’re having is it seems impossible to just send an email to a single person as in the old way. Our workflow is triggered by a Salesforce Outbound Message task, from which we establish first name, last name, email, external ID and other metadata. Step 2 is to send a survey to the email from step 1 and use other metadata for personalization, which the XM Directory task did perfectly. With the new task, the options for grabbing data from step 1 are unclear and after much trial and error, I can’t figure out what combination of piped text will accomplish the simple goal. Having to enter IDs for Directory and List (and Contact) feels like I’m doing it all wrong. Hoping someone here can assist, thanks in advance!

Best answer by kendrouillard

Just to close the loop, here’s what ended up working:

  1. Salesforce Outbound Message
  2. Update XM Directory Contacts - create/update contact from step 1 payload
  3. Send Survey via Email to individual contact from step 2

 

View original

3 replies

Sowrabh1993
QPN Level 5 ●●●●●
Forum|alt.badge.img+15
  • QPN Level 5 ●●●●●
  • 112 replies
  • February 25, 2025

Hi ​@kendrouillard,

I have tried an approach which worked, but not sure if that’s the best and most optimum way.
Here’s what I would suggest:

Post receiving the data, you can run this task “Add Contacts and Transactions to XMD Task” to create a transaction batch.(You can add the contact data and the transaction data in this task)
https://www.qualtrics.com/support/survey-platform/actions-page/etl-workflows/data-loader-tasks/add-contacts-and-transactions-to-xmd-task/

Post this you can run the “Send Survey via Email task” where you can select “type” as “Transaction group”.
https://www.qualtrics.com/support/survey-platform/actions-page/tasks/send-survey-via-email-task/#Setup

I had some challenge to pipe in the Library ID, for which I created a code task in between to store the Library ID and then pipe it in the next task.

Hope this helps.


Forum|alt.badge.img+2

Just to close the loop, here’s what ended up working:

  1. Salesforce Outbound Message
  2. Update XM Directory Contacts - create/update contact from step 1 payload
  3. Send Survey via Email to individual contact from step 2

 


AlonsoC
Administrator
Forum|alt.badge.img+12
  • Administrator
  • 206 replies
  • February 25, 2025
kendrouillard wrote:

Just to close the loop, here’s what ended up working:

  1. Salesforce Outbound Message
  2. Update XM Directory Contacts - create/update contact from step 1 payload
  3. Send Survey via Email to individual contact from step 2

 

@kendrouillard, thanks for taking the time to come back and letting us know what worked in the end! I’ve marked your solution as ‘Best Answer’ 😀


Leave a Reply