Ship a Lambda version and post release notes to Slack

When a new GitHub release ships, cut a fresh AWS Lambda version, roll the production alias onto it, and drop a friendly summary in Slack.

Agentic Task
GitHubAWS LambdaSlack BotEngineeringNotifications & Alerts
PromptCreate

When a new release is published in our GitHub repository, promote the matching AWS Lambda code to production and announce it in Slack.

Trigger on GitHub's release webhook, specifically the release-published event. When it fires, take the tag name from the webhook payload and call GitHub's Get Release by Tag to fetch the release name, tag, HTML URL, and the full release body.

In AWS Lambda, call Publish Version on the target function to snapshot the current $LATEST code and configuration as a new immutable version number. Then call Update Alias to move the production alias (for example, prod) onto that new version number so live traffic starts hitting the new code. The Lambda function name and the alias to roll should be inputs configured when the workflow is set up. Assume the code is already deployed to $LATEST by CI or another workflow — this workflow only cuts a version and moves the alias.

Read the raw release body and draft a friendly, non-technical release note aimed at engineering teammates who did not write the code: what changed at a high level, who it affects, and whether anything needs attention (breaking changes, migrations, action required). Keep it warm and short — three to six bullets, no jargon dumps, no copy-pasting the raw changelog verbatim. The tone-shaping is the whole reason this is an agent workflow rather than a fixed pipeline.

Post the summary to the engineering Slack channel using Slack Bot's Send a Message. Include the release name and tag, the new Lambda version number that was published, the alias that was rolled, and a link back to the GitHub release page for anyone who wants the full changelog.

What does this prompt do?

  • Kicks off the moment a new release is published in your GitHub repo
  • Pulls the release notes for the tag that just shipped
  • Snapshots your current Lambda code as a fresh, immutable version
  • Points your production alias at the new version so live traffic hits it
  • Turns the raw release notes into a friendly, non-technical summary and posts it to your engineering Slack channel with the version number and a link back to the release

What do I need to use this?

  • A GitHub repo where your team publishes releases
  • An AWS Lambda function that already receives your latest code (from CI or another workflow) and a production alias to roll
  • A Slack workspace and the engineering channel where the announcement should land

How can I customize it?

  • Change which Slack channel gets the announcement, or add the on-call engineer as a DM
  • Adjust the tone of the summary — swap friendly for concise, changelog-style, or exec-brief
  • Add a manual approval step in Slack before the production alias actually moves

FAQs

Does this workflow deploy my code to AWS?
No. It assumes your code is already sitting on the $LATEST version of your Lambda function, usually pushed there by CI when a release is tagged. This workflow snapshots that code as an immutable version and moves the production alias, so users start hitting the new version.
What happens if the release notes are empty?
The workflow still cuts the new Lambda version and rolls the alias — the Slack message just tells your team a new version shipped without a change summary. You can also configure it to skip the announcement when there is nothing to say.
Which Lambda alias does it move?
Whichever alias you point it at when you set the workflow up, typically prod or production. You can run separate copies of this workflow for staging and production if you want them decoupled.
Can I roll back if something looks wrong after the announcement?
Yes. The alias can be moved back to the previous version number at any time. Many teams pair this with a follow-up workflow that watches for errors right after a rollout and reverts automatically.
Do I need a special GitHub setup?
Just publish releases the way you already do. GitHub fires a release event when you click Publish release, and this workflow listens for that — no extra webhook wiring on your side.

Related templates

Build a credential rotation checklist when someone leaves

When someone leaves, we check which shared passwords they used in their final months and post a ranked rotation list to your security channel.

1Password
Rippling
Slack Bot
+1
Agentic Task
Weekly Amazon S3 bucket security audit posted to Slack

Every Monday, check every S3 bucket for public exposure, missing encryption and weak backup settings, then get the risks ranked in Slack.

Amazon S3
Slack Bot
Google Sheets
Agentic Task
Log Agorapulse social conversations to HubSpot contacts

Twice every weekday, the conversations from your social inbox land on the right HubSpot contact timelines, with a Slack recap for sales.

Agorapulse
HubSpot
Slack Bot
Agentic Task
Clean up HubSpot contacts from your Amazon SES suppression list

Every morning, find the addresses that hard bounced or filed a spam complaint, update the matching HubSpot contacts, and post a short Slack recap.

Amazon SES
HubSpot
Slack Bot
Agentic Task
Draft polite follow-ups for emails that never got a reply

Every weekday at 4pm, spot the threads that went quiet, stage a ready-to-send nudge in your mailbox, and get a ranked Slack recap.

Aurinko
Google Sheets
Slack Bot
Agentic Task
Replay failed SQS messages when a bug fix is merged

When you merge a fix in GitHub, this agent checks the matching dead-letter queue, replays the failed messages, and reports back on the pull request and in Slack.

Amazon SQS
GitHub
Slack Bot
Agentic Task

Ship Lambda releases without the copy-paste

Let the workflow cut the version, roll the alias, and tell the team what changed while you go get coffee.