Sync NetSuite customer domains to lookup table

Recipe ToolsMarketingAccountingERPCRMEcommerceFinancial ManagementHR management

What it does

When the clock triggers daily at 6 AM, this automation clears the Domain Lookup table and rebuilds it with email domains from NetSuite customers. Someone can then reference those domains in other automations without manual updates.

Who it's for

Finance teams who maintain lookup tables for customer data enrichment and domain-based routing in NetSuite.

How teams use this

Keep domain lists current automatically

Rebuild the lookup table every morning so routing rules and enrichment workflows always reference the latest customer domains from NetSuite without manual intervention.

Route leads by customer domain

Add a separate automation that uses the synced domains to route incoming leads to the right sales team based on their email domain matching a known customer in the lookup table.

Enrich records with domain data

Set up data enrichment workflows that check each record's domain against the lookup table to tag or segment records by whether their domain belongs to an existing NetSuite customer.

How it works

  1. Trigger daily at 6 AM. This automation runs every day at 6:00 AM to refresh the lookup table with the latest customer data from NetSuite.
  2. Clear the Domain Lookup table. Truncate all entries from the Domain Lookup lookup table so it can be rebuilt with current customer email domains.
  3. Fetch customers and extract domains. Execute a saved search in NetSuite to retrieve all customers, then loop through each one to extract the email domain from their email address.
  4. Populate the lookup table. Create entries in the Domain Lookup table for each unique email domain found, making them available for reference in other automations.