Sync contacts from REST API to Coax batch

Recipe ToolsMarketingDeveloper ToolAPI Integration

What it does

When the clock triggers every 5 minutes, this automation fetches contacts from a REST endpoint and processes each one. It parses phone numbers for contacts with a mobile phone or email, and logs errors without retrying.

Who it's for

Data and analytics teams who need to keep contact records in sync between REST endpoints and Coax on a regular schedule.

How teams use this

Sync contacts from REST to Coax regularly

Fetch contacts from a REST API every 5 minutes and parse phone numbers in Coax for those with mobile or email data. The batch process keeps both systems aligned without manual intervention.

Route contacts by phone presence

Process contacts through Coax only when a mobile phone or email exists, filtering out incomplete records. This ensures downstream systems receive validated contact data with required fields.

Monitor sync errors without blocking

Catch parsing errors in Coax and log them for review without stopping the batch or retrying failed records. The automation continues processing remaining contacts in the array.

How it works

  1. Trigger every 5 minutes. The automation runs on a 5-minute interval to check for new or updated contacts from the source system.
  2. Fetch contacts from REST endpoint. Call the REST API to retrieve the contact list and receive an array of contact records ready for batch processing.
  3. Parse phone for each contact. For each contact with a mobile phone or email present, parse the phone number using Coax and create a phone variable. Errors are logged without retry.