Cross-Provider Workflow

Datadog Logs Search to Sentry Issues to Slack

Version 1.0.0

Search Datadog logs, pull Sentry issues, then notify Slack.

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

Providers Orchestrated

datadog sentry slack

Workflows

logs-search-to-sentry-to-slack
Search Datadog logs, list Sentry issues, and notify Slack.
Searches Datadog logs for an error pattern, lists open Sentry issues for the organization, and posts a Slack message summarizing the findings.
3 steps inputs: logQuery, organizationSlug, slackChannel outputs: logId, messageTs, sentryTitle
1
search-logs
$sourceDescriptions.datadogLogs.searchLogs
Search Datadog logs for the error pattern.
2
list-sentry-issues
$sourceDescriptions.sentryApi.listOrganizationIssues
List open issues for the Sentry organization.
3
notify-slack
$sourceDescriptions.slackChat.postChatPostmessage
Notify a Slack channel summarizing the findings.

Source API Descriptions

Arazzo Workflow Specification

dev-datadog-logs-search-to-sentry-slack.yml Raw ↑
arazzo: 1.0.1
info:
  title: Datadog Logs Search to Sentry Issues to Slack
  summary: Search Datadog logs, pull Sentry issues, then notify Slack.
  description: >-
    A DevOps triage workflow that searches Datadog logs for errors, correlates
    them with open Sentry issues for the organization, and notifies a Slack
    channel with the findings so the team can investigate. Demonstrates chaining
    an observability provider, an error-monitoring provider, and a chat provider
    in a single Arazzo workflow.
  version: 1.0.0
sourceDescriptions:
  - name: datadogLogs
    url: https://raw.githubusercontent.com/api-evangelist/datadog/refs/heads/main/openapi/datadog-logs-openapi.yml
    type: openapi
  - name: sentryApi
    url: https://raw.githubusercontent.com/api-evangelist/sentry/refs/heads/main/openapi/sentry-api-openapi.yml
    type: openapi
  - name: slackChat
    url: https://raw.githubusercontent.com/api-evangelist/slack/refs/heads/main/openapi/slack-chat-openapi.yml
    type: openapi
workflows:
  - workflowId: logs-search-to-sentry-to-slack
    summary: Search Datadog logs, list Sentry issues, and notify Slack.
    description: >-
      Searches Datadog logs for an error pattern, lists open Sentry issues for
      the organization, and posts a Slack message summarizing the findings.
    inputs:
      type: object
      properties:
        logQuery:
          type: string
        organizationSlug:
          type: string
        slackChannel:
          type: string
    steps:
      - stepId: search-logs
        description: Search Datadog logs for the error pattern.
        operationId: $sourceDescriptions.datadogLogs.searchLogs
        requestBody:
          contentType: application/json
          payload:
            filter:
              query: $inputs.logQuery
        successCriteria:
          - condition: $statusCode == 200
        outputs:
          logId: $response.body#/data/0/id
      - stepId: list-sentry-issues
        description: List open issues for the Sentry organization.
        operationId: $sourceDescriptions.sentryApi.listOrganizationIssues
        successCriteria:
          - condition: $statusCode == 200
        outputs:
          sentryTitle: $response.body#/0/title
          sentryPermalink: $response.body#/0/permalink
      - stepId: notify-slack
        description: Notify a Slack channel summarizing the findings.
        operationId: $sourceDescriptions.slackChat.postChatPostmessage
        requestBody:
          contentType: application/json
          payload:
            channel: $inputs.slackChannel
            text: $steps.list-sentry-issues.outputs.sentryPermalink
        successCriteria:
          - condition: $statusCode == 200
        outputs:
          messageTs: $response.body#/ts
    outputs:
      logId: $steps.search-logs.outputs.logId
      sentryTitle: $steps.list-sentry-issues.outputs.sentryTitle
      messageTs: $steps.notify-slack.outputs.messageTs