SlideShare une entreprise Scribd logo
1  sur  42
How To Create Surveys Using Salesforce Flow
In early years of Salesforce, developers
used to make their business process more
user-friendly and the data entry process
faster by creating separate web
based apps to display and update
Salesforce data.
How To Create Surveys Using Salesforce Flow
With the launch of
Visualforce, Site.com,
and Salesforce Flow,
developers can now
create complete mobile
friendly web apps from
Salesforce tools itself.
How To Create Surveys Using Salesforce Flow
Salesforce Flow is one of the
best feature for Salesforce
Developers to deploy simple
workflow web applications
fast. And by fast we mean
lightning fast.
How To Create Surveys Using Salesforce Flow
Technically Salesforce Flow is a
business ‘workflow wizard’ that
creates a sequential set of
screens that can be used to
complete or assist smartly on a
business process or workflow.
How To Create Surveys Using Salesforce Flow
Salesforce Flow is one
of the best feature for
Visualforce and
site.com users and it is
specifically great to
create survey pages.
How To Create Surveys Using Salesforce Flow
So without waiting further,
here’s a step by step process
to create a survey using
Salesforce Flow.
Step 1: Create an Object
Step 1: Create an Object
The first step is to create an object in the
Salesforce system which will save the values of
the survey.
Usually it requires creating some custom fields in
the object depending upon your requirements
Step 1: Create an Object
In your object you would also need to record customer
related information like name, email address, contact
information etc. As an example you may need custom
fields like:
◦ comment1
◦ comment2
◦ rating
◦ feedback1
◦ feedback2
Step 2: Create a New Flow
Step 2: Create a new flow
The next step is to create a new flow.
Go to Setup -> App Setup -> Create ->
Workflows & Approvals -> Flows -> New Flow.
This will open a new Flow canvas that we can use
to create and structure our Flow.
Step 2: Create a new flow
Step 2: Create a new flow
Every survey follows a flow chart. Ours is also a
very generic survey workflow which starts with a
customer greeting screen.
This screen will display the greeting message
and will ask the user’s permission to proceed
further on towards the survey.
Step 2: Create a new flow
If the answer is Yes, we will move on to survey
screen from where we will move to thank-you
screen. However if the answer was negative, we will
skip the survey section and display the thank-you
screen.
Step 2: Create a new flow
Step 2: Create a new flow
It is the most basic workflow and common
practical surveys involve 3 to 4
survey screens before moving to the
ending screen…
… but the ultimate choice is with
the developer of the survey
workflow.
Step 3: Creating Starting
Screen
Step 3: Creating Starting screen
➔ Drag and drop a new Screen element from the
left a palette panel to the workflow canvas and
name it.
➔ You can name it anyway you want.
➔ Add display text field to the screen and
configure it to display your starting message.
Step 3: Creating Starting screen
Step 3: Creating Starting screen
The next field is to record the user’s consent for
participating in the survey.
You can use a text field for the same in which a
user can type the desired value…
… but for simple single choice
questions radio buttons are the best.
Step 3: Creating Starting screen
Step 3: Creating Starting screen
Create a new Choice, label it and give it
unique name like postive_participation.
Similarly create another choice for negative
participation. Unique names and labels are
important so they must be used cleverly.
Step 3: Creating Starting screen
Step 4: Creating a Decision
Element
Step 4: Creating a Decision Element
To record the decision of the user, we are going to use
Decision element from the palette.
The decision element can be used to check the
validation of multiple inputs and then automatically
decide the direction of the Salesforce visual flow.
Step 4: Creating a Decision Element
Step 5: Create The Survey
Screen
Step 5: Create The Survey Screen
By now you have an understanding how you can
create screens and add input fields in the screen.
So using that create your survey screen.
While creating input fields keep in mind the custom
fields that you have created in your survey_latest
object.
Step 6: Store The Value In
The Object
Step 6: Store The Value In The Object
➔ From the Palette table choose the Record
Create element.
➔ While configuring the element, in the Create
Field, choose the object in which you want to
save the values.
➔ Then match the field with input values.
➔ Click OK.
Step 6: Store The Value In The Object
Step 6: Store The Value In The Object
Step 6: Store The Value In The Object
And then in Flow canvas screen drag a node from
the survey screen element to the record create
element.
Now the only thing left is to create the thank-you
page
Step 7: Create Survey Ending
Screen
Step 7: Create Survey Ending Screen
The last step is to create thank-you screen and link
it with the Decision Element that we have used to
check user consent and the record create element
(i.e. the step after the survey is done.)
Step 7: Create Survey Ending Screen
Flows Are Awesome For
Creating Apps Fast
Flows Are Awesome For Creating Apps Fast
As you may have now understood, creating survey
is one way of using flows. You can create many
different types of app from flow elements and that
as well at a very rapid pace. However they sorely
lack in visual department.
Flows Are Awesome For Creating Apps Fast
This is the reason why many developers still prefer
good old JavaScript pages for creating forms and
other things.
Author
Write to me @ pratyush@algoworks.com
Pratyush Kumar
Director
Pratyush is Co-Founder and Director at
Algoworks. He is responsible for
managing, growing open source
technologies and Salesforce CRM team .
He provides consulting and advisory to
clients looking for services relating to
CRM(Customer Relationship
Management) and ECM (Enterprise
Content Management).
THANK YOU
Official Blog Link: http://www.algoworks.com/blog/how-to-create-surveys-using-salesforce-flow
Learn about how Algoworks can help your
business!
Call us at : +1-877-284-1028
Mail us at: sales@algoworks.com
support@algoworks.com

