Vendor Onboarding

Integrations

Verify the outbound API wiring for the three integrations the proposal committed to: Microsoft Graph (mail), Outlook (calendar), and GoHighLevel (CRM). When env vars are missing each call runs in dry-run mode and returns the exact request payload it would have sent — click the buttons below to confirm the shape matches your tenant.

MSGraph

Dry-run (no env vars)

POST /me/sendMail via Microsoft Graph v1.0. Bearer token from MS_GRAPH_ACCESS_TOKEN (or client-credentials flow).

Outlook

Dry-run (no env vars)

POST /me/events via Microsoft Graph v1.0. Same token as MSGraph; different endpoint family. Creates a follow-up review meeting.

GoHighLevel

Dry-run (no env vars)

POST /contacts/upsert via LeadConnector v2 (Version: 2023-02-21). Bearer token from GHL_API_KEY. Creates or updates a vendor contact under GHL_LOCATION_ID (honours the location's Allow Duplicate Contact setting).

How to enable live mode

  1. Copy .env.example to .env.local
  2. Fill in MS_GRAPH_ACCESS_TOKEN (or the client-credentials trio: TENANT_ID, CLIENT_ID, CLIENT_SECRET)
  3. Fill in GHL_API_KEY and GHL_LOCATION_ID
  4. Restart npm run dev — the badges above flip to green
  5. Click the test buttons — the JSON response will be the real upstream payload