Skip to main content

#Leads2 diskutieren mit

We have a client who is looking to run a number of marketing campaigns across LinkedIn, Instagram and Facebook. 

 

When someone signs up to their newsletter via one of the ads, they want the lead to be created in Salesforce, but they also want to be able to identify which specific ad or campaign the lead originated from. 

 

Our current thinking is that each ad would direct users to a web form on the client's website, which would then submit the information into Salesforce using Web-to-Lead. However, we're not 100% sure of the best way to track which ad the submission came from and pass that information into Salesforce.

Could someone advise on the best approach? Alternatively, if there's a better way of achieving this with little to no additional cost, we'd really appreciate any recommendations.

 

Thanks!  

 

 

#Web-to-lead  #Webform Values  #NPSP  #Leads  #UTM Parameters  #Automation

1 Antwort
  1. 28. Juli, 23:57

    Hi Philippa, a way to tell which ad a lead came from is UTM parameters captured via hidden fields on your Web-to-Lead form, plus a hidden Campaign Id field to auto link leads to a specific Campaign. This should be of no additional cost and is low complexity.

0/9000

How would you...?

 

I have a spreadsheet containing contacts, leads, and people new to our ecosystem whom I need to add to a campaign.  On the spreadsheet there is no indication of who is a lead, contact or new.  There IS an email address for most people.  When I tried to bulk load, my leads hit some duplicate rules.  

 

If they exist, I want to still add the existing member to the campaign.  I do not want to create leads if a contact exists, and I want to create a lead if NONE exist.  

 

How would you tackle?  Is there a way I am not thinking of that I can take the spreadsheet and determine before loading who exists, and if so as what type of object record?

2 Kommentare
  1. 27. Jan., 18:50

    The dummy field workaround works but it's a lot of manual steps for what should be a simple matching operation. The bigger problem is that Salesforce treats matching as exact-or-fail. 

     

    I'd recommend using a semantic matching tool. Sharing the one I'm building:

    everyrow.io/merge if you'd like to test it out free the next time you run into this.  Upload your spreadsheet and your Salesforce export, and the tool returns a cleaned file ready for Dataloader with the IDs filled in. It understands that "Bob Smith, VP Sales at Acme" and "Robert Smith, Sales VP, Acme Corporation" are likely the same person. And then for ambiguous cases like two different people with the same name, it will flag these for review. 

0/9000

Just posting this update here because I could not find a recent definitive answer online to this... 

 

You currently cannot add the standard '

Gender Identity

' picklist field to a web to lead form - not even if you have the right API version and it is accessible to your Profile on the Lead and Contact objects.  

SF Support reported back to me today: 

 

"

Upon checking this internally with my team and tried the same in my demo org.

found that Gender Identity & Pronoun Fields(Standard fields) aren't supported yet for Web to Leads. It is working as designed & that's why this field is not listed in the "Available Fields" list in Setup-->Web-to-Lead when you are generating HTML for a new web-to-lead form."

 

The work-around suggested is the same one you need to implement for Birthdate for Web to Lead - create a custom field, and then a Flow to update the standard field when your custom field gets populated. Then you can map the standard field to the standard Contact field in your Lead mapping setup.  

 

Idea posted here , please upvote!

 

:) 

 

#Web-to-lead  #Leads

0/9000

Greetings All.

I am working on a Hand On Challange (Create and Convert Leads) & this error popped up:

 "ExampleTrigger: execution of AfterInsert caused by: System.EmailException: SendEmail failed. 

First exception on row 0; first error: INVALID_ID_FIELD, ID is invalid or you do not have access to the record.: [toAddresses, Your email address] Class.EmailManager.sendMail: line 13, column 1 Trigger.ExampleTrigger: line 5, column 1". 

I don't understand the issue. Please help?

 

Greetings All.I am working on a Hand On Challange (Create and Convert Leads) & this error popped up:

 

#Leads  #Trailhead Challenges

8 Kommentare
  1. 12. März 2024, 20:59

    @Junie ElieElie

    It's great news. Glad was to help you. 

    You can mark my helpful answer as a "Accepted Answer" it's similar to "Best Answer". 

0/9000

Hi! I'm curious how other people manage multiple emails for leads? We have people filling out forms with different emails, same name and it is triggering our duplication rules thus a new lead isn't being created, which I want as I don't want multiple leads for the same person. However, how do I add all these various emails into one lead record?

 

 

 

#Sales Cloud

2 Antworten
  1. 1. März 2024, 07:07

    Here are approache to manage multiple emails for leads in Salesforce, preventing duplicate leads and ensuring all contact information is captured:

    Utilize Duplicate Management Rules and Merge Function

    1. Adjust Duplicate Rules: Modify your existing duplicate rules to allow leads with the same name but different emails.
    2. Merge Duplicates: After multiple leads are created with the same name and different emails, use the Merge Leads feature. This allows you to combine these leads into a single record, preserving all associated information like emails.
    3. Workflow Automation: Consider creating a workflow that automatically merges duplicate leads based on specific criteria (e.g., name and email combination).