Contenu connexe

Plus de Ajeet Singh

Dreamforce 23: Where Salesforce Meets AI
Dreamforce 23: Where Salesforce Meets AIDreamforce 23: Where Salesforce Meets AI
Dreamforce 23: Where Salesforce Meets AIAjeet Singh
 
Dreamforce 2022 - Algoworks.pptx
Dreamforce 2022 - Algoworks.pptxDreamforce 2022 - Algoworks.pptx
Dreamforce 2022 - Algoworks.pptxAjeet Singh
 
Why and When Enterprise Should Adopt NativeScript for App Development
Why and When Enterprise Should Adopt NativeScript for App DevelopmentWhy and When Enterprise Should Adopt NativeScript for App Development
Why and When Enterprise Should Adopt NativeScript for App DevelopmentAjeet Singh
 
The Next Big Thing In Mobile App Development – Trends 2019!
The Next Big Thing In Mobile App Development – Trends 2019!The Next Big Thing In Mobile App Development – Trends 2019!
The Next Big Thing In Mobile App Development – Trends 2019!Ajeet Singh
 
The Best Design Trend Is To Not Follow One. We have 6! : UI Design Trends 2019!
The Best Design Trend Is To Not Follow One. We have 6! : UI Design Trends 2019!The Best Design Trend Is To Not Follow One. We have 6! : UI Design Trends 2019!
The Best Design Trend Is To Not Follow One. We have 6! : UI Design Trends 2019!Ajeet Singh
 
5 Hottest Trends The DevOps World Wants You To Know!
5 Hottest Trends The DevOps World Wants You To Know!5 Hottest Trends The DevOps World Wants You To Know!
5 Hottest Trends The DevOps World Wants You To Know!Ajeet Singh
 
[Business Strategy] Pump Up Your Revenue: Retain Customers With Salesforce!
[Business Strategy] Pump Up Your Revenue: Retain Customers With Salesforce![Business Strategy] Pump Up Your Revenue: Retain Customers With Salesforce!
[Business Strategy] Pump Up Your Revenue: Retain Customers With Salesforce!Ajeet Singh
 
Happening Dreamforce Parties 2018 | Dreamforce 2018 Countdown Is On. Are You ...
Happening Dreamforce Parties 2018 | Dreamforce 2018 Countdown Is On. Are You ...Happening Dreamforce Parties 2018 | Dreamforce 2018 Countdown Is On. Are You ...
Happening Dreamforce Parties 2018 | Dreamforce 2018 Countdown Is On. Are You ...Ajeet Singh
 
DevSecOps: Integrating Security Into DevOps! {Business Security}
DevSecOps: Integrating Security Into DevOps! {Business Security}DevSecOps: Integrating Security Into DevOps! {Business Security}
DevSecOps: Integrating Security Into DevOps! {Business Security}Ajeet Singh
 
[Business Strategy] DevOps Implementation Failure. Save It Before You Fail It!
[Business Strategy] DevOps Implementation Failure. Save It Before You Fail It![Business Strategy] DevOps Implementation Failure. Save It Before You Fail It!
[Business Strategy] DevOps Implementation Failure. Save It Before You Fail It!Ajeet Singh
 
DevOps & Its Impact | An Infographic
DevOps & Its Impact | An InfographicDevOps & Its Impact | An Infographic
DevOps & Its Impact | An InfographicAjeet Singh
 
