AWS Systems Manager: Closed-Loop Automation vs Manual Runbooks
A side-by-side comparison of ad-hoc, human-run remediation and tag-driven AWS Systems Manager Automation, showing what each costs in audit trail, drift, and time to recover.
Loading…
Topic
98 posts about Automation. Every summary links to the original.
See the idea
A side-by-side comparison of ad-hoc, human-run remediation and tag-driven AWS Systems Manager Automation, showing what each costs in audit trail, drift, and time to recover.
Automated testing is a verification layer with four moving parts: generate, execute, verify, and triage. This explainer maps each part and shows where human judgment still belongs.
Apache Camel is shown as the integration path that brings application actions into one request workflow. The diagram clarifies real-time versus scheduled ingestion, mapping, merging, authorization, and audit.
The Good Stuff
Paid picks we use ourselves. Links carry a referral code — a subscription through one earns us a commission at no extra cost to you.
Newest first
Databricks introduced Genie ZeroOps in June as an autonomous agent that detects, investigates, and resolves data pipeline issues, including upstream schema changes and data quality anomalies. After a private preview with hundreds of customers, the agent now includes inbox sharing, notifications, one-click PR creation, and custom business instructions. ZeroOps automates the manual triage workflow across five steps: detect, investigate, verify, notify, and remediate. During the preview, the agent observed over 80,000 real customer issues, revealing that over half require organization-specific knowledge to resolve. Genie ZeroOps is now available in Public Beta and can be enabled by a workspace admin from the workspace Previews page.
Ryan Steinberg, Intercom’s Head of Global Support Operations, explains how automation and personalized support are not mutually exclusive. He describes three ideal automation use cases: routing, assisting, and problem-solving. Intercom developed the ROAR metric (Rate of Automated Resolution) to track end-to-end automated resolutions, which saved $400,000 in the past year. Automation requires caution with sensitive topics, customers who request human help, and new customers whose trust is delicate. Steinberg emphasizes that automation fundamentally requires teams to think deeply about the customer’s journey and potential roadblocks to respect their time and sanity.
Intercom’s Custom Bots are customizable chatbots that automate user journeys on a website, allowing businesses to create them in minutes. Sales teams use these bots to reshape their entire sales cycle by engaging new visitors with video, automatically qualifying leads, and nurturing trial users to paid plans. Marketing teams, meanwhile, use Custom Bots to drive more engagement and product usage among their audience. The bots can proactively reach out to existing users in addition to targeting visitors and leads on the website. This enables businesses to upsell current users, announce new features at the optimum time, and provide proactive support when it is needed most.
Sujan Patel, a growth expert and co-founder of WebProfits and Mailshake, explains how chatbots can drive growth by improving efficiency, accelerating sales cycles, and enhancing customer experiences. He advises that chatbots should not pretend to be human; instead they should be positioned as helpers that bring in the right person. The key to effective automation is deeply understanding customers first by having sales reps talk to leads in real time, then scripting chatbots to handle the most common questions. Patel shares how Mailshake built a mini AI email analyzer that evaluates copy length and complexity to help customers improve their campaigns. He predicts automation will evolve toward instant gratification, where customers get their problems solved quickly regardless of whether by a person or a bot.
During economic disruption, Clearbit focused on existing customers and used automation to scale revenue instead of costs. The company deployed a machine learning model that analyzes 400 variables—company attributes, communications, and product usage—to predict churn risk with 75% accuracy. The model outputs a likelihood-to-churn score in Salesforce; when the score exceeds 35%, the customer success manager must justify why the account is not at risk. The team also holds weekly “red accounts” meetings for collaborative problem-solving on at-risk accounts, which helped reduce churn by upwards of 15% last quarter. These efficiency gains allowed Clearbit to continue six consecutive years of double-digit growth even during lean times.
Intercom’s product leaders predict that bots, messengers, and apps will define 2019. They argue that bots are coming of age as businesses need automation to scale with a growing online population. The key is deploying bots for tasks suitable for computer calculations, not for mimicking web forms with chat bubbles. Intercom’s App Store was a 2018 success, and they expect apps to add native value anywhere rather than being standalone destinations. The company is also redesigning its onboarding process from the ground up to personalize the experience for every customer.
The Intercom 2023 State of AI in Customer Service report surveyed over 1,000 global support leaders and practitioners to understand their strategies regarding AI and automation. Initial adoption was slow because past technology often overpromised and underdelivered, and support teams were too busy firefighting to build a proactive AI strategy, but leaders now recognize that investing in AI provides a competitive edge. The report’s top applications include faster responses, consistent responses, saving on training costs, and summarizing conversations. For small customer support teams, beginning with dedicated research time, such as two hours per week to study other companies’ chat flows, and involving reps in the process can help overcome fears of AI replacing jobs. Implementation risks can be mitigated by setting up guardrails, creating clear exits to reach human reps, and setting the right expectations about the bot’s capabilities.
The Agentforce team at Salesforce faced the challenge of using AI to help build and maintain the Atlas Reasoning Engine without compromising reliability. The central risk was that AI could diagnose problems, modify the engine, test fixes, and review its own work while being confidently wrong. To address this, the team built an integrated engineering knowledge base using semantic retrieval to connect fragmented knowledge across incidents, fixes, and discussions. They implemented layered AI evaluation with an agent-as-a-judge model and human oversight, using different models to review work from different perspectives to avoid self-preference bias. As a result, typical bug-resolution time dropped from two to four weeks to one or two days, and system availability reached 100% in weekly reports during the observed period.
Many organizations treat escalation from AI to a human agent as a failure, but this approach is counterproductive and erodes customer trust. Twilio research reveals that while organizations expect AI to handle 63% of interactions by 2027, 78% of consumers actively try to bypass AI agents, yet only 47% of brands offer an easy opt-out. A clean handoff requires solving three architectural hurdles: session identity across channels, context compression for live agents, and intelligent escalation triggers based on sentiment. The post proposes a three-principle framework: design for the edge case, unlock cross-channel context, and do not hide the person. Building visible, rapid access to live support, like clearly marked emergency exits on an airplane, lowers customer anxiety and increases willingness to engage with AI.
Sprites are isolated virtual computers that can create and manage other Sprites via an API, and Claude can use that API when authorized by a token from sprites.dev/account. This enables automated workflows like central OAuth token management, where an Auth Sprite handles token refresh and storage for other Sprites. For CI, an orchestrator Sprite spins up a worker for each test file, locks its network to only pypi and github, runs the test, collects results, and destroys the worker. Preview environments are created per pull request, with each PR getting its own Sprite that is redeployed on updates and destroyed on merge. Additional use cases include agent delegation with network-policy-locked workers, running untrusted code in a deny-all network Sprite, and team provisioning via a provisioner Sprite that creates and configures new Sprites with checkpoints enabling fast restoration.
An enterprise customer with more than 300 Linux and Windows instances in AWS Elastic Disaster Recovery scope had agents stall after network changes and descoped servers keep replicating and adding cost. The solution automates onboarding, healing, and offboarding through AWS Systems Manager Automation documents started by EventBridge or a schedule. A single EC2 DR tag with values yes, pause, or no selects the phase; unrecognized values are normalized, skipped, and logged as SKIPPED_MISCONFIGURED. Onboarding runs every 30 minutes through State Manager, healing restarts or reinstalls the agent for agent-side stalls and escalates infrastructure stalls through Amazon SNS, and offboarding checks safeguards before stopping replication, deleting the source server, uninstalling the agent, and removing tags. Offboarding records whether replication billing stopped, while the documents emit SNS notifications, per-event JSON audit reports to Amazon S3, and CloudWatch Outcome metrics.
Configuring automated testing for Red Hat Enterprise Linux and Fedora projects on Testing Farm usually requires writing boilerplate CI workflows and TMT metadata by hand. The testing-farm-onboarding AI agent skill for Claude Code automates this by generating .fmf test metadata and CI pipeline definitions for GitHub Actions, GitLab CI, and Red Hat internal GitLab, covering both public and enterprise environments. It interactively prompts for API tokens, target operating system composes, and trigger events such as pull requests or pushes, and supports matrix builds across multiple distributions. The skill analyzes existing test suites like tox, creates valid TMT plans, and integrates with tmt plan lint and tmt test lint for validation before committing. Installation is done by cloning the sclorg/ai-agents repository and symlinking the skill into the project’s .claude/skills directory, reducing onboarding from hours to minutes.
The Supabase integration for Make is now available, connecting Supabase projects to Make’s visual workflow builder. Users can query databases, read logs, deploy Edge Functions, and manage projects as workflow steps. The integration offers two connection methods: pre-built Supabase API apps for deterministic steps, and an MCP client for AI agents that get structured access to projects. Scenarios work with live data without requiring exports, eliminating the need for nightly syncs. Make tracks every scenario run and agent tool call, and each MCP tool is annotated as read-only or destructive for governance.
The project showcase madewithvuejs.com is run by two people and an AI agent named Milly, shaped like a beagle for fun. Milly performs daily content scouting for new Vue.js projects, checks Linear for assigned issues, and monitors Sentry for production bugs. She is connected to GitHub for code changes, runs test suites before deploying, and uses Sentry’s MCP for read-only access to production issues. In a real scenario, Milly fixed two bugs from a form update: one involving truncated HTML output and another where database column length was shorter than validation, catching it before the team noticed. Safeguards include process templates, hard limits on write access, and human final approval, while the low-risk content site allows a long leash for autonomy.
Support agents often have less than 30 seconds between calls, leaving no time to document conversations, which results in lost context and poor customer experiences. Twilio Conversation Intelligence automates this by transcribing calls in real time or after the fact, then using Language Operators to extract summaries, sentiment, intent, and resolution status. These operators can be prebuilt or custom, and they run on every communication, at conversation end, or on demand. Extracted facts are automatically written to customer profiles via Conversation Memory, which reconciles new observations with existing ones to keep profiles accurate. Finally, webhooks push summaries and sentiment into CRMs like Salesforce, Zendesk, and HubSpot, so the next agent has full context without manual entry.
Notion used the Model Context Protocol (MCP), an open standard for connecting AI tools to other apps, to expand its AI integrations. Previously, each new MCP connection required hours of manual setup, including creating accounts, navigating developer settings, and testing, so only 25 apps were connected. In three weeks, Notion grew that number to 185 by building a Notion agent that automates the pipeline from setup to production. The agent handles sign-ups, browser clicks, and tests, while humans still review code changes, design assets, and partner with vendors. A key lesson was that private developer apps could pass internal tests but fail for customers, so the agent now tests from a second account simulating real users.
Managing outside collaborator access and stale repositories in a shared GitHub organization becomes harder to keep up with as projects grow. Evergreen is a GitHub App built with native GitHub features—scheduled actions, webhooks, issues, and custom properties—that automates two workflows: quarterly outside collaborator access reviews and stale repository detection and archival. Its design principles are fail secure, revoking access if no one responds, and never destroy anything, keeping archived repos recoverable and every change tracked in issues. The app is a Go webhook server that stores state as JSON files in a controller repo, using git history as the audit trail, and interacts via checklist issues in each repository. Rollout included dry-run mode, overcommunication, Splunk observability, and proactive rate-limit pacing; the pattern is adaptable using native GitHub features.
Intercom has practiced continuous deployment since its early days, deploying code automatically after each merge to master. The pipeline uses GitHub, Codeship for the test suite, and an internal tool called Muster to push code to production EC2 instances, typically in under ten minutes. The company now deploys over 80 times a day, aiming for 100 by end of 2015, and a dashboard tracks this history over three years. This rapid feedback loop allows engineers to iterate features through internal, beta, and public stages, learning how people use the feature and how code performs in production. The automated system helps new engineers ship code on their first day and a feature in their first week by removing deployment barriers, and they demo their work at Friday sessions. Additionally, a fast and reliable deployment process discourages engineers from bypassing it during critical bug fixes, reducing risky behavior.
Stripe Workflows now supports recurring schedule triggers, enabling automated tasks like notifying teams about past-due subscriptions without external cron servers. Users set schedules in the Dashboard, and Stripe runs the workflow at each scheduled time, following the local clock and handling daylight saving time. A walkthrough lists past-due subscriptions, uses a metadata key condition to skip already-notified ones, and sends Slack notifications via the installed Slack app. The workflow handles pagination; if an action fails, the loop stops and remaining items are picked up on the next run, with details showing which step failed. This eliminates the need for a separate server, secret key storage, and daylight saving time logic, putting calendar-based operations under the finance team’s control.
Intercom launched a suite of new features including Custom Reports, Conversation Topics, and Macros to help teams balance personal and efficient customer communication at scale. Custom Reports lets teams tailor dashboards in just a few simple steps by building custom charts from user and conversation data attributes and exporting them. Conversation Topics provides a machine-learning powered engine that visually represents what customers are talking about and how often, giving teams an at-a-glance view of top concerns. Macros automate common inbox actions like tagging, assigning, snoozing, and closing conversations with a single click, boosting efficiency by up to 43%. Additional updates include Series targeting and split testing, enhanced Articles, mobile app tagging, permissions, and custom return paths for email deliverability.
The best engineering reads, once a week.