Use the GetFeedback email builder for Visualforce to create a survey email that you can paste into a Visualforce template in Salesforce.
Build your automation in the Live version of your survey. When you publish your survey, any Draft settings will be erased and can’t be recovered. Your Draft settings won't be published to the Live email.
To create your Visualforce template:
Add the merge fields in your survey. Use any fields that you’re mapping data to so the survey responses map back to Salesforce correctly. You can also add other fields that you want to track. For example, if you’re sending surveys after closing a case, you can add the Case Owner field to track the agent who handled the case.
If you're mapping your survey to a custom object, make sure to include any lookup relationship information. For example, if you have a lookup relationship between Case and Account, include the accountid merge field here.
We apply the colors and background from your survey theme to your email template. You can optionally add your logo and customize your email message.
You can use any merge fields you added to personalize your email subject, greeting, and message. For example, you can use the Name field to add your respondent’s name to the email subject. Salesforce automatically fills in this information for each email recipient when sending the email.
To personalize your email with merge fields:
To export your template, scroll to the bottom of the left panel and select Export.
You can now upload the template to Salesforce to use for your emails.