Sync Salesforce records to RequestBin every 5 minutes

Recipe ToolsMarketingCRMData ParserUtilitiesDeveloper ToolAPI Integration

What it does

When the clock triggers every 5 minutes, this automation queries Salesforce for records using SOQL. For each record, it parses the JSON and sends the data via HTTP to RequestBin.

Who it's for

Data and analytics teams who need to export Salesforce records to an external endpoint on a schedule.

How teams use this

Monitor Salesforce data in real time

Export Salesforce records every 5 minutes to RequestBin for testing, debugging, or monitoring. The team can inspect the payload without manual exports.

Validate queries before production

Use RequestBin to capture and review the JSON output from different SOQL queries. Adjust the query in Salesforce until the data matches expectations.

Filter records by status before sending

Add a condition to the SOQL query so only records with a specific status are sent to RequestBin. This reduces noise and focuses on the data that matters.

Route data to multiple endpoints

Include additional HTTP steps that point to different RequestBin endpoints or external services. The same Salesforce records now feed multiple systems.

How it works

  1. Start on a 5-minute schedule. The automation runs every 5 minutes to keep the external system in sync with Salesforce data.
  2. Query Salesforce with SOQL. Search Salesforce for records matching the specified criteria so only relevant data moves forward to RequestBin.
  3. Parse JSON for each record. Convert each Salesforce record into JSON format so the HTTP request can send it to RequestBin without errors.
  4. Send HTTP request to RequestBin. Post the parsed JSON to RequestBin so the external system receives the Salesforce data on schedule.