Senior Application Developer

loc: Maynooth, ON K0L 2S0tel: 613-553-0960email: rgsamways@gmail.com
Robin Samways

$ Farpost Dispatch

A Salesforce-native partner network — Experience Cloud, Apex, and an AI-assisted matching service, built to prove Salesforce skills from inside the platform, not just integrating with it.

## OVERVIEW


This is a separate, illustrative system, not Farpost’s real dispatch engine. The actual farpost.ca product has a mature, live, twice-rebuilt dispatch system running on MongoDB, FastAPI, and Twilio, already generalized for reuse across future request types. It needs nothing from this piece, and this piece touches none of it — no shared code, no shared data, no shared infrastructure. Farpost Dispatch (the portfolio piece below) borrows only the founding story for narrative color: the same rural adjuster who couldn’t find anyone to work a claim, reused here to motivate a parallel system built specifically to demonstrate Salesforce/Experience Cloud/Apex skills to an interviewer.

What’s actually built: a real Salesforce DX project, deployed to a Developer Edition org via the Salesforce CLI, not configured only through clicking around Setup. Professionals (real Partner Community-licensed portal users) see their own matching open jobs and claim them directly; an Apex service ranks eligible candidates for a job and calls Anthropic for a short natural-language reason per recommendation — the callout originates from inside Salesforce this time, the mirror image of Credential Flow’s Python-calls-Salesforce direction.

## OBJECT_MODEL


Professionals are standard Salesforce Contacts extended with four custom fields (Service Region, Certifications, Availability Status, Rating), and Jobs are a new custom object, Job__c. See Object Model for the full field list.

## ARCHITECTURE


pieces/farpost-dispatch-sf/ is a real, git-tracked Salesforce DX project deployed via the Salesforce CLI, with concurrency-safe job claiming and a Partner Community portal. See Architecture for the full explanation of the source-driven, git-tracked Salesforce DX/Apex build.

## AI_MATCHING


JobMatchingServicequeries eligible Contacts and calls Anthropic’s API via a Named Credential for a ranked, reasoned shortlist — the callout originates from inside Salesforce this time, the mirror image of Credential Flow’s Python-calls-Salesforce direction. See AI Notes for the full mechanic and its contrast with Credential Flow’s AI feature.

## TECH_STACK


LayerChoiceWhy
PlatformSalesforce DX, ApexApex only runs inside Salesforce — there’s no question of whether this belongs in this site’s shared Python api/.
PortalExperience Cloud, Partner CommunityReal, free, unused Partner Community licenses confirmed directly in the Developer Edition org — a genuine external-user login, not a Guest User workaround.
AI calloutNamed Credential → Anthropic APIThe current recommended Salesforce pattern for a secure external callout — avoids the anti-pattern of a key sitting in a Custom Metadata Type field in plaintext.
ConcurrencySOQL FOR UPDATE row lockingA genuinely correct claim-concurrency pattern, not last-write-wins.
DeploymentSalesforce CLI (sf project deploy start)Every object, field, class, and component is real, hand-authored source in this repo — not configuration that only exists by clicking through Setup.

## NO_LIVE_DEMO


No live demo widget or login link here on purpose — exposing a free-tier Salesforce org’s Partner Community login publicly risks abuse and governor-limit exhaustion for no real benefit. See Design Notes for the full reasoning, and Setup Gallery for real configuration screenshots once captured.

Feedback on this page