
SAlesforce Problem solving
- or -
Post a project like this338
€97(approx. $112)
- Posted:
- Proposals: 6
- Remote
- #4278547
- PRE-FUNDED
- Awarded
#1 Salesforce CRM Specialist | 18xCertified Salesforce Architect | Integration Expert

Web & Mobile App Development | Digital Marketing | Salesforce, Microsoft & Google Partner

4x Salesforce Certified Professional & Zoho CRM Specialist, Business Analyst

59666110749830651038117325262540885240653





Description
Experience Level: Expert
Estimated project duration: 1 day or less
Problem
Consider the following problem: Our sales organization uses Salesforce. It also frequently uses an external system (call it “Foobar”) in which the sales reps search for specific contacts. Once they have assembled a list of contacts, they request Foobar to inject these contacts into Salesforce as Leads. Foobar uses the sales rep’s credentials via OAUTH to authenticate to Salesforce and injects the Leads via the Salesforce API. The list may be as short as one Lead or as long as several hundred Leads.
Our Marketing team wants these leads to be grouped via Salesforce Campaign records. That is, all the leads injected as a list by the sales rep from Foobar in a short period should be grouped, even if they arrive in more than one batch.
Instructions
Please set up a Salesforce instance (a Trailhead playground or a standard developer org) where you implement this using Apex and give us access to this instance.
Your code should:
Respond to insertions of Leads.
Recognize leads injected by Foobar based on LeadSource = “Foobar”.
Whenever the sales rep requests Foobar to inject one or more leads into Salesforce, recognize that a new list is being inserted and create a new Campaign to group them. Leads inserted within a short period should be part of the same campaign. The campaign should have a name that includes the string “Foobar”, the sales rep’s name, and a representation of the time the list was injected. All the Leads in the list should be associated with the Campaign via CampaignMember records.
Be covered by unit tests.
Follow Apex developer best practices.
As this is a proof-of-concept, you are not expected to solve all possible operational and scaling issues now. However, please note in the code why you decided to take a shortcut or how it can be addressed in the future as a TODO item for the code reviewer. You will also be asked for a plan to address these concerns in your delivered project .
Decide which abstractions are essential and which can be added later to meet these time constraints. It is also perfectly acceptable to submit a partial solution. Of course, the more complete the implementation, the better the advantage over partial ones.
I will need explanation for each code and also a video Q&A Session afterwards to explain the solution.
Consider the following problem: Our sales organization uses Salesforce. It also frequently uses an external system (call it “Foobar”) in which the sales reps search for specific contacts. Once they have assembled a list of contacts, they request Foobar to inject these contacts into Salesforce as Leads. Foobar uses the sales rep’s credentials via OAUTH to authenticate to Salesforce and injects the Leads via the Salesforce API. The list may be as short as one Lead or as long as several hundred Leads.
Our Marketing team wants these leads to be grouped via Salesforce Campaign records. That is, all the leads injected as a list by the sales rep from Foobar in a short period should be grouped, even if they arrive in more than one batch.
Instructions
Please set up a Salesforce instance (a Trailhead playground or a standard developer org) where you implement this using Apex and give us access to this instance.
Your code should:
Respond to insertions of Leads.
Recognize leads injected by Foobar based on LeadSource = “Foobar”.
Whenever the sales rep requests Foobar to inject one or more leads into Salesforce, recognize that a new list is being inserted and create a new Campaign to group them. Leads inserted within a short period should be part of the same campaign. The campaign should have a name that includes the string “Foobar”, the sales rep’s name, and a representation of the time the list was injected. All the Leads in the list should be associated with the Campaign via CampaignMember records.
Be covered by unit tests.
Follow Apex developer best practices.
As this is a proof-of-concept, you are not expected to solve all possible operational and scaling issues now. However, please note in the code why you decided to take a shortcut or how it can be addressed in the future as a TODO item for the code reviewer. You will also be asked for a plan to address these concerns in your delivered project .
Decide which abstractions are essential and which can be added later to meet these time constraints. It is also perfectly acceptable to submit a partial solution. Of course, the more complete the implementation, the better the advantage over partial ones.
I will need explanation for each code and also a video Q&A Session afterwards to explain the solution.

Radu S.
100% (12)Projects Completed
14
Freelancers worked with
11
Projects awarded
29%
Last project
30 Mar 2025
Romania
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
There are no clarification messages.
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies