Direct CRM API needed crm.objects.contacts.write scope which the existing Personal Access Key doesn't have. Using HubSpot Forms API instead — same endpoint the browser used to call directly, but now called server-side from the Worker after email verification. This means HubSpot contact creation works without granting any additional scopes to the token: anyone can submit a public form. Also updates the welcome email warning to tell the customer to copy the address EXACTLY as shown (the reference is now baked into line 1 of the address) and not to modify anything. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| DEPLOIEMENT.md | ||
| hubspot-proxy.js | ||