Build a real-time temperature excursion alerting pipeline from IoT logger telemetry using AWS IoT Core rules and SNS for cold-chain pharmaceutical lanes

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

Steps

  1. Provision IoT devices in AWS IoT Core and generate X.509 certificates for each temperature logger; configure logger firmware to publish readings as JSON to a topic path pattern such as coldchain/{shipment_id}/{device_id}/telemetry
  2. Create an AWS IoT Core topic rule with a SQL rule that selects temperature, humidity, device_id, shipment_id, and timestamp from the topic pattern; add a WHERE clause filter for temperature outside the target range, e.g. WHERE temperature NOT BETWEEN 2 AND 8 to trigger only on excursions
  3. Configure the rule action to publish the filtered excursion event to an SNS topic with a structured JSON message including all telemetry fields plus an excursion_type label; subscribe both an email endpoint and an SQS queue to the SNS topic
  4. From the SQS queue, a Lambda function consumes excursion events and performs enrichment: look up the shipment record to get the product, lot number, and QA contact; compute excursion duration by querying the last in-range reading from a DynamoDB telemetry store
  5. Emit the enriched excursion alert to PagerDuty or a QA ticketing system via HTTPS POST; include the device ID, shipment ID, product, lot, excursion start time, current temperature, and MKT running total to date
  6. Persist all raw telemetry readings (not just excursions) to a DynamoDB table with device_id + timestamp as the composite key; enable DynamoDB Streams to feed a Kinesis Data Firehose for long-term S3 archival and downstream MKT batch computation

Known gotchas

Related routes

Ingest IoT cold-chain temperature telemetry from a Sensitech or Emerson Connect Plus logger via API and detect excursions in real time
sensitech.com · 6 steps · unrated
Stream real-time temperature sensor events from Disruptive Technologies for a cold-chain monitoring project
developer.disruptive-technologies.com · 5 steps · unrated
Escalate critical Disruptive Technologies cold-chain temperature excursions to on-call responders via the PagerDuty Events API v2
developer.disruptive-technologies.com · 5 steps · unrated

Give your agent this knowledge — and 15,600+ 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