Top 6 Upcoming Big Data Trends of 2018!
Top 6 Upcoming Big Data Trends of 2018!Top 6 Upcoming Big Data Trends of 2018!
Top 6 Upcoming Big Data Trends of 2018!Ajeet Singh
 
HIPAA Compliant Salesforce Health Cloud – Why Healthcare Organizations Must C...
HIPAA Compliant Salesforce Health Cloud – Why Healthcare Organizations Must C...HIPAA Compliant Salesforce Health Cloud – Why Healthcare Organizations Must C...
HIPAA Compliant Salesforce Health Cloud – Why Healthcare Organizations Must C...Ajeet Singh
 
Xamarin Test Cloud – Automating Testing Effectively
Xamarin Test Cloud – Automating Testing EffectivelyXamarin Test Cloud – Automating Testing Effectively
Xamarin Test Cloud – Automating Testing EffectivelyAjeet Singh
 
Latest Mobile App Development Trends
Latest  Mobile App Development TrendsLatest  Mobile App Development Trends
Latest Mobile App Development TrendsAjeet Singh
 
Haven’t Switched To ECM Yet? Think About Alfresco!
Haven’t Switched To ECM Yet? Think About Alfresco!Haven’t Switched To ECM Yet? Think About Alfresco!
Haven’t Switched To ECM Yet? Think About Alfresco!Ajeet Singh
 
User Manual Guide: Case Management App on Salesforce AppExchange
User Manual Guide: Case Management App on Salesforce AppExchangeUser Manual Guide: Case Management App on Salesforce AppExchange
User Manual Guide: Case Management App on Salesforce AppExchangeAjeet Singh
 
Salesforce® Summer’17 To Raise The Temperature This Season!
Salesforce® Summer’17 To Raise The Temperature This Season!Salesforce® Summer’17 To Raise The Temperature This Season!
Salesforce® Summer’17 To Raise The Temperature This Season!Ajeet Singh
 
10 top notch big data trends to watch out for in 2017
10 top notch big data trends to watch out for in 201710 top notch big data trends to watch out for in 2017
10 top notch big data trends to watch out for in 2017Ajeet Singh
 
Native WebRTC Mobile App Development: Tools & Tips
Native WebRTC Mobile App Development: Tools & TipsNative WebRTC Mobile App Development: Tools & Tips
Native WebRTC Mobile App Development: Tools & TipsAjeet Singh
 

Plus de Ajeet Singh (20)

Dreamforce 23: Where Salesforce Meets AI
Dreamforce 23: Where Salesforce Meets AIDreamforce 23: Where Salesforce Meets AI
Dreamforce 23: Where Salesforce Meets AI
 
Dreamforce 2022 - Algoworks.pptx
Dreamforce 2022 - Algoworks.pptxDreamforce 2022 - Algoworks.pptx
Dreamforce 2022 - Algoworks.pptx
 
Why and When Enterprise Should Adopt NativeScript for App Development
Why and When Enterprise Should Adopt NativeScript for App DevelopmentWhy and When Enterprise Should Adopt NativeScript for App Development
Why and When Enterprise Should Adopt NativeScript for App Development
 
The Next Big Thing In Mobile App Development – Trends 2019!
The Next Big Thing In Mobile App Development – Trends 2019!The Next Big Thing In Mobile App Development – Trends 2019!
The Next Big Thing In Mobile App Development – Trends 2019!
 
The Best Design Trend Is To Not Follow One. We have 6! : UI Design Trends 2019!
The Best Design Trend Is To Not Follow One. We have 6! : UI Design Trends 2019!The Best Design Trend Is To Not Follow One. We have 6! : UI Design Trends 2019!
The Best Design Trend Is To Not Follow One. We have 6! : UI Design Trends 2019!
 
5 Hottest Trends The DevOps World Wants You To Know!
5 Hottest Trends The DevOps World Wants You To Know!5 Hottest Trends The DevOps World Wants You To Know!
5 Hottest Trends The DevOps World Wants You To Know!
 
[Business Strategy] Pump Up Your Revenue: Retain Customers With Salesforce!
[Business Strategy] Pump Up Your Revenue: Retain Customers With Salesforce![Business Strategy] Pump Up Your Revenue: Retain Customers With Salesforce!
[Business Strategy] Pump Up Your Revenue: Retain Customers With Salesforce!
 
Happening Dreamforce Parties 2018 | Dreamforce 2018 Countdown Is On. Are You ...
Happening Dreamforce Parties 2018 | Dreamforce 2018 Countdown Is On. Are You ...Happening Dreamforce Parties 2018 | Dreamforce 2018 Countdown Is On. Are You ...
Happening Dreamforce Parties 2018 | Dreamforce 2018 Countdown Is On. Are You ...
 
