Sync FreshSales accounts to Module via Rest

UtilitiesDeveloperAPI

What it does

When the scheduled interval arrives, this automation fetches modified sales accounts from FreshSales through a Rest request. For each account updated in the last hour, it sends an email notification so the team stays informed of recent changes.

Who it's for

Sales operations teams who need to monitor FreshSales account updates without manual checks.

How teams use this

Monitor FreshSales account changes hourly

Run this automation every hour to fetch accounts updated in the last hour and email the team. The team gets timely notifications without logging into FreshSales.

Extend monitoring to include contacts

Add a second loop to also check FreshSales contacts updated in the last hour and include them in the email. This requires adding a contacts endpoint to the Rest request.

Route updates to different teams

Modify the email step to send to different team addresses based on account region or status. Only the email recipient logic changes.

How it works

  1. Run on a specified interval. This automation runs on a schedule you set, such as every hour or daily, to check for updates in FreshSales.
  2. Fetch modified accounts via Rest. Make a Rest request to FreshSales to retrieve sales accounts and parse the response data so it is ready to evaluate for recent changes.
  3. Filter accounts updated recently. Loop through the accounts returned and keep only those updated in the last hour so only relevant changes move to the notification step.
  4. Send email notification. Send an email via Gmail to notify the team of the recently updated FreshSales accounts so they can act on the changes immediately.