Salesforce Apex code

Upwork β€’ , US β€’ Remote

$20 - $80 / HOUR Apply Now
Posted on: 26th May, 2025
Employment Type: Contractor

Job Description

πŸ”§ Salesforce Apex Developer Needed for Automating Contact Blacklist Logic Based on Engagement Activities

Overview:

We are looking for a Salesforce Apex developer to help us automate blacklisting of contacts based on recent activity sources. This is a sandbox-first implementation and will involve writing Apex logic to evaluate user engagement via tasks and then update a custom field on the Contact object accordingly.

Why this is important:

Our SDR (Sales Development Representative) team uses an internal tool named Sprouts for outreach. However, when other teams engage with the same contacts using other platforms, it leads to duplicate conversations and confusion. This automation will help avoid outreach collisions by marking contacts as blacklisted when engagement is happening from outside the Sprouts tool.

🎯 Project Goal

Create an Apex-based logic that checks last 5 days of Task activities for a Contact and updates a custom checkbox field Is_Blacklisted__c based on whether the outreach was done via Sprouts or not.

🧠 Logic Description

The logic will evaluate the Task subject lines for each Contact in the last 5 days. Activities with "Sprouts" in the subject will be considered internal (valid), and anything else will be considered external (risky for duplicate outreach).

Blacklisting Rules:

ConditionBlacklist Contact?

No recent activity at all ❌ No

Only Sprouts activities ❌ No

Mix of Sprouts and non-Sprouts activities βœ… Yes

Only non-Sprouts activities βœ… Yes

The logic should update a custom checkbox field Is_Blacklisted__c on the Contact object based on this evaluation.

Responsibilities

  • We are looking for a Salesforce Apex developer to help us automate blacklisting of contacts based on recent activity sources
  • This is a sandbox-first implementation and will involve writing Apex logic to evaluate user engagement via tasks and then update a custom field on the Contact object accordingly
  • However, when other teams engage with the same contacts using other platforms, it leads to duplicate conversations and confusion
  • This automation will help avoid outreach collisions by marking contacts as blacklisted when engagement is happening from outside the Sprouts tool
  • The logic will evaluate the Task subject lines for each Contact in the last 5 days
  • Activities with "Sprouts" in the subject will be considered internal (valid), and anything else will be considered external (risky for duplicate outreach)
  • Only non-Sprouts activities βœ… Yes

Requirements

  • Create an Apex-based logic that checks last 5 days of Task activities for a Contact and updates a custom checkbox field Is_Blacklisted__c based on whether the outreach was done via Sprouts or not
  • No recent activity at all ❌ No
  • The logic should update a custom checkbox field Is_Blacklisted__c on the Contact object based on this evaluation
Upwork

Upwork

Technology

Job Type

Contractor

Loading...

Loading...

AI Cover Letter Generator

Generate a Tailored Cover Letter!

Our AI will analyze your profile and create a personalized cover letter that highlights your relevant skills and experience.

Ready to Apply?

Click the button below to start your application process.

Related Jobs

beBee Careers

1 week ago

Full–time

Salesforce Developer Position

COWMANAGER B.V.

Fulltime

Salesforce Administrator