<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Survey &#8211; Jitendra Zaa</title>
	<atom:link href="https://www.jitendrazaa.com/blog/tag/survey/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.jitendrazaa.com/blog</link>
	<description>AI, Salesforce, ServiceNow &#38; Enterprise Tech Guides</description>
	<lastBuildDate>Mon, 22 Oct 2018 12:31:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0.4</generator>
<site xmlns="com-wordpress:feed-additions:1">87744916</site><atom:link rel="search" type="application/opensearchdescription+xml" title="Search Jitendra Zaa" href="https://www.jitendrazaa.com/blog/wp-json/opensearch/1.1/document" />	<item>
		<title>Send Salesforce Survey Without Code</title>
		<link>https://www.jitendrazaa.com/blog/salesforce/send-salesforce-survey-without-writing-code/</link>
					<comments>https://www.jitendrazaa.com/blog/salesforce/send-salesforce-survey-without-writing-code/#comments</comments>
		
		<dc:creator><![CDATA[Jitendra]]></dc:creator>
		<pubDate>Mon, 22 Oct 2018 00:11:45 +0000</pubDate>
				<category><![CDATA[Salesforce]]></category>
		<category><![CDATA[Flow]]></category>
		<category><![CDATA[Point and Click]]></category>
		<category><![CDATA[Process builder]]></category>
		<category><![CDATA[Survey]]></category>
		<guid isPermaLink="false">https://www.jitendrazaa.com/blog/?p=6538</guid>

					<description><![CDATA[Use Flow &#038; Process builder to send customer satisfaction survey on case close]]></description>
										<content:encoded><![CDATA[<p style="text-align: justify;">Salesforce <strong>Survey</strong> is available in <strong>Health Cloud</strong> &amp; <strong>Financial Service Cloud</strong> otherwise its paid. Community Cloud is also required to use Survey.  If you need to practice Survey, create a 30 day <a href="https://www.salesforce.com/form/signup/financial-services-cloud-trial.jsp">trial org from this URL</a> (mentioned in this <a href="https://trailhead.salesforce.com/content/learn/modules/fsc_setup/fsc_setup_unit_1">trailhead module</a>). One Survey can be created and used in Enterprise and Unlimited edition, so if you need only one survey then its free. In my case, I had to send same question to every customer on Case close , so it was free.</p>
<h3>Prerequisite to use Salesforce Survey</h3>
<p style="text-align: justify;"><strong>Step 1</strong> &#8211; Enable &amp; create Community. Once community setup is done, we would need to activate it. Community can be created by any template. It can be blank as well, if it&#8217;s being created only for survey.</p>
<p style="text-align: justify;"><strong>Step 2</strong> &#8211; Enable Salesforce survey by navigating to Admin setup. You would need to select Community, which would be used by Survey to compute public unique link.</p>
<figure id="attachment_6618" aria-describedby="caption-attachment-6618" style="width: 840px" class="wp-caption alignnone"><img data-recalc-dims="1" fetchpriority="high" decoding="async" class="size-large wp-image-6618" src="https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/10/Salesforce-enable-Survey.png?resize=840%2C341&#038;ssl=1" alt="Salesforce - Enable Survey" width="840" height="341" srcset="https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/10/Salesforce-enable-Survey.png?resize=1024%2C416&amp;ssl=1 1024w, https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/10/Salesforce-enable-Survey.png?resize=300%2C122&amp;ssl=1 300w, https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/10/Salesforce-enable-Survey.png?resize=768%2C312&amp;ssl=1 768w, https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/10/Salesforce-enable-Survey.png?resize=1200%2C487&amp;ssl=1 1200w, https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/10/Salesforce-enable-Survey.png?w=2000&amp;ssl=1 2000w" sizes="(max-width: 840px) 100vw, 840px" /><figcaption id="caption-attachment-6618" class="wp-caption-text">Salesforce &#8211; Enable Survey</figcaption></figure>
<p><span id="more-6538"></span></p>
<p style="text-align: justify;"><strong>Step 3</strong> &#8211;  Create and assign permission set, giving access to <strong>Manage Survey</strong> and CRED permission on Survey objects. This step is needed only if you are not able to see Survey in App menu.</p>
<p style="text-align: justify;">Before moving ahead, we need to understand Survey Data Model. I&#8217;ve created below data model for this blog post to explain various objects involved.</p>
<figure id="attachment_6620" aria-describedby="caption-attachment-6620" style="width: 1020px" class="wp-caption aligncenter"><img data-recalc-dims="1" decoding="async" class="size-full wp-image-6620" src="https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/10/Salesforce-Survey-Data-Model.png?resize=1020%2C680&#038;ssl=1" alt="Salesforce Survey Data Model" width="1020" height="680" srcset="https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/10/Salesforce-Survey-Data-Model.png?w=1020&amp;ssl=1 1020w, https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/10/Salesforce-Survey-Data-Model.png?resize=300%2C200&amp;ssl=1 300w, https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/10/Salesforce-Survey-Data-Model.png?resize=768%2C512&amp;ssl=1 768w" sizes="(max-width: 1000px) 100vw, 1000px" /><figcaption id="caption-attachment-6620" class="wp-caption-text">Salesforce Survey Data Model</figcaption></figure>
<p style="text-align: justify;">Survey would be created by Admin. If we want this survey to be used by any customer, then need to create <strong>Survey Invitation </strong>and send link to customer. There are many ways to send survey but I would explain the technique that worked for me.</p>
<h3>Step 1 &#8211; Create Survey</h3>
<p style="text-align: justify;">Navigate to App menu and search for Survey. Creating a new Survey in Salesforce is smoother than driving Tesla Model 3, just follow screen instructions.</p>
<p>Every Survey would have below three options for Admin</p>
<ol>
<li>View / Create Survey</li>
<li>Send (Send Survey to internal or external user)</li>
<li>Analyze (Survey Report)</li>
</ol>
<p style="text-align: justify;">Below are some screenshots of my demo Survey for this blog post (click to zoom-in image) :</p>
<figure id="attachment_6621" aria-describedby="caption-attachment-6621" style="width: 300px" class="wp-caption aligncenter"><a href="https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/10/Salesforce-Survey-Demo-Screen-1.png?ssl=1"><img data-recalc-dims="1" decoding="async" class="wp-image-6621 size-medium" src="https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/10/Salesforce-Survey-Demo-Screen-1.png?resize=300%2C210&#038;ssl=1" alt="Salesforce Survey Demo Screen 1" width="300" height="210" srcset="https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/10/Salesforce-Survey-Demo-Screen-1.png?resize=300%2C210&amp;ssl=1 300w, https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/10/Salesforce-Survey-Demo-Screen-1.png?resize=768%2C537&amp;ssl=1 768w, https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/10/Salesforce-Survey-Demo-Screen-1.png?resize=1024%2C716&amp;ssl=1 1024w, https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/10/Salesforce-Survey-Demo-Screen-1.png?resize=1200%2C839&amp;ssl=1 1200w, https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/10/Salesforce-Survey-Demo-Screen-1.png?w=1950&amp;ssl=1 1950w" sizes="(max-width: 300px) 100vw, 300px" /></a><figcaption id="caption-attachment-6621" class="wp-caption-text">Salesforce Survey Demo Screen 1</figcaption></figure>
<figure id="attachment_6622" aria-describedby="caption-attachment-6622" style="width: 300px" class="wp-caption aligncenter"><a href="https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/10/Salesforce-Survey-Demo-Screen-2.png?ssl=1"><img data-recalc-dims="1" loading="lazy" decoding="async" class="wp-image-6622 size-medium" src="https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/10/Salesforce-Survey-Demo-Screen-2.png?resize=300%2C211&#038;ssl=1" alt="Salesforce Survey Demo Screen 2" width="300" height="211" srcset="https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/10/Salesforce-Survey-Demo-Screen-2.png?resize=300%2C211&amp;ssl=1 300w, https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/10/Salesforce-Survey-Demo-Screen-2.png?resize=768%2C539&amp;ssl=1 768w, https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/10/Salesforce-Survey-Demo-Screen-2.png?resize=1024%2C719&amp;ssl=1 1024w, https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/10/Salesforce-Survey-Demo-Screen-2.png?resize=1200%2C842&amp;ssl=1 1200w, https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/10/Salesforce-Survey-Demo-Screen-2.png?w=1940&amp;ssl=1 1940w" sizes="auto, (max-width: 300px) 100vw, 300px" /></a><figcaption id="caption-attachment-6622" class="wp-caption-text">Salesforce Survey Demo Screen 2</figcaption></figure>
<p style="text-align: justify;">Survey must need to have minimum 3 pages &#8211; Welcome Page, questions page &amp; Thank you Page. Each page, at the time of writing this article contains below question types :</p>
<ul>
<li>Date</li>
<li>Multiple Choice</li>
<li>Picklist</li>
<li>Radio</li>
<li>Rating</li>
</ul>
<figure id="attachment_6623" aria-describedby="caption-attachment-6623" style="width: 742px" class="wp-caption aligncenter"><img data-recalc-dims="1" loading="lazy" decoding="async" class="size-full wp-image-6623" src="https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/10/Salesforce-Survey-Question-Types.png?resize=742%2C854&#038;ssl=1" alt="Salesforce Survey Question Types" width="742" height="854" srcset="https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/10/Salesforce-Survey-Question-Types.png?w=742&amp;ssl=1 742w, https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/10/Salesforce-Survey-Question-Types.png?resize=261%2C300&amp;ssl=1 261w" sizes="auto, (max-width: 742px) 100vw, 742px" /><figcaption id="caption-attachment-6623" class="wp-caption-text">Salesforce Survey Question Types</figcaption></figure>
<p style="text-align: justify;">Once Survey setup is completed, we would need to <strong>activate </strong>it. Now let&#8217;s talk about what are the different pieces we would need and how they all can be glued together.</p>
<p style="text-align: justify;">Below image tries to simplify, what we would be doing in rest of the blog post:</p>
<figure id="attachment_6624" aria-describedby="caption-attachment-6624" style="width: 701px" class="wp-caption alignnone"><img data-recalc-dims="1" loading="lazy" decoding="async" class="size-full wp-image-6624" src="https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/10/How-to-send-Survey-on-Case-Close-in-Salesforce.png?resize=701%2C440&#038;ssl=1" alt="How to send Survey on Case Close in Salesforce" width="701" height="440" srcset="https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/10/How-to-send-Survey-on-Case-Close-in-Salesforce.png?w=701&amp;ssl=1 701w, https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/10/How-to-send-Survey-on-Case-Close-in-Salesforce.png?resize=300%2C188&amp;ssl=1 300w" sizes="auto, (max-width: 701px) 100vw, 701px" /><figcaption id="caption-attachment-6624" class="wp-caption-text">How to send Survey on Case Close in Salesforce</figcaption></figure>
<p style="text-align: justify;">Before moving on next step, we would need to create a custom field of type Email on <strong>Survey Invitation </strong>object. This field would be used to store contact&#8217;s email address and send email alert.</p>
<h3>Step 2 &#8211; Create Flow</h3>
<p style="text-align: justify;">Below image shows, how the final flow would look like. If you have worked on flow, you might be able to pick it up without even going through rest of post.</p>
<figure id="attachment_6625" aria-describedby="caption-attachment-6625" style="width: 1464px" class="wp-caption alignnone"><img data-recalc-dims="1" loading="lazy" decoding="async" class="size-full wp-image-6625" src="https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/10/Flow-to-Send-Survey-in-Salesforce.png?resize=1464%2C774&#038;ssl=1" alt="Flow to Send Survey in Salesforce" width="1464" height="774" srcset="https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/10/Flow-to-Send-Survey-in-Salesforce.png?w=1464&amp;ssl=1 1464w, https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/10/Flow-to-Send-Survey-in-Salesforce.png?resize=300%2C159&amp;ssl=1 300w, https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/10/Flow-to-Send-Survey-in-Salesforce.png?resize=768%2C406&amp;ssl=1 768w, https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/10/Flow-to-Send-Survey-in-Salesforce.png?resize=1024%2C541&amp;ssl=1 1024w, https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/10/Flow-to-Send-Survey-in-Salesforce.png?resize=1200%2C634&amp;ssl=1 1200w" sizes="auto, (max-width: 1000px) 100vw, 1000px" /><figcaption id="caption-attachment-6625" class="wp-caption-text">Flow to Send Survey in Salesforce</figcaption></figure>
<p>We would need to create below <strong>variables</strong> in flow</p>
<ul>
<li>CaseId (Text, Input and Output)</li>
<li>caseNumber (Text, private)</li>
<li>communityId (Text, private)</li>
<li>contactEmail (Text, private)</li>
<li>contactId (Text, private)</li>
<li>surveyId (Text, private)</li>
<li>surveyInvitationId (Text, private)</li>
</ul>
<p><strong>sObject Variable</strong></p>
<ul>
<li>sObjSurveySubject (private, object type &#8211; SurveySubject)</li>
</ul>
<p><strong>Formula Variable</strong></p>
<ul>
<li>formula_surveyName (Text, formula &#8211; &#8216;Survey for Case &#8216;+{!caseNumber})</li>
</ul>
<p>Let&#8217;s start with creating component on Flow Canvas</p>
<p><strong>Component 1 &#8211; Case Record Lookup</strong></p>
<figure id="attachment_6626" aria-describedby="caption-attachment-6626" style="width: 1490px" class="wp-caption aligncenter"><img data-recalc-dims="1" loading="lazy" decoding="async" class="size-full wp-image-6626" src="https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/10/Salesforce-Flow-LookupCase.png?resize=1490%2C1098&#038;ssl=1" alt="Salesforce Flow - LookupCase" width="1490" height="1098" srcset="https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/10/Salesforce-Flow-LookupCase.png?w=1490&amp;ssl=1 1490w, https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/10/Salesforce-Flow-LookupCase.png?resize=300%2C221&amp;ssl=1 300w, https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/10/Salesforce-Flow-LookupCase.png?resize=768%2C566&amp;ssl=1 768w, https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/10/Salesforce-Flow-LookupCase.png?resize=1024%2C755&amp;ssl=1 1024w, https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/10/Salesforce-Flow-LookupCase.png?resize=1200%2C884&amp;ssl=1 1200w" sizes="auto, (max-width: 1000px) 100vw, 1000px" /><figcaption id="caption-attachment-6626" class="wp-caption-text">Salesforce Flow &#8211; LookupCase</figcaption></figure>
<p><strong>Component 2 &#8211; Contact Record Lookup</strong></p>
<figure id="attachment_6627" aria-describedby="caption-attachment-6627" style="width: 1496px" class="wp-caption aligncenter"><img data-recalc-dims="1" loading="lazy" decoding="async" class="size-full wp-image-6627" src="https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/10/Salesforce-Flow-Contact-Lookup.png?resize=1496%2C1092&#038;ssl=1" alt="Salesforce Flow - Contact Lookup" width="1496" height="1092" srcset="https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/10/Salesforce-Flow-Contact-Lookup.png?w=1496&amp;ssl=1 1496w, https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/10/Salesforce-Flow-Contact-Lookup.png?resize=300%2C219&amp;ssl=1 300w, https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/10/Salesforce-Flow-Contact-Lookup.png?resize=768%2C561&amp;ssl=1 768w, https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/10/Salesforce-Flow-Contact-Lookup.png?resize=1024%2C747&amp;ssl=1 1024w, https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/10/Salesforce-Flow-Contact-Lookup.png?resize=1200%2C876&amp;ssl=1 1200w" sizes="auto, (max-width: 1000px) 100vw, 1000px" /><figcaption id="caption-attachment-6627" class="wp-caption-text">Salesforce Flow &#8211; Contact Lookup</figcaption></figure>
<p><strong>Component 3 &#8211; Community Record Lookup</strong></p>
<p style="text-align: justify;">We would need Id of Community, so instead of hardcoding, we are going to query <strong>Network </strong>object to get needed Community Id</p>
<figure id="attachment_6628" aria-describedby="caption-attachment-6628" style="width: 1496px" class="wp-caption alignnone"><img data-recalc-dims="1" loading="lazy" decoding="async" class="size-full wp-image-6628" src="https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/10/Salesforce-Flow-Community-Lookup.png?resize=1496%2C1096&#038;ssl=1" alt="Salesforce Flow - Community Lookup" width="1496" height="1096" srcset="https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/10/Salesforce-Flow-Community-Lookup.png?w=1496&amp;ssl=1 1496w, https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/10/Salesforce-Flow-Community-Lookup.png?resize=300%2C220&amp;ssl=1 300w, https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/10/Salesforce-Flow-Community-Lookup.png?resize=768%2C563&amp;ssl=1 768w, https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/10/Salesforce-Flow-Community-Lookup.png?resize=1024%2C750&amp;ssl=1 1024w, https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/10/Salesforce-Flow-Community-Lookup.png?resize=1200%2C879&amp;ssl=1 1200w" sizes="auto, (max-width: 1000px) 100vw, 1000px" /><figcaption id="caption-attachment-6628" class="wp-caption-text">Salesforce Flow &#8211; Community Lookup</figcaption></figure>
<p><strong>Component 4 &#8211; Survey Record Lookup</strong></p>
<figure id="attachment_6629" aria-describedby="caption-attachment-6629" style="width: 1486px" class="wp-caption aligncenter"><img data-recalc-dims="1" loading="lazy" decoding="async" class="size-full wp-image-6629" src="https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/10/Salesforce-Flow-Survey-Lookup.png?resize=1486%2C1094&#038;ssl=1" alt="Salesforce Flow - Survey Lookup" width="1486" height="1094" srcset="https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/10/Salesforce-Flow-Survey-Lookup.png?w=1486&amp;ssl=1 1486w, https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/10/Salesforce-Flow-Survey-Lookup.png?resize=300%2C221&amp;ssl=1 300w, https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/10/Salesforce-Flow-Survey-Lookup.png?resize=768%2C565&amp;ssl=1 768w, https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/10/Salesforce-Flow-Survey-Lookup.png?resize=1024%2C754&amp;ssl=1 1024w, https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/10/Salesforce-Flow-Survey-Lookup.png?resize=1200%2C883&amp;ssl=1 1200w" sizes="auto, (max-width: 1000px) 100vw, 1000px" /><figcaption id="caption-attachment-6629" class="wp-caption-text">Salesforce Flow &#8211; Survey Lookup</figcaption></figure>
<p><strong>Component 5 &#8211; Create Survey Invitation Record</strong></p>
<figure id="attachment_6630" aria-describedby="caption-attachment-6630" style="width: 1392px" class="wp-caption aligncenter"><img data-recalc-dims="1" loading="lazy" decoding="async" class="size-full wp-image-6630" src="https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/10/Create-Survey-Invitation-Record.png?resize=1392%2C986&#038;ssl=1" alt="Create Survey Invitation Record" width="1392" height="986" srcset="https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/10/Create-Survey-Invitation-Record.png?w=1392&amp;ssl=1 1392w, https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/10/Create-Survey-Invitation-Record.png?resize=300%2C213&amp;ssl=1 300w, https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/10/Create-Survey-Invitation-Record.png?resize=768%2C544&amp;ssl=1 768w, https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/10/Create-Survey-Invitation-Record.png?resize=1024%2C725&amp;ssl=1 1024w, https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/10/Create-Survey-Invitation-Record.png?resize=1200%2C850&amp;ssl=1 1200w" sizes="auto, (max-width: 1000px) 100vw, 1000px" /><figcaption id="caption-attachment-6630" class="wp-caption-text">Create Survey Invitation Record</figcaption></figure>
<p><strong>Component 5 &#8211; Assignment for SurveySubject</strong></p>
<figure id="attachment_6631" aria-describedby="caption-attachment-6631" style="width: 1298px" class="wp-caption aligncenter"><img data-recalc-dims="1" loading="lazy" decoding="async" class="size-full wp-image-6631" src="https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/10/Salesforce-Flow-Assignment-for-SurveySubject.png?resize=1298%2C986&#038;ssl=1" alt="Salesforce Flow - Assignment for SurveySubject" width="1298" height="986" srcset="https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/10/Salesforce-Flow-Assignment-for-SurveySubject.png?w=1298&amp;ssl=1 1298w, https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/10/Salesforce-Flow-Assignment-for-SurveySubject.png?resize=300%2C228&amp;ssl=1 300w, https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/10/Salesforce-Flow-Assignment-for-SurveySubject.png?resize=768%2C583&amp;ssl=1 768w, https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/10/Salesforce-Flow-Assignment-for-SurveySubject.png?resize=1024%2C778&amp;ssl=1 1024w, https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/10/Salesforce-Flow-Assignment-for-SurveySubject.png?resize=1200%2C912&amp;ssl=1 1200w" sizes="auto, (max-width: 1000px) 100vw, 1000px" /><figcaption id="caption-attachment-6631" class="wp-caption-text">Salesforce Flow &#8211; Assignment for SurveySubject</figcaption></figure>
<p><strong>Component 6 &#8211; Create Survey Subject</strong></p>
<figure id="attachment_6632" aria-describedby="caption-attachment-6632" style="width: 1052px" class="wp-caption aligncenter"><img data-recalc-dims="1" loading="lazy" decoding="async" class="size-full wp-image-6632" src="https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/10/Salesforce-Flow-Create-Survey-Subject.png?resize=1052%2C752&#038;ssl=1" alt="Salesforce Flow - Create Survey Subject" width="1052" height="752" srcset="https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/10/Salesforce-Flow-Create-Survey-Subject.png?w=1052&amp;ssl=1 1052w, https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/10/Salesforce-Flow-Create-Survey-Subject.png?resize=300%2C214&amp;ssl=1 300w, https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/10/Salesforce-Flow-Create-Survey-Subject.png?resize=768%2C549&amp;ssl=1 768w, https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/10/Salesforce-Flow-Create-Survey-Subject.png?resize=1024%2C732&amp;ssl=1 1024w" sizes="auto, (max-width: 1000px) 100vw, 1000px" /><figcaption id="caption-attachment-6632" class="wp-caption-text">Salesforce Flow &#8211; Create Survey Subject</figcaption></figure>
<h3>Step 3 &#8211; Create Email Template and Email Alert</h3>
<p style="text-align: justify;">For sake of simplicity, we would create HTML email template without letterhead.  Email Template would be created for object <strong>Survey Invitation, </strong>other than Email__c field, I have also created Host_Name__c field of type formula (Text). We would need this field to compute survey link.</p>
<pre class="brush: bash; title: ; notranslate">
Host_Name__c =LEFT($Api.Partner_Server_URL_430, FIND( '/services', $Api.Partner_Server_URL_430))
</pre>
<p style="text-align: justify;">Below is the content of Email template we would be using</p>
<pre class="brush: xml; title: ; notranslate">
How was your interaction with service agent.

Please take 2 mins to answer few questions in survey.

&lt;a href=&quot;{!SurveyInvitation.Host_Name__c}survey/runtimeApp.app?invitationId={!SurveyInvitation.Id}&amp;surveyName=survey_demo&amp;UUID={!SurveyInvitation.UUID}&quot;&gt; Click here to begin survey &lt;/a&gt;


~Cheers,
Jitendra Zaa
</pre>
<p style="text-align: justify;">You might already have figure out the format of Survey Invitation Link from above email template, which looks like below</p>
<pre class="brush: bash; title: ; notranslate">
https://jit30trial.force.com/survey/runtimeApp.app?invitationId=0Kib4000000DKMG&surveyName=survey_demo&UUID=982900a2-ce21-4c44-95fa-4763b3bfe24e
</pre>
<p>It&#8217;s time to create email alert using above email template</p>
<figure id="attachment_6633" aria-describedby="caption-attachment-6633" style="width: 840px" class="wp-caption aligncenter"><img data-recalc-dims="1" loading="lazy" decoding="async" class="size-large wp-image-6633" src="https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/10/Salesforce-Email-Alert-for-Survey.png?resize=840%2C610&#038;ssl=1" alt="Salesforce Email Alert for Survey" width="840" height="610" srcset="https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/10/Salesforce-Email-Alert-for-Survey.png?resize=1024%2C744&amp;ssl=1 1024w, https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/10/Salesforce-Email-Alert-for-Survey.png?resize=300%2C218&amp;ssl=1 300w, https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/10/Salesforce-Email-Alert-for-Survey.png?resize=768%2C558&amp;ssl=1 768w, https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/10/Salesforce-Email-Alert-for-Survey.png?resize=1200%2C871&amp;ssl=1 1200w, https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/10/Salesforce-Email-Alert-for-Survey.png?w=1950&amp;ssl=1 1950w" sizes="auto, (max-width: 840px) 100vw, 840px" /><figcaption id="caption-attachment-6633" class="wp-caption-text">Salesforce Email Alert for Survey</figcaption></figure>
<h3>Step 4 &#8211; Create Process builder</h3>
<p style="text-align: justify;">We would need two process builder to complete this setup :</p>
<p style="text-align: justify;"><strong>Process builder 1</strong> &#8211; Create Survey Invitation using Flow created in step 2. We would need to pass case Id to flow as shown in below image</p>
<figure id="attachment_6634" aria-describedby="caption-attachment-6634" style="width: 840px" class="wp-caption alignnone"><img data-recalc-dims="1" loading="lazy" decoding="async" class="size-large wp-image-6634" src="https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/10/Launch-Flow-from-Process-Builder.png?resize=840%2C390&#038;ssl=1" alt="Launch Flow from Process Builder" width="840" height="390" srcset="https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/10/Launch-Flow-from-Process-Builder.png?resize=1024%2C475&amp;ssl=1 1024w, https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/10/Launch-Flow-from-Process-Builder.png?resize=300%2C139&amp;ssl=1 300w, https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/10/Launch-Flow-from-Process-Builder.png?resize=768%2C356&amp;ssl=1 768w, https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/10/Launch-Flow-from-Process-Builder.png?resize=1200%2C556&amp;ssl=1 1200w, https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/10/Launch-Flow-from-Process-Builder.png?w=2000&amp;ssl=1 2000w" sizes="auto, (max-width: 840px) 100vw, 840px" /><figcaption id="caption-attachment-6634" class="wp-caption-text">Launch Flow from Process Builder</figcaption></figure>
<p><strong>Process builder 2</strong> &#8211; Send email alert whenever Survey Invitation created</p>
<figure id="attachment_6636" aria-describedby="caption-attachment-6636" style="width: 840px" class="wp-caption aligncenter"><img data-recalc-dims="1" loading="lazy" decoding="async" class="size-large wp-image-6636" src="https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/10/Send-Email-Aletr-using-Process-Builder.png?resize=840%2C617&#038;ssl=1" alt="Send Email alert using Process Builder" width="840" height="617" srcset="https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/10/Send-Email-Aletr-using-Process-Builder.png?resize=1024%2C752&amp;ssl=1 1024w, https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/10/Send-Email-Aletr-using-Process-Builder.png?resize=300%2C220&amp;ssl=1 300w, https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/10/Send-Email-Aletr-using-Process-Builder.png?resize=768%2C564&amp;ssl=1 768w, https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/10/Send-Email-Aletr-using-Process-Builder.png?resize=1200%2C881&amp;ssl=1 1200w, https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/10/Send-Email-Aletr-using-Process-Builder.png?w=1858&amp;ssl=1 1858w" sizes="auto, (max-width: 840px) 100vw, 840px" /><figcaption id="caption-attachment-6636" class="wp-caption-text">Send Email alert using Process Builder</figcaption></figure>
<p><strong>How to Test </strong></p>
<ul>
<li style="text-align: justify;">Create a case with contact having valid email address</li>
<li style="text-align: justify;">Mark Case status closed &#8211; it should trigger Process builder to invoke Flow</li>
<li style="text-align: justify;">Contact&#8217;s email address should receive an email, clicking on link should take user to survey page</li>
</ul>
<figure id="attachment_6638" aria-describedby="caption-attachment-6638" style="width: 840px" class="wp-caption alignnone"><img data-recalc-dims="1" loading="lazy" decoding="async" class="size-large wp-image-6638" src="https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/10/Test-Salesforce-Survey.png?resize=840%2C459&#038;ssl=1" alt="Test Salesforce Survey" width="840" height="459" srcset="https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/10/Test-Salesforce-Survey.png?resize=1024%2C559&amp;ssl=1 1024w, https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/10/Test-Salesforce-Survey.png?resize=300%2C164&amp;ssl=1 300w, https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/10/Test-Salesforce-Survey.png?resize=768%2C420&amp;ssl=1 768w, https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/10/Test-Salesforce-Survey.png?w=1036&amp;ssl=1 1036w" sizes="auto, (max-width: 840px) 100vw, 840px" /><figcaption id="caption-attachment-6638" class="wp-caption-text">Test Salesforce Survey</figcaption></figure>
<p style="text-align: justify;">Note : At time of writing this blog post,<a href="https://success.salesforce.com/issues_view?id=a1p3A0000019QIwQAM"> I came across this known issue</a>, if you are impacted, let Salesforce know by clicking on <em>This Issue affects me </em>button.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.jitendrazaa.com/blog/salesforce/send-salesforce-survey-without-writing-code/feed/</wfw:commentRss>
			<slash:comments>45</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">6538</post-id>	</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/?utm_source=w3tc&utm_medium=footer_comment&utm_campaign=free_plugin

Page Caching using Disk: Enhanced 
Minified using Disk

Served from: www.jitendrazaa.com @ 2026-08-26 08:52:53 by W3 Total Cache
-->