Day - 4 | Salesforce Sales Cloud | Lead Management | Convert Lead, Web-to-Lead, Lead Assignment

Sanjay Gupta Tech School
28 followers
3 Video Views·Aug 6, 2024
for
[Music]
hello hi everyone I Sanjay Gupta I
welcome you on Sanjay Gupta tech school
so uh today we are having one more
session on sales Cloud so as you all
know like I'm I'm doing a boot camp on
Salesforce sales Cloud so uh in in
continuation that Series so this is day
four and uh agenda of this session is
you will be learning about the lead
management so in previous session I
discussed about the campaign management
so here in this session you will get to
know how leads can be managed how we
convert them and few other features
which are related to uh lead management
okay so before I start the session so I
will take uh 2 3 minutes to share some
information with you so first of all if
you follow all the session of this boot
camp you will be able to um you will be
ready for Salesforce uh cons sales Cloud
consultant certification right so uh
like whatever I'm discussing so I'm
explaining that theoretically as well as
doing some practicals also so after
watching all the sessions and uh if you
go through the trailhead uh modules
which are related to sales Cloud you
will be able to um clear this
certification right moving forward
before I start the session I I request
everybody those who are live please like
the video and if you're watching the
recording then also please like the
video uh if you want to show some
gratitude because uh all these sessions
I'm doing free of cost you don't need to
pay anything for that so you just need
to hit the like button and uh like it
will boost the strength of my YouTube so
do this right away this is about me so
I'm growing day by day sharing my
knowledge on different social media
platforms and uh as you can see
everything about me is available on the
slide if you're new to this platform on
my channel so you can go through with
the slide and you can know and U uh like
if you if you really like the sessions
please share the uh sessions with other
folks as well so that they can also get
benefited okay uh moving forward so I
I'm currently running two job Readiness
program those are paid ones so uh in
that series first one is admin module so
if anybody who is struggling uh in
learning uh say sales force by
themselves so you can refer these
courses to them so all those modules are
available in front of you that we are
covering in the admin module which is
focusing on the functional part so if
anybody don't want to do coding and
still want to become part of Salesforce
ecosystem they can go with with this
course and the one who is uh really
interested for the development thing so
they can do the development module so
once anybody uh knows the admin
configuration they can go with the
development module so in development
module these many features we are
covering which are available in front of
you okay so these are the two modules
and um all the details about these
courses are available on my website
sjs.org g.in and you can reach out to me
this through this email which is
available on the screen okay so again
people are asking like why paid uh if
free is available so I always say if you
can learn by yourself go go on uh my
YouTube channel everything is available
there but if you need a mentor you need
a guidance so you can come up and I will
help you and U like little bit amount
you need to pay against that course so
that's why I'm doing those okay so
coming onto the session so if I talk
about the previous uh sessions which I
already delivered so we discussed about
sales application versus sales console
application then I discussed about the
uh the the sales cloud data model then I
discussed about the account management
then I discussed about the contact
management
then discussed about the opportunity
management and in the last session I
discussed about the campaign management
now in today's session I will be
relating everything so when I explain
lead so everything will be connected
okay so let's start with that so that
you understand like how everything is
managed so today's session topic is lead
management and uh we will be learning
how we can convert lead into account
contact and opportunity
okay so what I'm going to do I taking
to I'm taking you to the sales Cloud
application so that we can understand it
in detail okay so uh I'm starting from
the beginning so let's start with the
campaign so in last session we created a
campaign sgts email campaign okay uh
this this campaign we created and here
all the details are available we
provided start date and end date so
suppose this campaign is running and
against this campaign we have generated
a lead so here we have two leads
available okay if I go to the related
list so I will see two leads so these
two leads I created in the last session
okay so if you follow that session you
will be able to understand like how
campaigns we have created how leads can
be created and how we can add leads to
the campaign as a member okay so five
leads are available here now
if I click on the view all so I will be
able to see what all members are
available so here you are able to see we
have different types one member is
account two members are contact and two
members are lead okay now what I'm going
to do I'm going to open this particular
lead last one so this lead I created and
uh this lead is now member of that
particular campaign sgts email now if I
go to the details okay so here we have
lots of details available name Company
lead Source industry phone mobile email
all this dummy data I have provided for
demo purpose okay uh email I'm changing
because this this email I'm using in my
org as well so I'm putting some
different email because I will
be demoing you the lead autor response
tool so these are my emails
it is not associated with with any other
person so I'm using these emails for the
demo purpose right so first of all you
need to create campaign then you need to
create lead then lead can become member
of campaign so these things we already
discussed in the last session now what
I'm going to do once through campaign we
have generated a lead and you think that
lead can be converted into a potential
customer okay you think that lead can be
converted into a potential customer so
at that point of time like sales
representative uh can convert that lead
and they can create three different
records that will be uh that lead
conversion process will be creating
account record it will be creating
contact record and it will be creating
opportunity record okay so those three
types of Records will be created
automatically after lead
conversion so on top right corner we
have a drop down and here you will find
this button convert button is available
so you just need to select this button
if you click on this button so a popup
will appear and uh here we have all
three options so we can convert that
lead into account contact and
opportunity and here you can see few
information are available automatically
account name is populated automatically
so account name is coming from the lead
so if you see in the background lead is
having company that is Test Company okay
lead is having name that is AJ so name
account name is coming from the company
Field contact name is coming from the
name field and opportunity is being
created as per the company name okay now
if you want to modify this so we can do
that as well so let's say I'm just
adding 6 August uh with this opportunity
name then we have record type so if you
want to choose particular record type
you can do that as well
with account also like here it is
selecting business account record type
by default because we are creating
account as well so on account uh in the
beginning sessions we created two record
type one was business account and one
was person account so in case of person
account we don't create contact but here
we are creating contact that's why it
will be business account okay so these
three records will be created
automatically now with opportunity we
have a checkbox as well so if you see
this checkbox it says don't create an
opportunity upon conversion so if you
check this checkbox then opportunity
record won't be created right so
opportunity record creation is optional
account and contact will be created but
opportunity creation will depend upon
you whether you want to create it or not
so right now I'm unchecking it because I
need to create all three records now if
you see on right hand
side if if you select the left hand side
radio buttons it means account contact
and opportunity records will be created
as a new records but if you think that
lead which you are converting it should
be associated with an existing account
after conversion so what you can do you
can choose existing account as well so
instead of this you can choose this
option choose existing and here you can
search any existing account so in place
of new account creation that existing
account will be utilized so right right
now I'm choosing create new so that
three new uh Records will be created and
record owner will be the lead owner by
default but if you want to change the
record owner so if if uh the business
requirement says like lead is the owned
by sales representative now account
contact and opportunity will be owned by
other user so here you can choose
different user as well so let me choose
different user okay here I have test
user actually so I'm choosing test user
okay so my another username is test user
so that user will become the owner of
account contact and
opportunity right and after conversion
what status you want to populate on the
lead so it will be closed and
converted right and after conversion so
if I click on convert so lead will be
converted okay here uh mapping field
okay so there is one issue like on
account active field is required so we
need to do that mapping so let me go to
the setup and see like what is there on
account so for for now I'm going to
disable that validation if it is
there so it is for preventing duplicate
okay let me see if there is any
trigger because there is one more
feature which is
mapping of the lead so while you are
converting you can map particular Fields
so right now I'm just showing you the
conversion later on after conversion I
will show you like how we can map the
fields then you will be able to
understand this if if there is any
custom field which is required on uh
account contact or opportunity so you
can map that field value with the lead
field so that at the time of conversion
this sort of error we can resolve so
here option is also coming map custom
lead fields for lead conversion so I
will show you how we can do that after
the conversion so for now what I
did I I just
deactivated that trigger which is
causing this issue but in real time we
don't do that we don't activate trigger
instead we will be mapping the field but
as we don't know how to map that's why I
deactivated that so I'm clicking on
convert okay still it is
[Music]
working so I think some other automation
still is there let me see the
[Music]
flow okay I'm just opening this flow
trigger Explorer if it doesn't work then
I will uh first map and then we'll
convert so I'm just d activating all
these
flows so actually they are part of some
other process so this is okay this got
activated
deactivate so these these I created as
part of other demonstration that's why
they are available but still I'm
deactivating them clicking on convert
okay it is not working so let me just
show you how we can map so I'm open I'm
opening this map custom
field custom lead fields for lead
conversion so we will be mapping
it then it will be resolved so basically
what is happening on account this active
is required so we need to map I think it
is required on field deliver let me just
check one more
thing might be is required from here yep
I got the issue so it is basically
required from the page so I'm unchecking
it saving it yeah this this was the
issue so now if I convert it will be but
okay this is not open so let me convert
now so actually the issue was on field
level that field was required so I'm
converting now now it will be
converted okay again one more validation
is there okay opportunity please
populate opportunity amount so
let me open lead so I I need
to show you that mapping as well so uh
here we have this option map lead Fields
okay if I click on here so here we can
map the field so let's say on
opportunity amount is required so with
these values we can map them so we have
limited Fields so on lead I need to
create a field called Mount
first or let me see if we have
any okay we don't have any field there
so let me create a new
field so I'm creating a number
field so why it is happening because in
this or uh some validations are there so
I need to create
this so that we you can do the
mapping if you are doing it in a fresh
or where validations and triggers are
not available then you don't need to do
that but still this is good option if
you know this so on lead I created this
amount field now I'm clicking on map
lead Fields so here this amount I will
be mapping so on opportunity so here we
have three typs account contact and
opportunity so click on opportunity
amount here
okay so this is for
custom yeah this is for custom so it
will not be
mapped Yeah so basically this mapping
can be done for custom Fields the error
is coming for the standard one so what I
need to do I need to go to
opportunity checking the validation
there's no validation
okay we have these flows delete and
post let me see the trigger okay I think
I need to deactivate
it yeah here we are validating the
amount so I'm just deactivating it as of
now let's try
now yep now it is working so lead got
converted so basically there was two
issues one was active was required on
the field level second is amount was
required through the trigger right so I
just uh like unchecked the check boxes
from from the active field and Trigger I
deactivated then it worked so basically
whenever you are converting the lead so
you need to make sure those validations
are like not in place because uh I
showed you the mapping if if you see the
mapping that is for custom if I show you
the lead mapping that is for custom
Fields if you want to map the custom
Fields so that we can do okay so I
created amount field on lead but it can
be mapped with a custom uh these are
standard ones so uh standard mapping we
can do but if you want to map custom
field so they can be mapped with the
custom ones uh these below are the
standard ones so they can map with other
standard Fields whenever it is
needed right so this is the limitation
like at the time of lead conversion you
just need to take care about these uh
sort of validations so now we have three
records account contact and opportunity
okay so I I'm just opening account
record and uh with account you will see
related contact and related opportunity
also got
created okay so on contact all the
information related to contact is
available on opportunity opportunity
related information available on account
account related information copied
automatically from that
lead okay and if I go go to the leads so
that lead will be removed from this list
view so you can make sure so whenever
you convert any lead so before
conversion lead will display here but
after conversion lead will be removed
from the list view so it will be removed
from the list view but it is still
available in the OR okay so yeah this is
the lead conversion process and uh in
that process I showed you how we can do
the mapping as well so standard Fields
you can map directly but for custom you
need to map custom field with custom so
on lead if custom field is available so
custom field should be available on
account contact and
opportunity now if I go to the
campaign so here you will find few more
rollups are having data so we have one
opportunity contacts uh leads these were
already available converted lead is one
so in previous session I showed you like
few rollups were working few are working
today like lead got converted
opportunity got created and the
opportunity which got created will be
available in the related list as well so
if you see here the converted lead
opportunity is reflecting here so it is
coming
automatically and if I open this
opportunity
record so right now here value
opportunities in campaign is zero if I
open that opportunity and populate some
value to that opportunity
so I'm populating 100K okay and saving
this opportunity so this amount will
automatically reflect here I need to
refresh okay so here this amount is
reflecting
automatically so we created a campaign
through campaign we generated a lead
lead got converted and uh we have
account contact and opportunity so
through account we can uh we know like
which com with which company we are uh
dealing with uh with contact we know
like with which person we need to
communicate and uh with this opportunity
like we can we can follow the process
whether this opportunity will get
converted or not or like closed or not
not converted closed or not okay so
after a few follow-ups based on this uh
stage values we will decide whether
opportunity will be closed or not so
once it is
closed so there will be two steps if you
select so there will be either closed
one or closed lost so let's say I'm
selecting as closed One clicking on save
so after lead conversion account contact
opportunity got created and opportunity
is closing now and it is closing as
closed
one so I'm just refreshing this
page okay it didn't save let me just
populate it from
here okay I think some issues are there
because of owner so owner is test user
let me change the owner because this
user is having limited permission so I'm
changing this to system admin
because this user is not having enough
permission so for demo purpose I'm just
changing the
owner okay it is not work so uh like you
can test it in your orc so uh simply
just select the close State uh stage and
it will be closed so this opportunity uh
management we already discussed so uh
through that like with that with the
help of that session you will be able to
complete that step okay so right now
this test user is not having enough
permission that's why I'm not able to
close it uh unable to change the user
but if you do the practice with the
system admin user you will be able to do
right so this this is the complete
process that I explained from campaign
uh campaign to lead lead to account
contact and
opportunity okay now if I go back so
this particular part is completed now uh
next thing is how to create record Types
on lead so if you want to create record
Types on lead object so before that you
need to manage lead processes as well so
if I recall opportunity so on
opportunity we created a record type so
we created sales processes if I talk
about case so for case basically we need
to create support processes for lead
basically we need to create lead
processes okay so right now in this boot
cam we created record type on
opportunity and I explained you sales
process but now we are going to to
create record type on lead so on lead
basically we have a pick list which is
called status so that status pick list
is controlled by uh that particular
process lead process okay so this cannot
be controlled by record type so if I try
to create record type for lead
object let me see yeah there is no
record type if I try to create a record
type for lead so it will show me this
message a lead record type must be
associated with the lead process so we
need to click here to create a lead
process first okay so I'm going to
create a lead process clicking on
new
so lead one save it will show the status
pick list so we need to pick few values
so
here uh four values are
available I'm just removing this one
working okay it is having three values
I'm saving it now I'm creating one
more lead two saving it and in this lead
two I'm having all four values okay and
I'm saving it so two lead processes I
have created Now to create a record type
you need to choose any one of this lead
process so you can create any number of
lead processes as per the need
so we need to create lead record type
I'm clicking on
new okay come back to record types and
click on new so you will be able to
create a record
type so here lead record uh This Record
type label will
be so
lead suppose Lead 1
101 and here lead process Lead 1 and it
will be active by
default then clicking on
next it will ask to select the page
layout so I'm selecting lead
layout and clicking on save so how to
configure record type page layout page
layout assignment all these things we
already discussed last year in the boot
cam so if you have gone through the
admin boot cam Concepts you know how to
configure record type page layout how to
create multiple page layouts and assign
them so that you can do yourself I just
created this record type and Associated
that uh process lead process now if I
create one more lead
102 activating it making it available
clicking on
next so as of now I'm selecting the same
layout because I'm not explaining the uh
detailed process of record type and page
layout assignment I'm just explaining
how we can create record type uh lead
record type and Associate lead process
so two record types are there now if you
try to create a
lead so you will see them so I'm
refreshing the
page if I try to create a new
lead here both the record types are
available lead 101 and Lead 102 so I'm
clicking on next here we'll have status
so only three values are available open
closed converted closed not
converted if I click on new and select
lead 10 or2 and click on next so this
time on status I will see four values
open working closed
closed so this is the difference like if
you want to create lead record type so
you need to configure lead processes
then only uh you can go
forward okay next is is lead assignment
rule which is also important so whenever
we are creating a lead and if you want
to assign that lead automatically to a
user so you can create lead assignment
rule so here a standard assignment rule
is already available so let's create a
new
one I'm activating it so naming it as
lead assignment saving
it okay so I'm clicking on lead
assignment at a time only one lead
assignment rule can be activated so I'm
clicking on lead assignment rule that
I'm creating so here I need to provide
rule entries so I clicked on new sort
order can be 1 2 3 4 so accordingly lead
assignment will happen here you can
specify the criteria so let's say lead
amount so lead amount we can populate uh
greater
than 100,000 Okay so if lead amount is
greater than 100,000 then you can choose
like uh to whom you want to assign so I
have two users created one is s and one
is test user so if lead amount is
greater than 100K then it will be
assigned to sanj saving
it so this is my first rule criteria now
I'm creating one
more number two so if amount
is uh sorry less than less or
equal 100K so I'm assigning it to so I'm
searching for the test user yeah and
here at right hand side you can see we
can have a email template as well so
whenever any lead will be assigned to
this user so that email will be
triggered with this template so if you
have any email template you can assign
that
also and we have this checkbox do not
reassign owner so generally we uncheck
but if you want to check it you can and
save
it so this way whenever you are creating
a lead so basis on the lead amount it
will be assigned to particular user so
lead assignment rule is
created okay now one before testing it
I'm going to show you one more thing
that is lead autor response rule so
let's set up that and then we'll create
a lead so lead will be assigned to
particular user and autor response will
be generated so we have lead auto autor
response tool lead process I already
explained to you we have lead settings
as well so that you can U explore
yourself there are some settings which
you can enable and disable so right now
we are going to discuss about autor
response rule how we can create so click
on
new so rule
name lead autor response making it
active clicking on Save
now open it so here again you need to
make the entries so entry number one if
amount so you can put any criteria for
demo purpose I'm picking this
criteria now here this is important you
need to pick the name so sender name
okay so let's say I'm putting sgts email
address so you can specify some email
address which is verified organization
wide email address okay so if if you
want to see what is organization wide
email address so we just need to open
the setup and under setup we have this
option organization vo addresses so here
you can create uh some entries and you
can verify them okay so here if you add
any
entry right here if you add any entry so
that you can verify so this this email
address that is verified here can be
used as anywhere in the whole org as a
cender okay so right now we don't have
so what we can do other option is any uh
email address in your Salesforce user
profile so I have this email address in
my one of the users so that I'm using
here and if I want to use any email
template I can use that as well so it is
required so let me see if I have any
standard template
so we have support templates
okay new customer email so I'm just
choosing this
one and clicking on save so this way
one entry I created if you want to
create different entry let's say
different criteria and you want to use
different sent email and different
templat so you can create this way any
number of entries here and according to
this order one by one criteria will be
checked if that matches will be executed
if not then it will jump to the next
criteria which is in the order right so
this way you can create case Auto sorry
lead autor response rule so it is for
greater than 100K so now if I create a
lead where amount is greater than 100K
so it will be assigned to Sanjay and
then uh a response will be sent to the
uh email which is populated on the
lead so what I'm going to do here I'm
creating a lead
okay so first name last name JY
company uh let's say test Sanjay and
here we need to fill the amount so
amount I'm filling
as this which is greater than 100k
okay I'm leaving rest of the thing so
lead will be created and uh it will be
automatically assigned so right by
default by default its owner is Sanja so
I will create one more lead so that lead
assignment rule I can uh show you uh
like if I provide less than 100K so it
will be assigned to test user so this
one will be assigned to the uh this sanj
only because it is having amount greater
than 100K so I'm clicking on Save
oh actually I forgot to provide email so
I will be creating one more so basically
we'll see lead owner is Sanjay okay now
I'm creating one more lead first so that
I can show you lead assignment
rule so let's say test
now this time I I'm entering amount as
50,000 okay so here lead owner Sanjay
but amount is less than 100K so let's
see what happens if I save
it go to details okay still lead owner
is let me see why that is not
working it should be assigned to
test
[Music]
user I'm just checking the amount it is
100k less or equal lead amount so it
should work
okay let's try and create one more
lead otherwise I will see what is the
issue and maybe I will um sort it out in
the next session I'm creating one more
lead
now clicking on next
so test lead
301 so I'm just entering one
1,000 actually here uh one option should
appear lead assignment rule a checkbox
should appear here that is not coming up
if we check that checkbox then that lead
assignment actually works let me see the
settings so if I go to the setup and
search for lead settings
so here we have few options like require
validation preserve lead status enable
conversion create a task so
here that option is not available
default uh user is coming from here but
we don't have that
option actually on lead creation that
option comes like you want to run
the lead assignment
rule okay let me try one more
time actually that option is not coming
that's why we are not able to to assign
this so you can try in your or so be uh
like before three buttons cancel save
and new and save you will see a checkbox
like you want to use case assignment
rule or not so if you check that
checkbox accordingly your leads will be
U assigned to that particular
user okay and uh similarly autor
response rule so I'm creating one more
lead and this time I will be populating
email also
so it is
401 okay and I'm populating amount as
this okay so lead got created and uh I I
need to check
okay email I didn't
receive yeah so the uh these two
features right now not working in this s
so I will I will uh explore this because
there are some check boxes which are not
coming up at the time of lead creation
we see those
checkboxes so I need to check why they
are not coming so if we enable those
checkboxes then lead assignment and uh
autor response rule will work so I will
cover up that in uh next session uh one
more thing is pending that I want to
cover so weap to lead so there is one
way available through which you can
create a lead so basically uh through
Salesforce you can create an HTML code
and that HTML code can be embedded in
your website okay and uh through any
website if you ask your customer to fill
that form so after filling that form
your data will be coming into the
Salesforce and automatically a lead
record will be
created so that form can be generated
with this uh web to
lead so here we have this button create
web to lead form form so if you click on
that button so here few Fields will be
uh selected automatically so if you want
to add more Fields you can so a form
will be created where user need to fill
all these fields and then if they submit
then automatically a record will be
created and this is the return URL once
they fill the form and after filling the
form and on which website page you want
to redirect them so that you can you can
just show them like their uh submission
has been registered in the Salesforce
right so let's say I'm using my website
and this is for capture if you want to
enable it so you can include capture API
key pair so right now I'm disabling this
option and clicking on generate so this
way we'll be having this HTML code okay
you can simply copy it and this HTML
code you can uh share with your web
developer who will be using this code
and uh will uh will
use this code and Rebrand it as for the
website branding because right now if I
open it with any
HTML uh online HTML generator so editor
if I run this code so you will see a uh
simple form so here I'm going
to paste that
code so I just past it so here you can
see this this type of form is available
here which is very simple so as per the
website branding um web developer will
be defining this so uh few few options
are coming here as we selected the
fields so we need to fill the
information so let's say I'm filling
test lead
51 uh I'm selecting this
email okay now if I click on submit
so this particular lead record will be
created I need to go here and refresh so
right now we have 18 records Let me
refresh so we have 19 records and this
test lead 501 is
created okay now here you can see this
is assigned to yeah lead assignment Rule
now it is
working so if you see here lead is
assigned to test user okay so I already
told you like uh when I was creating
lead from that new button so that
checkbox I don't know why it is not
coming if we enable that checkbox so at
the time of lead creation from this
internal Salesforce that also uh will
initiate the lead assignment rule so
here this lead is assigned to this test
user why so because amount is not
populated and if amount is less than
100K it will be assigned to this user
that is happening so it means lead
assignment rule is working but if if we
create a lead from the Salesforce or
through this new button then it is not
working because that checkbox is not
coming which comes here so you can try
in your or maybe it will be available
otherwise I will explore and in the next
session I will cover up that like if you
if you create this lead from here how
lead assignment should work and U autor
response rule also um I I will test it
because that is also not working so uh
these two things I will again demo in
the next session right but lead
assignment rule is working from web to
lead so for web to lead you need to
generate the HTML
code from here from web to lead option
you can generate it and for testing
purpose you can open any HTML editor and
form will be available you can just uh
execute the code and then you will see
the results so after submission you you
can come onto the all open leads list
View and here you will see an entry so
before submission check number of
Records then after submission you will
see one entry will be available here and
basis on the lead name you will be able
to identify so for in my case it was
number 17 also you can just sort them on
last modified date so that lead will be
coming on
top okay so this is all about lead
management so if you like the session
whatever knowledge I shared with you
please like the video so that uh you can
showcase some gratitude you this is the
only request from you and I hope you uh
you like the session I see few comments
are available in the
chat okay rupes is saying we need to add
the checkbox from the layout
activating okay okay let me see rupes is
saying like that checkbox we can add
through the page layout so let me check
it so I'm just going to the
lead page layout
because it comes automatically as per my
knowledge but let's check from here
also no here we don't have any option
for
that okay no problem I will I will
explore that properly and then we'll
show you like why it is not coming so it
comes automatically but maybe this org
is having pre-built implement ation so
that's why something is happening so I
will I will clear those doubts in the
next session no
worries okay so thank you for watching
this session live those who joined and
those who are watching the recording
thanks to you as well so I will be
having few more sessions so uh like two
three sessions will be there which will
be based on product price book code code
template so few more objects are
available in the sales Cloud that you
need to know in in order to understand
everything about the sales
Cloud okay so thank you for watching the
session see you in the next session
thank you bye every