0/9000

Hi,

 

I have a queue with two users, everytime a lead from X country is created, it is assined for this queue.

 

How can I reassign it to the queue's user A and next created lead to user B ?

 

#Salesforce Admin  #Saleforce Administrator  #Leads  #Lead Assignment Rules

3 Antworten
0/9000
Hello, I'm trying to build a lead scoring formula based on age of a lead

I've created the below formula but am getting the error:  Incorrect parameter type for function 'IF()'. Expected Text, received Number. (I've tried this as a CASE formula and got a syntax error highlighting <=)

IF(Lead_Age__c,<=5 and >=0,"10",

IF(Lead_Age__c,<=10 and >=6,"6",

IF(Lead_Age__c,<=35 and >=11,"9",

IF(Lead_Age__c,<=60 and >=36,"4",

IF(Lead_Age__c,<=90 and >=61,"2",

IF(Lead_Age__c,>=91,"8",

null))))))

Basically the formula is meant to say for the first line for instance if the lead age is between (or equal) 0-5 then the score will be 10.

Not sure why an IF formula can't produce a number so any help would be appreciated.

Thanks,
3 Antworten
  1. 8. Sept. 2021, 03:25

    Hi  Wayne Gladman,

    Try this formula,

    IF((Lead_Age__c <= 5 && Lead_Age__c>=0), 10,  IF( (Lead_Age__c <= 10  && Lead_Age__c >=6) , 6,  IF((Lead_Age__c <= 35 && Lead_Age__c>= 11), 9,  IF((Lead_Age__c <=60 && Lead_Age__c >= 36), 4,  IF((Lead_Age__c <= 90 && Lead_Age__c >= 61), 2,  IF(Lead_Age__c >=91, 8, null) ) ) ) ) )

    If this helps,please mark it as best answer

     

    Thanks.
0/9000

We have an ongoing external email campaign that directs potential leads to our website.  If they engage, they are considered a lead and are sent to SF.  But, some already exist in our system so are being caught by the lead duplication rules, and the lead is not captured in SF.   Is there a way that I can have the system recognize this as a duplicate and add the new Campaign to the old lead, and the status reset to new?   BTW, we only use salescloud. #Sales Cloud #Campaign Members #Leads

5 Antworten
  1. 2. Nov. 2023, 18:07

    Hi @Anne Kuczynski,

     

    I see that at the moment your duplicate rule alerts and/or blocks the creation of the lead, so it doesn't come through. Are you able to identify via a certain field, all the leads that are part of this email campaign? If that's the case, you could create another duplicate rule (using the same matching rule) that does not alert nor block of the duplicate - it will only create a "Duplicate Record Set" Record with its child "Duplicate Record Item" records. You will need to create a filter in this duplicate rule so that it only applies to the relevant leads (and you will also have to filter the existing duplicate rule so that it doesn't apply to these leads, as you want these to pass through).

     

    At the same time, you need to create a record-triggered flow on the "Duplicate Record Set" object, and in the Condition set that "Duplicate Rule ID" is equal to the ID of the new Duplicate Rule that you just created before, so that the flow only triggers for this case. In the flow you would then have to do a Get records to obtain the "Duplicate Record Items" for this Duplicate Record Set, so that you can figure out the Ids of the Leads (one will be the old Lead and one will be the new one, you can check that by CreatedDate. Once you have identified the old Lead Id, you can do the flow actions to assign the current campaign to this lead and reset the status to new, and finally add a delete element to delete the new Lead that just got created, so that only the old lead remains.

     

    Hope this helps, let me know if you need clarification!

0/9000
2 Antworten
  1. 27. Dez. 2023, 14:25

    Sorry, 

     

    I think I didn't express myself well. The validation rule is necessary, but this massage in front of the real message was not supposed to be appearing. I'd like to remove it and let only the message for de user. 

     

    The massage:

     

    "ConvertedLead failed. First exeception on row 0; first error: FIELD_CUSTOM_VALIDATION_EXCEPTION. Erro de validação em contato:"

     

    if not possible to remove the message. I'd like to understand why.

     

    Thanks for now

0/9000
6 Antworten
  1. Prabhat Mishra (Salesforce) Forum Ambassador
    13. Nov. 2023, 12:27

    Hi @Arnaud Fournier,

     

    Please access Data Manager > Connections > SFDC_LOCAL > Edit Objects. You will be able to check if the Created Date is selected or not.Hi , Please access Data Manager > Connections > SFDC_LOCAL > Edit Objects. You will be able to check if the Created Date is selected or not.

0/9000