Because SMS is text-based you will not be able to use HTML in text / SMS messages so you will not be able to do that.
Original Message:
Sent: 03-04-2024 08:45
From: Thomas Repking
Subject: Surve.url inside a Survey Footer
Hi Dan, we customized the survey to sending it per SMS. Would you know if we could somehow mask the URL for SMS as well?
------------------------------
Thomas Repking
Canada Life Group Services Limited
Original Message:
Sent: 02-23-2024 17:36
From: Dan Fontaine
Subject: Surve.url inside a Survey Footer
One way to accomplish this is to add an Update Data step in your Survey Invite Flow to create the HTML that you want to use.
<a href="some URL">Click Me</a>
or
<a href="some URL"><img src="URL for a survey button image"></a>
where "some URL" above will be the Web Survey URL.
Before your Get Response step, add an Update Data Step:
The Update Data statement sets a new variable, State.SurveyLinkHTML to "<a href='" + Survey.Url + "'>Click Here</a>"
Note the single quotes inside the double quotes (the single quotes may not be needed but I am old school).
This step will set the variable to a string with the survey URL in it. Something like:
"<a href='https://apps.usw2.pure.cloud/quality-forms/#/surveycodes/ZThkMDE4YzctMzg5NS00MjEwLWFlMzUtNzcxZjhkZjQ2ZWE5'>Click Here</a>"
Once you have your variable set you can use it in your Get Response step in the Embed Survey substitution:
Then your email will look like:
If you think you will need to change the HTML that creates the "Click Here" link or image and you don't want to have to go into Architect, you could use a Data Table to initilize the variable possibly. I didn't test that out.
PS, I did notice a typo in your email text. You should change "we've" to "we'd" if your going to use this when you're done testing.
------------------------------
Dan Fontaine
C1
Original Message:
Sent: 02-23-2024 13:31
From: Tim Dowdy
Subject: Surve.url inside a Survey Footer
Hi Dan,
Yes in the survey invite e-mail, the survey has a custom Substitution.
Which is replaced with the string Survey.Url in the Get Response action in Architect.
And I apologize, the language in flow states footer, but we switched from using a footer to end the survey invite body, to a Standard canned response. Originally, we used "Thank you for Chatting with us. Click to participate in a Customer Service survey: " + Survey.Url + State.GeneracFooter as the expression in the "Email Invite Body" of the the Complete Survey Action
We now just use the Stat.GeneracFooter2 in the "Email Invite Body" of the Complete Survey Action.
------------------------------
Tim Dowdy
Generac Power Systems, Inc.
Original Message:
Sent: 02-23-2024 11:02
From: Dan Fontaine
Subject: Surve.url inside a Survey Footer
Hi Tim,
Not sure I understand where you are embedding the Survey.URL. You said that it is in the survey response. Do you mean the survey invite email?
------------------------------
Dan Fontaine
C1
Original Message:
Sent: 02-22-2024 16:36
From: Tim Dowdy
Subject: Surve.url inside a Survey Footer
Hello,
Currently I have created a custom Substitution in a Survey footer to embed the Survey.Url link inside the web survey response. Ideally, I would like to tie the Survey.Url to either an image or customized text like "Start Survey". To my knowledge this isn't possible to customize the Survey.Url string to hyper linked Text though the Survey Invite flow. Nor, is it possible to associate the Survey.Url to an image or text in the Survey footer(out of the box) because you end up with a non working(403) url like:
https://apps.usw2.pure.cloud/responseManagement/%22https://apps.usw2.pure.cloud/quality-forms/#/surveycodes/ZmFhZDIwOWItMGI3ZC00YTY2LTkxMWItYmRjZTNkMmM4ZmXXXXX
Is there something I'm missing or am I on the right track that this isn't something that isn't currently available as an out of the box solution?
Any help is greatly appreciated!
#ArchitectureandDesign
------------------------------
Tim Dowdy
Generac Power Systems, Inc.
------------------------------