Sync Salesforce contacts from ALM enrollment events

Developer ToolAPI IntegrationMarketingWorkatoCRMRecipe Tools

What it does

When an ALM enrollment event arrives via HTTP webhook, this automation searches Salesforce for related contacts and accreditation programs. It maps course codes in a lookup table and updates Salesforce records so enrollment data stays current across both systems.

Who it's for

Sales operations teams who need to keep Salesforce contacts and accreditation data synchronized with ALM enrollment events.

How teams use this

Keep Salesforce contacts current with ALM

When someone enrolls in an accreditation program in ALM, the contact record in Salesforce updates automatically with enrollment details. No manual entry is needed and both systems stay in sync.

Track course code changes across systems

The automation maps base course codes to delta codes in a lookup table so the team can see which accreditation programs changed. This helps track program updates without checking both systems.

Route enrollments by accreditation type

Add a condition to check the accreditation delta content code and route enrollments to different Salesforce queues based on program type. Only records with a delta code trigger the routing step.

Validate contact data before sync

Include a validation step that checks for invalid email addresses in the contact record before the update. Set up a notification to alert the team when enrollment data fails validation.

How it works

  1. Receive ALM enrollment event via webhook. An ALM enrollment event arrives in real time through an HTTP webhook with contact and program details for processing.
  2. Find related contacts in Salesforce. Search Salesforce for contacts matching the enrollment event using a SOQL query to locate the correct records.
  3. Fetch accreditation programs with filters. Search Salesforce for Accreditation Program Management records using a SOQL query with a WHERE clause to narrow results.
  4. Map base codes to delta codes. Loop through each Accreditation Program Management record and add entries to a lookup table that maps base course codes to delta course codes.
  5. Update enrollment records in Salesforce. Create or update Salesforce contact records with the enrollment data so Salesforce reflects the latest ALM information.