Home  /  Integrations & APIs
Spec Document · v2.0

The APIs & integrations that turn this site into a lead-generation engine.

Every third-party service this website needs — lead capture, CRM sync, WhatsApp, email, analytics, calendar booking, AI features and SEO indexing — mapped to a recommended provider, an ENV variable, and where it plugs in.

26 integrations9 categories3 priority tiers$0 → $180 / mo
Overview

The end-to-end lead flow.

A visitor hits the site, fills the form (or clicks WhatsApp / Calendly), the lead is captured, validated, routed to your CRM, and triggers a notification plus an auto-responder. Every integration on this page plugs into one of these five steps.

Visitor → Customer · standard path
01Visitor lands/contact · /calculator · hero CTA
02Submits form / clicks WhatsAppdata-fw-lead → POST /api/lead
03Validate & storeZod + Postgres / Airtable
04Notify + auto-replySlack + Resend + WhatsApp
05Sync to CRMHubSpot / Pipedrive / Notion
01 Lead Capture

Catching the lead the moment they hit submit.

Forms on this site already carry data-fw-lead. The site shell intercepts the submit and POSTs to a single endpoint. Pick Formspree for the fastest path, or a small custom Next.js / Vercel function for full control.

Vercel / Next.js API route

vercel.com
Full control

Roll your own /api/lead handler. Lets you validate with Zod, dedupe, enrich (Clearbit), then fan-out to email + Slack + CRM in one place.

Free: 100K invocations / moSetup: ~2 hrs

Airtable as DB

airtable.com
Friendly

Use an Airtable base as your lightweight lead DB so non-technical team members can view, tag, comment on leads without an admin panel.

Free: 1,000 recordsSetup: 30 min

n8n / Zapier / Make

n8n.io
Routing

Once a lead hits the endpoint, push it through n8n to fan out — tag in HubSpot, ping Slack, post to WhatsApp, drop a row in Sheets. No backend rewrites.

Free: self-hostSetup: ~1 hr
MethodEndpointPurpose
POST/api/leadReceive contact form submissions — name, email, WhatsApp, project type, budget, timeline, description.
POST/api/estimateCost calculator submissions with selected options, estimated range, and contact details.
POST/api/newsletterOptional: email-only subscribes from footer or blog.
WEBHOOK/api/webhooks/calendlyCalendly fires when a discovery call is booked — push the contact into CRM as a hot lead.
02 CRM & Pipeline

Where the lead lives after capture.

Capturing leads is half the work — without a CRM you lose context after 5 days. Pick one. Don't run two in parallel.

Pipedrive

pipedrive.com

Sales-team-first CRM. Cleanest deal stages of any tool. Worth it if you have a 2+ person BD team.

API: api.pipedrive.com/v1Trial: 14 days

Notion / Airtable

notion.so
Lightweight

For a 2-3 person team, a Notion database plus a Slack ping covers 80% of what a CRM does at zero cost. Upgrade later.

API: api.notion.com/v1Free: Yes

Slack notifications

api.slack.com
Critical

Whatever CRM you choose, also drop every lead into a #leads channel via an Incoming Webhook. Fastest way for the team to respond inside a 2-hour SLA.

Setup: Webhook URLFree: Yes
03 Email Delivery

Transactional email for confirmations & auto-replies.

When a lead submits, both parties get an email. The team gets a "new lead" alert, the visitor gets a friendly "we have it" confirmation. Don't use Gmail SMTP — it will be blocked.

SendGrid

sendgrid.com
Mature

Twilio-owned, battle-tested. Higher free tier (100/day forever). More configuration but stronger deliverability on a fresh domain.

API: api.sendgrid.com/v3Free: 100/day forever

EmailJS

emailjs.com
Client-side

Fully client-side, no backend at all. Good for static HTML deployments like this one. Free up to 200/month. Less secure since the API key sits in the browser.

Where: browserFree: 200/mo

Mailchimp / ConvertKit

mailchimp.com

Only needed once you start a newsletter or drip campaigns. For pure transactional, Resend is cheaper and faster.

Use for: marketing onlyFree: 500 contacts
04 WhatsApp & SMS

The single biggest conversion channel for Pakistan-based studios.

A click-to-WhatsApp link works today and is free. To send proactive messages (auto-reply when a form is filled, "we got your brief", etc.) you need the WhatsApp Business API via a BSP.

Meta WhatsApp Cloud API

developers.facebook.com
1K msg/mo free

