Generate custom JavaScript or Python snippets to parse and format data from enrichment tools before pushing to your CRM.
// n8n/Make script to transform Apollo data for HubSpot
const inputData = items[0].json; // Adjust based on your node input
const enrichedRecord = {
email: inputData.email || null,
firstName: inputData.first_name || null,
lastName: inputData.last_name || null,
companyName: inputData.company?.name || inputData.company_name || null,
industry: inputData.company?.industry || null,
employees: inputData.company?.metrics?.employees || inputData.employee_count || null,
linkedin: inputData.linkedin_url || inputData.person?.linkedin_url || null,
};
// HubSpot specific formatting
return {
properties: enrichedRecord
};
The exact frameworks, prompt chains, and system architectures I use to automate sales research, reporting, and outbound. Delivered to your inbox.