Simplesat allows you to create a CSAT survey that you can embed directly in Salesforce email notifications.

Create your survey

First, create a Generic Embed survey. 

Enter the Salesforce placeholders into the fields:

Salesforce's email placeholders:

  • Team Member Email - {!relatedTo.Owner.Email}
  • Team Member ID - {!relatedTo.Owner.Id}
  • Team Member First Name - {!relatedTo.Owner.FirstName}
  • Team Member Last Name - {!relatedTo.Owner.LastName}
  • Customer Email - {!relatedTo.Contact.Email}
  • Customer ID - {!relatedTo.Contact.Id}
  • Customer First Name - {!relatedTo.Contact.FirstName}
  • Customer Last Name - {!relatedTo.Contact.LastName}
  • Company Name - {!relatedTo.Account.Name}
  • Ticket ID - {!relatedTo.Id}
  • Ticket Subject - {!relatedTo.Subject}

Note: The placeholders listed above are for Visualforce Email Templates in Salesforce Classic.

Once you have the placeholders filled in, click Generate Embed Code. Make sure you're on the HTML option, then click Copy survey.

Add your survey to Salesforce

On your Salesforce account, click on Setup then type Classic Email on the Quick Find/Search

Click on Classic Email Templates > New Template > Visualforce

Select the appropriate folder and enter the name. description and subject line for the email template then click on Next

For the email content, change the messaging:plainTextEmailBody to messaging:htmlEmailBody for both the opening tag and the closing tag. Your empty template should now look like this:


Now we are ready to paste in the HTML survey embed and add whatever other content is appropriate for your notification email.

Try it out!

Create a test ticket with yourself as the requester. Check your email and click any rating that you like. Once you do, new feedback should instantly show up in your Simplesat dashboard. 🎊 

Did this answer your question?