Start an outbound voice contact and retrieve contact attributes via Amazon Connect

domain: docs.aws.amazon.com/connect/latest/APIReference · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Authenticate with an IAM role or user that has connect:StartOutboundVoiceContact and connect:GetContactAttributes permissions.
  2. Call StartOutboundVoiceContact, supplying the InstanceId, ContactFlowId (the contact flow to run when the call connects), DestinationPhoneNumber (E.164 format), and QueueId or SourcePhoneNumber.
  3. Optionally pass Attributes as a key-value map (up to 32,768 UTF-8 bytes total) to inject custom metadata into the contact that the contact flow can read and pass to agents.
  4. Capture the ContactId returned in the response; use it to track the contact's lifecycle and retrieve results.
  5. After the contact is established or completes, call GetContactAttributes with the InstanceId and InitialContactId to read all contact attributes set during the flow.
  6. For richer contact record data (queue time, agent, duration, recordings), query the Contact record via DescribeContact or retrieve it from the CTR (Contact Trace Record) exported to the configured S3 bucket.

Known gotchas

Related routes

deploy Amazon Connect contact flow content directly via the API
aws.amazon.com · 6 steps · unrated
Build an Amazon Connect contact flow that invokes a Lex V2 bot for self-service triage and escalates to a queue on failure
docs.aws.amazon.com/connect · 6 steps · unrated
Create and attach a reusable contact flow module in Amazon Connect via the API
docs.aws.amazon.com/connect/latest/APIReference/API_CreateContactFlowModule.html · 6 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans