Embedding a signature in an e-mail trigger? | XM Community
Skip to main content
Solved

Embedding a signature in an e-mail trigger?


I'm trying to replicate a paper form that requires a signature, and then e-mail a printable copy of this form to the respondent and the administrative personnel responsible for processing the form.
I am using the Signature Question field but don't know how to embed its answer as with other survey questions or embedded data.
How do I embed the response to a Signature Question in an e-mail trigger? I already tried checking "Include response report" and "Show full question text" but neither of those include the signature.

Best answer by rondev

We cannot pipe the signature in question or in email trigger as I guess the signature image link is generated after the response is recorded. One of the other method is to create and send custom printable copy by creating it externally using API.

View original

12 replies

rondev
Level 6 ●●●●●●
Forum|alt.badge.img+22
  • Level 6 ●●●●●●
  • 1449 replies
  • Answer
  • July 19, 2021

We cannot pipe the signature in question or in email trigger as I guess the signature image link is generated after the response is recorded. One of the other method is to create and send custom printable copy by creating it externally using API.


Forum|alt.badge.img+1
  • QPN Level 1 ●
  • 9 replies
  • October 25, 2024

@rondev I found this thread from 3 years ago, has this changed or is there still not a good way to include the png of the signature in the email? 

 


rondev
Level 6 ●●●●●●
Forum|alt.badge.img+22
  • Level 6 ●●●●●●
  • 1449 replies
  • October 25, 2024
KathyM wrote:

@rondev I found this thread from 3 years ago, has this changed or is there still not a good way to include the png of the signature in the email? 

 

You can generate the link of the image using concatenation and file id in the survey flow. And then use this embedded data piping in the image tag src attribute.


Forum|alt.badge.img+1
  • QPN Level 1 ●
  • 9 replies
  • October 25, 2024

@rondev Thanks for the quick reply! 


Forum|alt.badge.img+1
  • QPN Level 1 ●
  • 9 replies
  • October 25, 2024

@rondev I am looking to find the “file id”, but I am not finding anything with that name? I am fairly new so this may be outside my current experience level. 


LROSS
Forum|alt.badge.img+1
  • 4 replies
  • December 20, 2024

@rondev Can you provide a little more explanation on how to concatenate the signature image in the survey flow?  I have a survey that by law requires a printable signature and I can’t figure out how to get that signature file to print in the workflow.


Tom_1842
Level 8 ●●●●●●●●
Forum|alt.badge.img+28
  • Level 8 ●●●●●●●●
  • 876 replies
  • December 20, 2024

@LROSS The below HTML is working for me to pipe in the Signature image's URL. You can add it using the HTML/Source view "<>" in the Email Workflow, updating the QID with that of your Signature question:

Signature below:<br />
<img alt="Signature image" src="${q://QID1/UploadedFileLink}" />

 


LROSS
Forum|alt.badge.img+1
  • 4 replies
  • December 26, 2024

Thanks so much!  That worked perfectly!!


Forum|alt.badge.img
  • 2 replies
  • January 20, 2025

Hi, I am trying to get this to work in my survey but the email I am receiving in my tests has a broken image link. I am wondering if I am missing something related to embedded data? I am fairly new to Qualtrics, would anyone be able to help me with this?

Tom_1842 wrote:

@LROSS The below HTML is working for me to pipe in the Signature image's URL. You can add it using the HTML/Source view "<>" in the Email Workflow, updating the QID with that of your Signature question:

Signature below:<br />
<img alt="Signature image" src="${q://QID1/UploadedFileLink}" />

 

 


LROSS
Forum|alt.badge.img+1
  • 4 replies
  • January 21, 2025

@Huhunter 

In my survey flow, I set an embedded data field called SignatureImg (at the very top of the survey flow)

 

 

In my survey, I have a Signature question that has a forced response.

 

In my workflow,  email message, I click on the Source button:

and scroll down to where I want the signature added and add the following:

<br />
<img alt="Signature image" src="${q://QID14/UploadedFileLink}" />
<div><br />

 

You will replace QID14 with whatever your signature question number is (Mine happens to be 14)

 


Forum|alt.badge.img
  • 2 replies
  • January 21, 2025

@LROSS 

Thank you for this message! Aside from the embedded data piece, I was doing everything you described. When I looked at the workflow email run history I saw that the email was sending out the image link. It seems the issue for me was related to Uploaded files access in the security settings. Folks recieving the email did not have the correct permissions to view the image/signature.

 

I also tried it without the embedded data in the survey flow and it seems to work still. Do you know what the embedded data adds in this case?

 

Thank you!


LROSS
Forum|alt.badge.img+1
  • 4 replies
  • January 22, 2025

@Huhunter 

I’m not sure about the embedded data - I was following advice from a previous comment.  Maybe it doesn’t have to be there. 🤷🏻