CRM Hygiene - Automatic Contact Refresh

Automatically keep your CRM data fresh and accurate by detecting job changes, updating outdated contact records, and preventing bounced outreach.
This template helps you maintain a clean and accurate CRM by automating the process of tracking your contacts' career moves.
The automation performs the following steps:
  • Connects to HubSpot: It begins by accessing the HubSpot contact list you specify.
  • Fetches Contacts: It reads the contacts from your list, gathering key details like their name, current job title, company, and email.
  • Enriches Data: Each contact is then processed through a B2B enrichment service to find their most current employment information.
  • Detects Job Changes: The automation compares the fresh data from the enrichment service with the data in your HubSpot record. It identifies any discrepancies in job titles or company names.
  • Updates HubSpot Intelligently: For any contact with a detected job change, the automation updates their record in HubSpot with the new information. It includes a specific rule to only update the contact's email address if their company has changed, preventing unwanted email changes for internal promotions.
  • Handles Errors: If an update fails due to a duplicate email address in HubSpot, the automation smartly retries the update without the email, ensuring the job title and company are still corrected.
  • Provides a Summary: At the end of the run, you receive a detailed summary of how many contacts were scanned, how many job changes were detected, and which contacts were successfully updated.
Usage Ideas
  • Automate CRM Data Cleaning: Schedule this automation to run periodically to keep your contact database fresh and reduce manual data entry.
  • Identify New Sales Opportunities: Get alerts when a champion at a former customer moves to a new company, creating a warm lead at a new account.
  • Track Key Stakeholders: Monitor the career progression of important clients, partners, or industry influencers.
  • Improve Marketing Segmentation: Ensure your marketing campaigns are targeted effectively with up-to-date job titles and company information.
Customization Ideas
This template is a powerful starting point that can be tailored to your specific sales and marketing operations. You have the flexibility to:
  • Target Any List: Choose any of your HubSpot contact lists to scan and update.
  • Control the Scale: Decide whether to run the automation on a small batch of contacts for a quick test or on the entire list.
  • Customize Update Logic: You can change the rules for when a contact's information gets updated. For example, you could decide to always update the email address, not just when the company changes.
  • Adapt to Your HubSpot Setup: Adjust which HubSpot fields are read and written to, ensuring the template works perfectly with your specific CRM configuration.
Notes
This template works with HubSpot and can be easily adapted to any CRM with API access.
Agent Inputs
Required Parameters
Name
Type
Default
hubspot_list_name
string
None
Name of the HubSpot list to scan for contacts
Optional Parameters
Name
Type
Default
max_contacts
number
3
Maximum number of contacts to process per run. Use -1 to process all contacts in the list.