Justin Clarke, Developer in Toronto, ON, Canada
Justin is available for hire
Hire Justin

Justin Clarke

Verified Expert  in Engineering

Salesforce Developer

Toronto, ON, Canada
Toptal Member Since
April 19, 2021

Justin is a Salesforce developer, architect, and consultant with 16 years of experience translating business requirements into technical solutions and exception handling, logging, and reporting. His specialties include business process automation through Apex triggers and flows, async processing through Queueable, Batch Apex, Future, Lightning Web Components (LWC), and API integrations. Justin designs with the end-user experience in mind and excels at creating and implementing best practices.


The Strategic Coach
Visual Studio Code (VS Code), Salesforce, Salesforce Apex, Apex, Batch Apex...
TicketLabs Inc.
Salesforce, Salesforce API, Intercom, Mailshake, Segment...
Leading Global Engineering Firm
Salesforce, JavaScript, HTML, CSS, Lightning Components, Salesforce Apex...




Preferred Environment

MacOS, Visual Studio Code (VS Code), GitHub

The most amazing...

...thing I've developed is a queueing system for running dozens of different async processes, logging errors, and with automatic retry support.

Work Experience

Lead Salesforce Developer

2015 - 2024
The Strategic Coach
  • Managed a team of six developers, administrators, and analysts by providing coaching, training, best practice knowledge shares, code reviews, and project management.
  • Developed solutions for several challenging problems using Apex (Batch Apex, Queueable, and Future) and Lightning Web Components (LWCs).
  • Created code snippets and best practices for the most common code patterns in LWCs to increase coding efficiency, minimize errors, and include proper error-handling procedures.
  • Built a standardized trigger handler pattern and helper class to control the execution of business logic and a code pattern to execute the business logic when necessary to minimize governor limit usage.
  • Rearchitected the trigger code across dozens of objects to follow best practices, maximize performance, and log exceptions with 100% unit test coverage. Created best practices and snippets for the team to follow.
  • Upgraded heavily customized organization from Salesforce Classic to Lightning, built several custom Lightning web components, customized page layouts, created custom actions, and planned user training, rollout, and support.
  • Implemented Salesforce High Velocity Sales and automated cadence assignments to improve sales productivity.
Technologies: Visual Studio Code (VS Code), Salesforce, Salesforce Apex, Apex, Batch Apex, Queueable Apex, Salesforce Lightning, Lightning Components, Aura, Flow, Process Builder, HTML, CSS, JavaScript, Lightning Design System, Salesforce SOQL/SOSL, Test-driven Development (TDD), SOQL, Agile, Agile Project Management, Apex Triggers, Salesforce API, CSS3, HTML5, Front-end, Front-end Design, Front-end Development, Salesforce REST API, Certified Salesforce Administrator, Salesforce Consultant, Visualforce, Salesforce Platform Events, REST APIs, Acceptance Testing, Messaging, Conga Composer, Lighting, Third-party Integration, Integration, B2B Sales Pipeline, Salesforce Marketing Cloud, DevOps, Git, Salesforce Sales Cloud, SLDS

Salesforce Consultant

2023 - 2023
TicketLabs Inc.
  • Reviewed, standardized, and cleaned up picklists across Leads, Contacts, Accounts, and Opportunities.
  • Overhauled the page layouts, related lists, and app-build pages across Leads, Contacts, Accounts, and Opportunities.
  • Integrated Salesforce.com with Intercom, Mailshake, Vitally, and Segment.
  • Created automated processes for assigning ownership, email alerts, and task type assignments.
  • Created back-end documentation for automation, UI setup, and integrations.
Technologies: Salesforce, Salesforce API, Intercom, Mailshake, Segment, Third-party Integration, Integration, Salesforce Sales Cloud

LWC Elite Engineer

2022 - 2023
Leading Global Engineering Firm
  • Leveraged Copado's advanced deployment capabilities to streamline and manage a sophisticated deployment process across three Salesforce orgs, ensuring efficient and error-free check-ins, promotions, and deployments.
  • Created reusable module components and guided best practices, training, and support to other developers.
  • Built a custom interface for viewing skills, feedback, celebrations, priorities, and performance reviews across a manager's team members with filtering, grouping, sorting, and record previews.
  • Developed a custom interface for managing the feedback and the back-and-forth process between a manager, additional reviewers, and the reviewer during an annual performance management process.
  • Made a custom interface for searching and creating succession plans and identifying potential successors, emergency replacements, and the skills necessary to perform the job.
  • Created a custom interface for employees to display their skills and proficiencies on their profiles.