DevSecOps: Integrating Security Into DevOps! {Business Security}
DevSecOps: Integrating Security Into DevOps! {Business Security}DevSecOps: Integrating Security Into DevOps! {Business Security}
DevSecOps: Integrating Security Into DevOps! {Business Security}
 
[Business Strategy] DevOps Implementation Failure. Save It Before You Fail It!
[Business Strategy] DevOps Implementation Failure. Save It Before You Fail It![Business Strategy] DevOps Implementation Failure. Save It Before You Fail It!
[Business Strategy] DevOps Implementation Failure. Save It Before You Fail It!
 
DevOps & Its Impact | An Infographic
DevOps & Its Impact | An InfographicDevOps & Its Impact | An Infographic
DevOps & Its Impact | An Infographic
 
Top 6 Upcoming Big Data Trends of 2018!
Top 6 Upcoming Big Data Trends of 2018!Top 6 Upcoming Big Data Trends of 2018!
Top 6 Upcoming Big Data Trends of 2018!
 
HIPAA Compliant Salesforce Health Cloud – Why Healthcare Organizations Must C...
HIPAA Compliant Salesforce Health Cloud – Why Healthcare Organizations Must C...HIPAA Compliant Salesforce Health Cloud – Why Healthcare Organizations Must C...
HIPAA Compliant Salesforce Health Cloud – Why Healthcare Organizations Must C...
 
Xamarin Test Cloud – Automating Testing Effectively
Xamarin Test Cloud – Automating Testing EffectivelyXamarin Test Cloud – Automating Testing Effectively
Xamarin Test Cloud – Automating Testing Effectively
 
Latest Mobile App Development Trends
Latest  Mobile App Development TrendsLatest  Mobile App Development Trends
Latest Mobile App Development Trends
 
Haven’t Switched To ECM Yet? Think About Alfresco!
Haven’t Switched To ECM Yet? Think About Alfresco!Haven’t Switched To ECM Yet? Think About Alfresco!
Haven’t Switched To ECM Yet? Think About Alfresco!
 
User Manual Guide: Case Management App on Salesforce AppExchange
User Manual Guide: Case Management App on Salesforce AppExchangeUser Manual Guide: Case Management App on Salesforce AppExchange
User Manual Guide: Case Management App on Salesforce AppExchange
 
Salesforce® Summer’17 To Raise The Temperature This Season!
Salesforce® Summer’17 To Raise The Temperature This Season!Salesforce® Summer’17 To Raise The Temperature This Season!
Salesforce® Summer’17 To Raise The Temperature This Season!
 
10 top notch big data trends to watch out for in 2017
10 top notch big data trends to watch out for in 201710 top notch big data trends to watch out for in 2017
10 top notch big data trends to watch out for in 2017
 
Native WebRTC Mobile App Development: Tools & Tips
Native WebRTC Mobile App Development: Tools & TipsNative WebRTC Mobile App Development: Tools & Tips
Native WebRTC Mobile App Development: Tools & Tips
 

Dernier

Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsRoshan Dwivedi
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024SynarionITSolutions
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 

Dernier (20)

Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 

