Enrich leads and accounts with automated website categorization. Improve lead qualification and enable smarter segmentation in Salesforce.
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.
Connect Website Categorization API with Salesforce using several approaches depending on your technical requirements and preferences:
Call our API directly from Apex triggers or classes for real-time enrichment when records are created or updated. Ideal for immediate qualification requirements.
Use Salesforce Flow with HTTP callouts to integrate without code. Build visual automations that enrich records based on your business logic.
Connect through middleware platforms for easier setup and maintenance. Zapier offers no-code automation while MuleSoft handles enterprise requirements.
Use scheduled Apex batch jobs to enrich existing records in bulk. Efficient for initial database enrichment and periodic data refresh.
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;
}
}
}
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.
Start enriching leads and accounts with automated website categorization.
Get API Key