Cross-Provider Workflow

RDS Snapshot to Slack Notification

Version 1.0.0

Snapshot an Amazon RDS database, then notify the team in Slack.

1 workflow 2 source APIs 2 providers
View Spec View on GitHub ArazzoWorkflowsCross-Provider

Providers Orchestrated

amazon-rds slack

Workflows

snapshot-and-notify
Create an RDS snapshot and post a Slack notification.
Creates a manual snapshot of an Amazon RDS DB instance, then posts a backup notification to Slack via chat.postMessage.
2 steps inputs: channel, dbInstanceIdentifier, dbSnapshotIdentifier outputs: messageTs, snapshotStatus
1
create-snapshot
$sourceDescriptions.amazonRdsApi.createDBSnapshot
Create a manual snapshot of the DB instance.
2
notify-slack
$sourceDescriptions.slackChatApi.postChatPostmessage
Notify the team that the backup snapshot was created.

Source API Descriptions

Arazzo Workflow Specification

geo-amazon-rds-snapshot-slack-notify.yml Raw ↑
arazzo: 1.0.1
info:
  title: RDS Snapshot to Slack Notification
  summary: Snapshot an Amazon RDS database, then notify the team in Slack.
  description: >-
    A high-value cross-domain operations workflow that creates a manual snapshot of an
    Amazon RDS database instance and announces the backup to an on-call team in a Slack
    channel. Demonstrates pairing a managed database provider with a team messaging
    provider for backup observability.
  version: 1.0.0
sourceDescriptions:
  - name: amazonRdsApi
    url: https://raw.githubusercontent.com/api-evangelist/amazon-rds/refs/heads/main/openapi/amazon-rds-openapi.yml
    type: openapi
  - name: slackChatApi
    url: https://raw.githubusercontent.com/api-evangelist/slack/refs/heads/main/openapi/slack-chat-openapi.yml
    type: openapi
workflows:
  - workflowId: snapshot-and-notify
    summary: Create an RDS snapshot and post a Slack notification.
    description: >-
      Creates a manual snapshot of an Amazon RDS DB instance, then posts a backup
      notification to Slack via chat.postMessage.
    inputs:
      type: object
      properties:
        dbInstanceIdentifier:
          type: string
        dbSnapshotIdentifier:
          type: string
        channel:
          type: string
    steps:
      - stepId: create-snapshot
        description: Create a manual snapshot of the DB instance.
        operationId: $sourceDescriptions.amazonRdsApi.createDBSnapshot
        parameters:
          - name: DBSnapshotIdentifier
            in: query
            value: $inputs.dbSnapshotIdentifier
          - name: DBInstanceIdentifier
            in: query
            value: $inputs.dbInstanceIdentifier
        successCriteria:
          - condition: $statusCode == 200
        outputs:
          snapshotStatus: $statusCode
      - stepId: notify-slack
        description: Notify the team that the backup snapshot was created.
        operationId: $sourceDescriptions.slackChatApi.postChatPostmessage
        requestBody:
          contentType: application/x-www-form-urlencoded
          payload:
            channel: $inputs.channel
            text: A manual RDS snapshot was created successfully.
        successCriteria:
          - condition: $statusCode == 200
          - condition: $response.body#/ok == true
        outputs:
          messageTs: $response.body#/ts
    outputs:
      snapshotStatus: $steps.create-snapshot.outputs.snapshotStatus
      messageTs: $steps.notify-slack.outputs.messageTs