Technologies: Salesforce, JavaScript, HTML, CSS, Lightning Components, Salesforce Apex, Salesforce Cloud Flow, Apex, Acceptance Testing, Lighting, Third-party Integration, Integration, Copado, DevOps, Git, Salesforce Sales Cloud, SLDS

Lead Salesforce Developer

2015 - 2023
  • Automated sales/marketing business processes and supported the overall Salesforce environment.
  • Managed integrations with third-party systems such as Pardot, Recurly, Typeform, Extole, and internal databases.
  • Created a custom Lightning Web Component (LWC) interface for GDPR request processing.
  • Created a custom LWC interface for performing Account Ownership transfers.
  • Implemented complex round-robin logic for leads, accounts, and opportunities.
  • Implemented automation for annual subscriptions and upgrades.
  • Migrated workflow rules/process builders to record-triggered flows.
Technologies: Salesforce, Salesforce API, Salesforce Apex, Salesforce SOQL/SOSL, Salesforce Cloud Flow, Apex, Visualforce, Salesforce Platform Events, REST APIs, Acceptance Testing, Messaging, Lighting, Third-party Integration, Integration, B2B Sales Pipeline, DevOps, Git, Salesforce Sales Cloud, SLDS

Manager, Global Research and Data Systems

2003 - 2014
Virtual Causeway
  • Led the market research and technology consulting departments, generating over $1 million in revenue per year.
  • Managed a team of three employees covering Salesforce.com admin, development, market research programming, and project management.
  • Automated dozens of business processes to significantly increase user productivity using Apex triggers, workflow rules, and process builder.
  • Implemented Salesforce.com and marketing automation solutions both internally and for external clients.
  • Architected and managed an internal data warehouse with over 2 million contacts.
  • Implemented and managed data integrations between Salesforce.com and InsideSales.com, Campaign Monitor, Constant Contact, Data.com, and other Salesforce.com instances.
  • Developed an internal intranet application for project management and time tracking using PHP and MySQL.
Technologies: Salesforce, Salesforce Apex, PHP 5, MySQL, HTML, CSS, JavaScript, Apex, SOQL, Salesforce SOQL/SOSL, Apex Triggers, Test-driven Development (TDD), Salesforce API, CSS3, HTML5, Salesforce REST API, Certified Salesforce Administrator, Salesforce Consultant, Visualforce, Acceptance Testing, Conga Composer, Third-party Integration, Integration, B2B Sales Pipeline, Salesforce Sales Cloud

Queueing System for Async Processes

A custom object and custom metadata-driven queueing system for managing the execution of Apex-based asynchronous processes (Queueable, Batch Apex, Future).

• Every async process is logged in a custom object and any exceptions are captured
• Exception messages are checked for certain keywords that indicate a *temporary* error has occurred (record locking, API timeout, and so on) and are automatically retried with an increasing delay between each retry
• The system automatically chooses which async process is most appropriate based on the number of jobs to process: Batch Apex when there are many jobs, self-chaining Queueables for fewer jobs, Future for web callouts, and for jobs that are safe to run in parallel
• Each user has their own "queue" and jobs are executed "in order," to maintain the proper order of operations
• Custom metadata is used to control the settings that govern the behavior of the queuing system
• Jobs can be "bulkified" where multiple jobs of the same type can be run together in a bulk-safe manner to speed up processing and minimize governor limits

Metadata-driven Custom Rollups for Any Field

A metadata-driven custom solution for performing child-to-parent rollup summaries on any field using Master-Detail, Lookup, or custom relationships.

• The relationship between child and parent can be a Master-Detail, Lookup, or any custom field
• The rollup rules are stored in custom metadata
• Rollups are processed asynchronously using Queueable or Batch Apex
• Exceptions/errors such as UNABLE_TO_LOCK_ROW are automatically retried
• Rollups can be batched into smaller batch sizes to minimize governor limit exceptions
• Rollups use aggregation queries when possible or query-driven calculations when not possible (such as when aggregating formula fields)
• Rollups only recalculate when fields that are part of the calculation are changed to minimize recalculations

Lightning Interaction Log

I created an "interaction log" for Lightning to customize and speed up activity logging.

• Type-ahead suggestions for the subject based on a list of suggestions that are profile-specific and controlled by custom metadata
• A dropdown of type values that are profile-specific and controlled by custom metadata
• Custom permission is assigned via a permission set that grants the ability to assign activities to other owners
• After logging an activity, the user is presented with a list of "Next Actions" that might want to take, including 1) Log a future open activity, 2) Set a "Call Me Back" date, 3) Send an email, 4) Reassign lead to a queue/other users
• Uses the "Unsaved Changes" component to prompt the user to finish logging their call if they attempt to close the tab without saving
• Set appropriate default field values to speed up data entry

