Salesforce Integration

Enrich leads and accounts with automated website categorization. Improve lead qualification and enable smarter segmentation in Salesforce.

Enrich Your Salesforce Data

Integrate Website Categorization API with Salesforce to automatically enrich lead and account records with industry classification, business model insights, and audience data. Transform raw website domains into actionable intelligence that improves lead qualification, enables precise segmentation, and drives more effective sales engagement.

Integration Methods

Connect Website Categorization API with Salesforce using several approaches depending on your technical requirements and preferences:

Apex Integration

Call our API directly from Apex triggers or classes for real-time enrichment when records are created or updated. Ideal for immediate qualification requirements.

Flow Builder

Use Salesforce Flow with HTTP callouts to integrate without code. Build visual automations that enrich records based on your business logic.

Zapier/MuleSoft

Connect through middleware platforms for easier setup and maintenance. Zapier offers no-code automation while MuleSoft handles enterprise requirements.

Batch Processing

Use scheduled Apex batch jobs to enrich existing records in bulk. Efficient for initial database enrichment and periodic data refresh.

Apex Integration Example

Call the categorization API from Apex to enrich leads when they're created:

public class WebsiteCategorization {
  @future(callout=true)
  public static void enrichLead(Id leadId, String domain) {
    HttpRequest req = new HttpRequest();
    req.setEndpoint('https://api.websitecategorizationapi.com/v1/categorize?domain=' + domain);
    req.setMethod('GET');
    req.setHeader('Authorization', 'Bearer ' + getApiKey());

    Http http = new Http();
    HttpResponse res = http.send(req);

    if (res.getStatusCode() == 200) {
      Map<String, Object> result = (Map<String, Object>) JSON.deserializeUntyped(res.getBody());
      List<Object> categories = (List<Object>) result.get('categories');

      Lead lead = [SELECT Id, Industry__c FROM Lead WHERE Id = :leadId];
      if (!categories.isEmpty()) {
        Map<String, Object> topCategory = (Map<String, Object>) categories[0];
        lead.Industry__c = (String) topCategory.get('name');
      }
      update lead;
    }
  }
}

Custom Fields

Create custom fields on Lead and Account objects to store categorization data: Industry_Category__c, Business_Model__c, Audience_Type__c, and Categorization_Confidence__c. Map API response fields to these custom fields for complete data capture.

Use Cases

  • Lead Qualification: Automatically score leads based on industry alignment with your ideal customer profile
  • Territory Assignment: Route leads to appropriate sales reps based on industry vertical classification
  • Campaign Segmentation: Create targeted campaign audiences using industry and audience type data
  • Account Prioritization: Identify high-value accounts based on business model and company characteristics
  • Reporting and Analytics: Build pipeline reports segmented by industry and business model

Enrich Your Salesforce Data

Start enriching leads and accounts with automated website categorization.

Get API Key