feat: add Zapier SDK w/ HubSpot company enrichment workflow#56
Merged
Conversation
Adds a new workflow that enriches company profiles via Apollo and upserts the results into HubSpot using the Zapier SDK. Includes shared clients for Apollo (organization enrichment) and Zapier, along with full README documentation. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Remove unused companyName from enrichCompanyInputSchema/step, fix unused imports, switch HubSpot upsert to new Zapier SDK client pattern, and add Zod response validation. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…ttern Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…hoices and LLM mapping Fetch valid HubSpot industry values via Zapier SDK's listInputFieldChoices API instead of maintaining a hardcoded list, then use an LLM step to map Apollo's raw industry string to the closest match. Apollo enrichment and industry fetch run in parallel for no added latency. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Break long import line, replace let with const using ternary, and fix operator-linebreak style. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…nd safety - Remove unused `companyName` from workflowInputSchema (was required but never read) - Fix workflow name to match folder convention (`zapier_hubspot_company_enrichment`) - Rename `createZapierClient` to `getZapierClient` (it's a singleton getter, not a factory) - Guard `extractDomain` against empty string input to prevent runtime crash - Remove redundant `hubspotUpsertOutputSchema.parse()` (SDK validates output automatically) - Update scenario to match simplified input schema
bnchrch
approved these changes
Apr 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
zapier_hubspot_company_enrichment) that enriches company profiles via the Apollo API and upserts results into HubSpot using the Zapier SDKsrc/shared/clients/apollo.ts(organization enrichment) andsrc/shared/clients/zapier.ts(Zapier SDK wrapper)Test plan
npx output devand executenpx output workflow run zapier_hubspot_company_enrichment stripe🤖 Generated with Claude Code