Direct from Meta. First 1,000 service conversations per month free. Send template messages programmatically — “Hi {name}, we got your brief.”

API: graph.facebook.comFree: 1K/mo

Twilio WhatsApp API

twilio.com/whatsapp

Twilio sits on top of Meta — same approval flow but with their dashboards. Good if you already use Twilio for SMS.

API: api.twilio.comSetup: 2–5 days approval

Twilio SMS (fallback)

twilio.com/sms

For clients outside WhatsApp regions (USA, parts of Europe). Send a text alert to the team when a high-budget lead lands.

Setup: ~30 minTrial: $15 credit
05 Calendar & Calls

Let prospects book a 30-minute discovery call themselves.

High-intent visitors don't want to email and wait. Drop a Calendly (or Cal.com) embed on the contact page so they pick a slot directly. Each booking should fire a webhook into your CRM as a hot lead.

Cal.com

cal.com
Open source

Open-source Calendly alternative. Self-hostable if you care about data residency. UI is as good as Calendly's.

Self-host: YesFree: Cloud + OSS

Zoom / Google Meet

zoom.us
Auto-attach

Connect Zoom or Meet to Calendly so each booking creates a unique meeting URL automatically. No manual links.

Setup: OAuth in CalendlyFree: Yes

Google Calendar API

developers.google.com
Sync

Calendly handles 99% of the case. Only touch the raw Google Calendar API if you build a custom in-app scheduler for a client product (Neurowaze-style).

Use: advanced onlyFree: Yes
06 Analytics & Tracking

So you know which channel actually drives leads.

Without analytics, every marketing dollar is guesswork. Install GA4 day one. Add Microsoft Clarity for free session replay — the single best way to see where visitors drop off on the form.

PostHog

posthog.com
Product analytics

Product-style analytics — funnels, retention, A/B. Stronger than GA4 for understanding the lead journey. Free up to 1M events / month.

Free: 1M events/moSelf-host: Yes

Meta Pixel / LinkedIn Insight

business.facebook.com

Only if you spend on Meta or LinkedIn ads. The Pixel lets you track conversions back to a specific ad and retarget visitors who didn't convert.

Use: paid acquisitionFree: Yes
07 AI Features

To prove you can actually ship AI.

Fusionwave's value-prop is AI engineering — the site itself should demonstrate that. An AI receptionist on the homepage, an AI lead-scoring step in the pipeline, or an AI-powered estimator that explains its cost breakdown.

OpenAI API

platform.openai.com

GPT-4o for general chat, embeddings for semantic search, Whisper for voice transcription. Default for most AI product features.

Models: gpt-4o, gpt-4o-miniCost: ~$0.15 / 1M (mini)

Pinecone / pgvector

pinecone.io
Vector DB

For RAG — a chatbot that knows the case studies, blog posts, services. pgvector is free and lives inside your existing Postgres.

Free tier: 100K vectors (Pinecone)Free: pgvector forever

LangChain / LlamaIndex

js.langchain.com
Orchestration

Only if you build a multi-step agentic flow (an AI receptionist that books calls, looks up case studies, escalates to a human). For one-shot prompts, plain SDKs are simpler.

When: agentic flowsFree: OSS
08 SEO & AI Indexing

Make sure Google & AI assistants find you.

Already wired into the site shell: an Organization schema JSON-LD on every page, a /llms.txt file for AI crawlers, and a permissive /robots.txt. Add these tools to monitor and improve.

Ahrefs / SEMrush

ahrefs.com

Backlink monitoring, keyword research, competitor gap analysis. Needed once you launch a blog content program.

Free: Webmaster ToolsUse: post-blog launch
09 Hosting & Infrastructure

Where the site itself lives.

Cloudflare Pages

pages.cloudflare.com
Generous

Static-friendly. Unlimited bandwidth even on the free tier. Pair with Cloudflare Workers for API routes.

Free: Unlimited bwWorkers: 100K req/day

Supabase

supabase.com
DB + Auth

Postgres + Auth + Storage + Edge Functions. If you outgrow Airtable as a lead DB, this is the next stop.

Free: 500MB DBPro: $25/mo

Sentry

sentry.io
Error tracking

Catch JS errors in production, especially on the form submit path. A silently broken contact form is the worst SEO and UX bug there is.

Free: 5K errors/moSetup: 10 min
.env

Environment variables to wire it all up.