How To Create Surveys Using Salesforce Flow

  • 1.
  • 2. How To Create Surveys Using Salesforce Flow In early years of Salesforce, developers used to make their business process more user-friendly and the data entry process faster by creating separate web based apps to display and update Salesforce data.
  • 3. How To Create Surveys Using Salesforce Flow With the launch of Visualforce, Site.com, and Salesforce Flow, developers can now create complete mobile friendly web apps from Salesforce tools itself.
  • 4. How To Create Surveys Using Salesforce Flow Salesforce Flow is one of the best feature for Salesforce Developers to deploy simple workflow web applications fast. And by fast we mean lightning fast.
  • 5. How To Create Surveys Using Salesforce Flow Technically Salesforce Flow is a business ‘workflow wizard’ that creates a sequential set of screens that can be used to complete or assist smartly on a business process or workflow.
  • 6. How To Create Surveys Using Salesforce Flow Salesforce Flow is one of the best feature for Visualforce and site.com users and it is specifically great to create survey pages.
  • 7. How To Create Surveys Using Salesforce Flow So without waiting further, here’s a step by step process to create a survey using Salesforce Flow.
  • 8. Step 1: Create an Object
  • 9. Step 1: Create an Object The first step is to create an object in the Salesforce system which will save the values of the survey. Usually it requires creating some custom fields in the object depending upon your requirements
  • 10. Step 1: Create an Object In your object you would also need to record customer related information like name, email address, contact information etc. As an example you may need custom fields like: ◦ comment1 ◦ comment2 ◦ rating ◦ feedback1 ◦ feedback2
  • 11. Step 2: Create a New Flow
  • 12. Step 2: Create a new flow The next step is to create a new flow. Go to Setup -> App Setup -> Create -> Workflows & Approvals -> Flows -> New Flow. This will open a new Flow canvas that we can use to create and structure our Flow.
  • 13. Step 2: Create a new flow
  • 14. Step 2: Create a new flow Every survey follows a flow chart. Ours is also a very generic survey workflow which starts with a customer greeting screen. This screen will display the greeting message and will ask the user’s permission to proceed further on towards the survey.
  • 15. Step 2: Create a new flow If the answer is Yes, we will move on to survey screen from where we will move to thank-you screen. However if the answer was negative, we will skip the survey section and display the thank-you screen.
  • 16. Step 2: Create a new flow
  • 17. Step 2: Create a new flow It is the most basic workflow and common practical surveys involve 3 to 4 survey screens before moving to the ending screen… … but the ultimate choice is with the developer of the survey workflow.
  • 18. Step 3: Creating Starting Screen
  • 19. Step 3: Creating Starting screen ➔ Drag and drop a new Screen element from the left a palette panel to the workflow canvas and name it. ➔ You can name it anyway you want. ➔ Add display text field to the screen and configure it to display your starting message.
  • 20. Step 3: Creating Starting screen
  • 21. Step 3: Creating Starting screen The next field is to record the user’s consent for participating in the survey. You can use a text field for the same in which a user can type the desired value… … but for simple single choice questions radio buttons are the best.
  • 22. Step 3: Creating Starting screen
  • 23. Step 3: Creating Starting screen Create a new Choice, label it and give it unique name like postive_participation. Similarly create another choice for negative participation. Unique names and labels are important so they must be used cleverly.
  • 24. Step 3: Creating Starting screen
  • 25. Step 4: Creating a Decision Element
  • 26. Step 4: Creating a Decision Element To record the decision of the user, we are going to use Decision element from the palette. The decision element can be used to check the validation of multiple inputs and then automatically decide the direction of the Salesforce visual flow.
  • 27. Step 4: Creating a Decision Element
  • 28. Step 5: Create The Survey Screen
  • 29. Step 5: Create The Survey Screen By now you have an understanding how you can create screens and add input fields in the screen. So using that create your survey screen. While creating input fields keep in mind the custom fields that you have created in your survey_latest object.
  • 30. Step 6: Store The Value In The Object
  • 31. Step 6: Store The Value In The Object ➔ From the Palette table choose the Record Create element. ➔ While configuring the element, in the Create Field, choose the object in which you want to save the values. ➔ Then match the field with input values. ➔ Click OK.
  • 32. Step 6: Store The Value In The Object
  • 33. Step 6: Store The Value In The Object
  • 34. Step 6: Store The Value In The Object And then in Flow canvas screen drag a node from the survey screen element to the record create element. Now the only thing left is to create the thank-you page
  • 35. Step 7: Create Survey Ending Screen
  • 36. Step 7: Create Survey Ending Screen The last step is to create thank-you screen and link it with the Decision Element that we have used to check user consent and the record create element (i.e. the step after the survey is done.)
  • 37. Step 7: Create Survey Ending Screen
  • 38. Flows Are Awesome For Creating Apps Fast
  • 39. Flows Are Awesome For Creating Apps Fast As you may have now understood, creating survey is one way of using flows. You can create many different types of app from flow elements and that as well at a very rapid pace. However they sorely lack in visual department.
  • 40. Flows Are Awesome For Creating Apps Fast This is the reason why many developers still prefer good old JavaScript pages for creating forms and other things.
  • 41. Author Write to me @ pratyush@algoworks.com Pratyush Kumar Director Pratyush is Co-Founder and Director at Algoworks. He is responsible for managing, growing open source technologies and Salesforce CRM team . He provides consulting and advisory to clients looking for services relating to CRM(Customer Relationship Management) and ECM (Enterprise Content Management).
  • 42. THANK YOU Official Blog Link: http://www.algoworks.com/blog/how-to-create-surveys-using-salesforce-flow Learn about how Algoworks can help your business! Call us at : +1-877-284-1028 Mail us at: sales@algoworks.com support@algoworks.com