-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
70 lines (62 loc) · 3.63 KB
/
Copy path.env.example
File metadata and controls
70 lines (62 loc) · 3.63 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# ── Native lead capture (app/api/leads — /api/lead re-exports it) ─────
# Notion internal integration secret (starts with ntn_ or secret_).
# Create at notion.so/my-integrations, then share the Enso Inbound Leads
# database with the integration.
NOTION_TOKEN=
# Data source / database ID for the "Enso Inbound Leads" database.
NOTION_LEADS_DB_ID=9b39b423-3f50-446a-9cef-1970bea56925
# Shared secret guarding GET /api/leads/new (the enrichment cron reader,
# also used by scripts/smoke-lead.mjs). Required for the smoke test.
LEADS_READ_KEY=
# Slack incoming webhook for new-lead alerts (optional — fail-soft if unset).
SLACK_WEBHOOK_URL=
# Resend API key for the notify-Sav email + the lead-facing ack (optional).
# Get at resend.com. The ack sends from LEAD_ALERT_FROM, so verify that
# domain in Resend (DKIM/SPF/DMARC) before turning it on.
RESEND_API_KEY=
# Where lead alert emails are sent (defaults to [email protected]).
# Verified Resend sender (defaults to [email protected]).
LEAD_ALERT_FROM=Enso Leads <[email protected]>
# Set LEAD_DEBUG=1 only during QA to surface Notion errors in the 502 body.
# LEAD_DEBUG=
# ── Hot-lead alerts (app/api/cron/hot-leads) ─────────────────────────
# Vercel cron (vercel.json, daily 14:00 UTC) finds rows with
# Lead Score >= HOT_LEAD_THRESHOLD not yet flagged "Hot Notified", sends a
# 🔥 email (Resend) + Slack ping, then ticks the checkbox. The checkbox
# property is auto-created on first run. Needs at least one of
# RESEND_API_KEY / SLACK_WEBHOOK_URL to do anything.
# Secret Vercel sends with cron invocations (Settings → Env; any random string).
CRON_SECRET=
# Score that counts as hot (default 8). Manual trigger:
# GET /api/cron/hot-leads?key=<LEADS_READ_KEY>
# HOT_LEAD_THRESHOLD=8
# ── Durable lead backstop (Vercel KV — optional but recommended) ──────
# Auto-injected once a Vercel KV store is linked to the project. When present,
# /api/leads writes every submit to a durable log FIRST (never-lose-a-lead),
# dead-letters Notion failures, and per-IP rate-limits. Absent → those steps
# no-op and leads still flow to Notion + Slack + email.
KV_REST_API_URL=
KV_REST_API_TOKEN=
# ── Booking ──────────────────────────────────────────────────────────
# Real Cal.com / Calendly URL for the "Book a call" CTAs (contact, home
# hero, header). Falls back to https://cal.com/ensolabs/intro if unset.
NEXT_PUBLIC_BOOKING_URL=
# Formspree form ID — DEPRECATED. The contact form now posts to /api/leads.
# Kept only for reference; safe to leave unset.
NEXT_PUBLIC_FORMSPREE_ID=
# ── Analytics ────────────────────────────────────────────────────────
# Google Analytics 4 measurement ID — public, safe to commit.
NEXT_PUBLIC_GA_ID=G-5N15QMQ962
# GA4 Measurement Protocol API secret — enables the first-party server beacon
# in /api/track (survives ad-blockers). Without it the endpoint still 200s;
# events just aren't forwarded server-side.
GA4_API_SECRET=
# Site origin used for canonical URLs, sitemap, RSS, JSON-LD.
# Defaults to https://ensolabs.ai if unset.
NEXT_PUBLIC_SITE_URL=https://ensolabs.ai
# Studio availability — shown in the home hero & footer.
# Update once a quarter as intake fills up. Defaults to "Q3–Q4 2026".
# NEXT_PUBLIC_AVAILABILITY=Q3–Q4 2026
# Default Open Graph image (absolute path served from /public).
# NEXT_PUBLIC_OG_IMAGE=/og-default.png