Genesys Cloud - Main

 View Only
Discussion Thread View
  • 1.  Surve.url inside a Survey Footer

    Posted 02-22-2024 16:37

    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.
    ------------------------------


  • 2.  RE: Surve.url inside a Survey Footer

    Posted 02-23-2024 11:02

    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
    ------------------------------



  • 3.  RE: Surve.url inside a Survey Footer

    Posted 02-23-2024 13:32
    Edited by Tim Dowdy 02-23-2024 13:32

    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.
    ------------------------------



  • 4.  RE: Surve.url inside a Survey Footer
    Best Answer

    Posted 02-23-2024 17:37
    Edited by Tim Dowdy 03-01-2024 11:26

    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
    ------------------------------



  • 5.  RE: Surve.url inside a Survey Footer

    Posted 03-01-2024 11:26

    Hi Dan,

    You are a Rockstar! Thank you so much.  Both the Text and Image solutions worked like a charm.

    Your help on solving this is greatly appreciated! 



    ------------------------------
    Tim Dowdy
    Generac Power Systems, Inc.
    ------------------------------



  • 6.  RE: Surve.url inside a Survey Footer

    Posted 03-04-2024 08:45

    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
    ------------------------------



  • 7.  RE: Surve.url inside a Survey Footer

    Posted 03-04-2024 09:02

    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. 



    ------------------------------
    Dan Fontaine
    C1
    ------------------------------



  • 8.  RE: Surve.url inside a Survey Footer

    Posted 23 days ago

    This is perfect! Thank you!



    ------------------------------
    Mark Whitchurch
    Senior Systems Engineer
    ------------------------------



Need Help finding something?

Check out the Genesys Knowledge Network - your all-in-one access point for Genesys resources