Documentation · Workflows
How to Sync Crunchbase Funding Events into HubSpot with Claude Code
Connect Crunchbase and HubSpot in Deepline, define the funding filter, and Claude pulls rounds + resolves decision makers + upserts into HubSpot as Company + Contact records with funding_amount + funding_stage as custom properties.
What you need
- • Crunchbase account (Any plan — Deepline works on whatever tier you have)
- • HubSpot account (Any plan with API access — see provider docs)
- • Claude Code installed locally
- • ~2 minutes
Step-by-step
- 1
Install Deepline
One command installs the Deepline CLI and registers a workspace. Takes about 30 seconds. You only do this once per machine.
curl -s "https://code.deepline.com/api/v2/cli/install" | bash deepline auth register - 2
Connect Crunchbase in the Deepline dashboard
In the Deepline dashboard, click Integrations → Crunchbase → paste your Enterprise API key. Deepline caches funding-round responses to reduce credit burn across daily runs.
- 3
Connect HubSpot in the Deepline dashboard
In the Deepline dashboard, click Integrations → HubSpot → Authorize. HubSpot's OAuth flow opens in a new tab — pick the account and confirm scopes (contacts read/write, notes write). Deepline handles the token refresh forever.
- 4
Chat with Claude
Open Claude Code and describe the workflow in plain English. Deepline handles the tool calls, waterfall routing, rate limits, auth refresh, and dedup. An example prompt for this pair:
> Find all Series B funding rounds in the last 7 days in the US with $10M+ raised. For each funded company, create or update a HubSpot Company record (match on domain). Also pull the CEO or CTO's email via Apollo+waterfall and upsert as a HubSpot Contact associated with the Company. Store funding_amount and funding_stage. - 5
Deploy as a workflow
Once Claude's one-off run looks right, type "Deploy this as a workflow" and tell it the schedule. Deepline wraps the exact prompt + tool chain as a recurring workflow with run history, billing, and alerting in the dashboard.
> Deploy this as a workflow that runs every weekday morning at 8am.
Cost math
For 1,000 leads: $7.00
~0.7 credits per funded company routed. Crunchbase read + Apollo decision-maker + waterfall + HubSpot batch upsert. Deepline's credit pricing is pay-as-you-go — see code.deepline.com/docs/pricing for current rates.
Why do it in Claude Code
Waterfall routing by default
Deepline tries the cheapest provider first and only falls back if it misses. For Crunchbase workflows, this means email enrichment stops at the first valid hit — you don't pay for the second and third provider unless you need to.
Deploy the exact prompt as a schedule
Once the one-off run looks right, "Deploy this as a workflow" wraps the same prompt + tool chain as a cron-scheduled workflow. Run history, per-run billing, and retry logic all live in the dashboard. No DevOps.
One place for every provider credential
Crunchbase keys, HubSpot OAuth, waterfall fallbacks (Hunter, Dropcontact, Findymail, Prospeo) — all live in the Deepline dashboard. Rotate once; every workflow picks up the new credential automatically.
What people are saying
“Signal-based outbound lifts reply rates to 18-40% versus a 3.4% cold average. Funding, hiring, and visitor-ID signals are the three highest-performing.”
“100 enriched visitors turned into 11 booked demos in one week — the highest-intent channel we ran that quarter.”
Citations sourced from community posts, vendor case studies, and engineering blogs. See src/data/workflow-social-proof.md in the repo for the full sentiment bank.
Troubleshooting
Crunchbase integration shows red in the Deepline dashboard
Cause: Crunchbase credentials are either expired, revoked at the provider side, or the account tier doesn't expose API access.
Fix: Click the integration row in the dashboard → Test Connection. If it fails, re-paste the API key (or re-run OAuth for OAuth-based providers). Confirm the provider account tier includes API access — most providers gate this to paid tiers.
Workflow run succeeds but 0 rows landed in the destination
Cause: The filter returned 0 matches, OR rows failed a downstream gate (email not verified, already in destination, deliverability check failed).
Fix: Open the run in the Deepline dashboard → expand the step-by-step trace. Every row's path is logged: matched/unmatched at each stage. Most frequent culprit is the email-verification gate. Loosen the filter or remove the gate in the prompt if that's the cause.
Scheduled workflow stopped firing
Cause: Either hit a provider rate-limit, ran out of Deepline credits, or the destination API returned 500s Deepline classified as permanent.
Fix: Dashboard → Workflows → Recent Runs. Failed runs show the exact error and a "Replay" button. Credits are visible top-right. Rate-limit issues auto-resume once the window resets; permanent errors need intervention.
FAQ
Do I need an Anthropic API key for this?
No. You need Claude Code (the CLI/IDE). Deepline provides the tool-execution layer and credit system. Your Claude Code subscription or Anthropic API key handles the LLM calls — Deepline handles the GTM actions underneath.
How does Deepline handle dedup across runs?
Built-in. For HubSpot as a destination, Deepline uses the provider-native idempotency key (email for HubSpot/Attio, External_Id for Salesforce, campaign-level dedup for Instantly/Smartlead/Lemlist). Reruns update existing records instead of creating duplicates.
Can I still use my own API keys?
Yes. Paste them in the Deepline dashboard under Integrations. Deepline uses your keys for the actual provider calls — you keep your provider contracts, billing, and rate limit allocation. Deepline's credit billing only covers the orchestration + waterfall layer.
What if my filter only matches 3 rows but the workflow says 1000?
Deepline runs exactly what you describe. The 1000 in cost-math is the reference cost per 1K rows — a 3-row run costs 3/1000 of that total. You never pay for rows that don't exist.
Can I combine this with a waterfall?
Yes. Mention it in the prompt — e.g. "If Crunchbase doesn't return an email, fall back to Hunter → Dropcontact → Findymail." Deepline assembles the waterfall automatically and charges you only for the provider that successfully finds each row.
Related workflows
Crunchbase → Instantly
Connect Crunchbase and Instantly in Deepline, tell Claude the funding thresholds and target titles, and it finds the decision makers + pushes to a dedicated campaign. Deploy weekly to catch every fresh round.
Apollo → HubSpot
Connect Apollo and HubSpot in Deepline, tell Claude exactly who to find and how to tag them in HubSpot, and the workflow runs. Deepline batches 100 Contacts per HubSpot call and handles the 150 req/10s rate limit.
RB2B → HubSpot
Point RB2B webhooks at Deepline, tell Claude what to do when a visitor is identified, and watch HubSpot Contacts populate in real time. Deepline verifies the RB2B signature and handles HubSpot batching.
Want this workflow pre-configured?
Run it on Deepline or fork the full skill pack on GitHub. Either way, the code is yours to read and change.