SurveyCX for Amazon Connect

Help center › Zoom Contact Center connector

Zoom Contact Center connector

SurveyCX surveys Zoom Contact Center customers after the engagement: when a voice, video, messaging or email engagement ends, the customer is invited by SMS, email or WhatsApp to the hosted web survey, and the response is attributed to the Zoom agent and queue. Nothing runs inside the Zoom flow; the invitation is the survey. The connector uses Zoom's own webhooks and its Server-to-Server OAuth app type, so there is no middleware and nothing to install on the Zoom side.

Setup

  1. Deploy or update the stack with ZoomConnector=enabled. This adds the webhook endpoint POST <SiteUrl>/api/zoom/webhook and the function behind it; its errors raise the surveycx-zoom-errors alarm. (Without the parameter the Settings card still saves credentials, and says the endpoint is missing.)
  2. In the Zoom App Marketplace (Develop › Build App › Server to Server OAuth App), create an app for your account. Copy the Account ID, Client ID and Client Secret. Under Scopes add contact_center_report:read:admin (or the granular contact_center:read:engagement:admin). Under Feature › Event Subscriptions, add a subscription, copy its Secret Token, and add the event Contact Center › Engagements › Engagement ended (contact_center.engagement_ended).
  3. In SurveyCX, Settings › Zoom Contact Center: paste the four values and Save, then Test the credentials (fetches a token, nothing else). Copy the Webhook URL shown on the card.
  4. Back in Zoom, paste the webhook URL as the event notification endpoint and click Validate. Zoom sends a validation challenge; the stack answers it with the secret token you saved, and Zoom marks the endpoint validated. Activate the app.
  5. In the survey builder, make sure the surveys that should reach Zoom customers allow the SMS, email or WhatsApp channel, and that sending is configured under Settings › Invitations.

What the connector does with an event

Zoom's engagement ended event carries only the engagement id, channel, direction and end time; the agent, the queue and the customer's number are on the historical engagement, which Zoom makes readable up to a minute later. So the webhook function answers Zoom at once (Zoom allows three seconds) and hands the id to itself asynchronously; that second run fetches the engagement from Zoom's API, retrying up to five times over about a minute while Zoom is still persisting it, then:

Engagements nobody handled (abandoned in queue, voicemail) are ignored. Zoom retries a webhook it did not get a 200 for; a second delivery of the same engagement is recognised and does nothing new.

Security

Every webhook request is checked against Zoom's x-zm-signature (an HMAC of the timestamp and the body with your secret token) and rejected when it is missing, wrong or more than five minutes old. The client secret and the secret token are stored in Parameter Store and shown masked. The function needs no inbound access beyond the one route; Zoom's API is called outbound over HTTPS with a one-hour token kept in the function.

Names, tickets, the rest

Zoom sends display names, so no mapping is needed. Low scores on Zoom contacts open tickets in Zendesk or Salesforce and Slack or Teams alerts like any other; Amazon Connect Tasks and Cases stay Connect-only. Results, targets, the PDF report, the export and Arena treat Zoom agents like any other, under their Zoom user id.

Cost

Zoom webhooks are free; the stack runs two short function invocations per finished engagement (inside the Lambda free tier for most centres) and one Zoom API call per engagement plus retries, against Zoom's rate limits (the engagement endpoint is in Zoom's light class). SurveyCX bills completed responses as always.

Current as of version 0.10.0. See the release notes for what changed since.