Sync PB company IDs to Salesforce ID crosswalk

Recipe ToolsMarketingWorkatoDeveloper ToolAPI IntegrationData ParserUtilities

What it does

When a scheduled time arrives every 5 minutes, this automation retrieves company IDs from a lookup table and fetches matching Salesforce records. It compiles the crosswalk data into a CSV file and emails the list to someone on the team.

Who it's for

Sales operations teams who need to maintain an up-to-date mapping of company identifiers across systems.

How teams use this

Maintain a current ID mapping file

Run the sync every 5 minutes and email the CSV so the team always has the latest company ID to Salesforce ID crosswalk available.

Route the file to different teams

Change the email recipient to send the crosswalk to Finance or RevOps instead of Sales operations. The automation logic stays the same.

Add email addresses to the output

Include email from the lookup table in the CSV so the crosswalk also shows contact information for each company. Filter the lookup table to only companies with an email on file.

How it works

  1. Run every 5 minutes. This automation starts on a schedule, running every 5 minutes to keep the crosswalk current.
  2. Retrieve all company IDs. Fetch all entries from the lookup table so the automation has the complete list of company identifiers to match.
  3. Fetch Salesforce records for each company. For each company ID, send an HTTP request to Salesforce via Rest to retrieve the corresponding record and Salesforce ID.
  4. Compile and format the crosswalk. Compose a CSV file with the company IDs and their matched Salesforce IDs so the data is ready to share.
  5. Email the crosswalk file. Send the CSV attachment to someone on the team so they have the latest mapping without manual work.