Zoom API Integration

I created a Lightning web component that schedules Zoom meetings and logs activities when the meeting is completed successfully.

• LWC for creating a scheduled Zoom meeting with the running user's Zoom account
• Associates the meeting with a lead/contact
• Monitors completed Zoom meetings to log an activity associated with the lead/contact along with the duration of the meeting, for inclusion in daily "talk time" reports

Pardot API Integration

I created a Pardot API integration library in Apex for performing API callouts to Pardot from Salesforce for business processes that were not supported by the Pardot Sync Connector.

• Performs opt-ins based on data input from a flow in Salesforce
• Updates lead/contact records with list-based membership information
• Nulls values in Pardot when nulled in Salesforce

Special notes:
• Authenticates to Pardot using OAuth/SSO
• Refreshes access token when expired
• Settings are stored in custom metadata

Custom Round-robin Lead/Contact Assignment

Custom logic that executes a round-robin lead/contact assignment when particular business rules are met.

Special Requirements:
• Users who are "full" (have the maximum number of leads allowed already) are excluded
• Sales managers and administrators need to be able to manage the addition, pausing, and removal of users from round robins through clicks, not code

• Custom Apex trigger code was written to implement the complex business logic that triggers the assignment
• Custom Apex code was written to identify which round-robin group applies (based on team and region), find the next user in the round-robin, validate they are not "full," assign the record to the new owner, and log an activity for auditing purposes
• Custom objects were created to store the list of assignment groups and manage the users that belong to each group, as well as store the user's current and maximum number of leads/contacts
• Custom Apex trigger code was written to recalculate a user's current number of leads/contacts whenever an ownership transfer occurs. This recalculation is done asynchronously so as not to slow down the ownership transfer transaction and to manage governor limits

Prefiltered Related Lists Using Enhanced Lightning Grid

Lightning Records Pages were customized using Enhanced Lightning Grid to separate activity data into separated related lists with filters pre-applied to the data, and shown in separate labeled tabs.

• Activity Highlights: only the most important activities are visible (based on type)
• Activity History: all activities
• My Activities: the running user's activities
• Open Activities: upcoming activities
• Marketing Activities: email opens and clicks from Pardot marketing emails

Special notes:
• Improvements were made to the standard apex code that comes with Enhanced Lightning Grid to make it easier to deploy new ELGs
• Reusable static methods were created to build the SOQL queries that support the user-provided sorting and filtering
2001 - 2005

Bachelor's Degree in Business Administration

Wilfrid Laurier University - Waterloo, ON, Canada


Salesforce Certified Pardot Specialist



Salesforce Certified Platform App Builder



Salesforce Certified Platform Developer II



Salesforce Certified Platform Developer



Salesforce Certified Sales Cloud Consultant



Salesforce Certified Administrator



Salesforce API, REST APIs, Salesforce REST API


Batch Apex, Flow, Process Builder, Salesforce Sales Cloud, Pardot, Lightning Design System, Conga Composer, Salesforce Marketing Cloud, Git, GitHub, Zoom


Lightning Components, Visualforce


HTML, Apex, SOQL, HTML5, PHP 5, CSS, JavaScript, CSS3


Test-driven Development (TDD), Acceptance Testing, Agile, Agile Project Management, DevOps


Salesforce, Salesforce SOQL/SOSL, MacOS, Visual Studio Code (VS Code), Copado

Industry Expertise





Salesforce Apex, Queueable Apex, Salesforce Lightning, Salesforce Platform Developer I Certification, Salesforce Certified Platform App Builder, Salesforce Platform Developer II Certification, Certified Salesforce Administrator, Salesforce Certified Pardot Specialist, Apex Triggers, Front-end, Front-end Design, Salesforce Consultant, Salesforce Cloud Flow, Salesforce Platform Events, Lighting, Third-party Integration, Integration, B2B Sales Pipeline, Computer Science, Sales, Aura, API Integration, Messaging, SLDS, Front-end Development, Intercom, Mailshake, Segment

Collaboration That Works

How to Work with Toptal

Toptal matches you directly with global industry experts from our network in hours—not weeks or months.


Share your needs

Discuss your requirements and refine your scope in a call with a Toptal domain expert.

Choose your talent

Get a short list of expertly matched talent within 24 hours to review, interview, and choose from.

Start your risk-free talent trial

Work with your chosen talent on a trial basis for up to two weeks. Pay only if you decide to hire them.

Top talent is in high demand.

Start hiring