Send Driver Photo to GT from Salesforce
Recipe ToolsWorkatoCRMMarketingDeveloper ToolAPI Integration
What it does
When someone calls this automation, it searches Salesforce for a driver's photo and downloads it. The automation uploads the photo to GT, updates the contact record, and returns the result so the caller knows the sync completed.
Who it's for
Operations teams who need to sync driver photos from Salesforce to GT without manual uploads.
How teams use this
Sync driver photos on hire
Call this automation when a new driver is added to Salesforce so the photo uploads to GT right away. The contact record is marked and the team sees the sync happened in real time.
Bulk upload photos from a batch
Invoke this automation from a batch process in Salesforce so multiple driver photos upload to GT at once. The same steps run for each contact without manual intervention.
Add photo validation before upload
Include a check to confirm the photo meets GT requirements before the upload step runs. Only photos that pass the validation are sent to GT so bad images do not sync.
Notify team when sync fails
Set up a notification to alert the team when a photo fails to upload to GT so someone can investigate. The contact record shows the sync status so the team knows which photos need attention.
How it works
- Receive the function call. Someone calls this automation in real time with the contact details needed to find and upload the driver photo.
- Search for the driver photo. Search Salesforce for content document links linked to the contact so the photo file can be found and downloaded.
- Download the photo file. Download the photo from Salesforce when a content document link exists for that contact record.
- Upload photo to GT via HTTP. Send the photo to GT through an HTTP request so the driver record is updated with the image in the external system.
- Update the contact record. Mark the contact in Salesforce so the team knows the photo was uploaded to GT and the sync is complete.