Drop these into Vercel project settings (or your .env file if self-hosting). Anything prefixed NEXT_PUBLIC_ is safe to expose to the browser; everything else stays server-side.

# —— Lead capture —— FW_LEAD_ENDPOINT=https://formspree.io/f/xxxxxxxx FW_ESTIMATE_ENDPOINT=https://api.fusionwave.co/estimate # —— CRM —— HUBSPOT_PRIVATE_APP_TOKEN=pat-na1-xxxxxxxx NOTION_API_KEY=secret_xxxxxxxx NOTION_LEADS_DB_ID=a1b2c3d4e5f6... SLACK_LEADS_WEBHOOK=https://hooks.slack.com/services/T0/B0/xxxx # —— Email —— RESEND_API_KEY=re_xxxxxxxx RESEND_FROM=hello@fusionwave.co RESEND_REPLY_TO=hello@fusionwave.co # —— WhatsApp & SMS —— NEXT_PUBLIC_WA_NUMBER=923000000000 NEXT_PUBLIC_PHONE=+923000000000 META_WA_PHONE_ID=123456789 META_WA_ACCESS_TOKEN=EAAxxxxxxxxx TWILIO_ACCOUNT_SID=ACxxxxxxxxx TWILIO_AUTH_TOKEN=xxxxxxxx # —— Calendar —— NEXT_PUBLIC_CALENDLY_URL=https://calendly.com/fusionwave/discovery CALENDLY_WEBHOOK_SECRET=whsec_xxxxxxxx # —— Analytics —— NEXT_PUBLIC_GA_ID=G-XXXXXXXXXX NEXT_PUBLIC_CLARITY_ID=xxxxxxxxxx NEXT_PUBLIC_POSTHOG_KEY=phc_xxxxxxxx # —— AI —— ANTHROPIC_API_KEY=sk-ant-xxxxxxxx OPENAI_API_KEY=sk-xxxxxxxx PINECONE_API_KEY=xxxxxxxx # —— Error tracking —— NEXT_PUBLIC_SENTRY_DSN=https://xxxxxxxx@sentry.io/xxxx
Rollout Plan

What to ship today, this week, this month.

You don't need every API to start. Three weeks of disciplined setup turns the site from a portfolio into a lead-gen machine.

P0 · Ship Today

  • Real WhatsApp numberreplace placeholder in site.js
  • Real phone & emailsame file — tel: and mailto: links
  • Formspree endpointFW_LEAD_ENDPOINT in env
  • Slack #leads webhookteam gets pinged on every lead
  • GA4 + Clarity tags2 script tags, all pages
  • Google Search Consoleverify domain, submit sitemap.xml

P1 · This Week

  • HubSpot CRMforward every lead in via API
  • Resend transactional emailteam alert + visitor auto-reply
  • Calendly embed on /contactenable webhook → CRM
  • Sitemap.xml generatorone route per page
  • Article + Service schemaper case study / service page
  • Sentry error trackingcatch silent form failures

P2 · This Month

  • WhatsApp Business APIMeta Cloud, free 1K msg/mo
  • n8n routing flowslead → tag → enrich → notify
  • PostHog product analyticsfunnel: visit → form → submit
  • AI receptionist demoClaude Haiku on /contact or homepage
  • Blog with 3 launch postslong-tail SEO begins
  • Sanity / Notion as CMSif blog frequency > 1 / week
$ Monthly Cost

Two budgets — bootstrap and growth.

The bootstrap stack runs on free tiers indefinitely up to ~500 leads/month. Switch to the growth stack once volume justifies it.

ServiceBootstrapGrowth$ / mo
Lead captureFormspree freeVercel + custom API$0 → $20
CRMHubSpot FreeHubSpot Starter$0 → $20
EmailResend free (3K/mo)Resend Pro$0 → $20
WhatsAppwa.me linkMeta Cloud API$0 → $0–25
CalendlyFree (1 event)Standard$0 → $12
AnalyticsGA4 + Clarity+ PostHog Pro$0 → $0–50
AI (Claude + OpenAI)Pay-as-you-go~10K calls/mo$0 → ~$30
Hosting (Vercel)HobbyPro$0 → $20
Error trackingSentry freeTeam$0 → $26
Total$0 → ~$180
Next step

Want us to wire all of this up?

We build the whole lead-gen stack — endpoint, CRM, email auto-reply, WhatsApp, Calendly, analytics, schema — for any website. Usually a one-week sprint.

Call us nowBook a strategy callEmail usChat with our team