Argo Workflows · JSON Structure

Argo Workflows Github Com Argoproj Argo Events Pkg Apis Events V1Alpha1 Slack Trigger Structure

SlackTrigger refers to the specification of the slack notification trigger.

Type: object Properties: 8
CNCFContainersData ProcessingKubernetesMachine LearningOpen SourceWorkflow Engine

github.com.argoproj.argo_events.pkg.apis.events.v1alpha1.SlackTrigger is a JSON Structure definition published by Argo Workflows, describing 8 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

attachments blocks channel message parameters sender slackToken thread

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/argo-workflows/refs/heads/main/json-structure/argo-workflows-github-com-argoproj-argo-events-pkg-apis-events-v1alpha1-slack-trigger-structure.json",
  "name": "github.com.argoproj.argo_events.pkg.apis.events.v1alpha1.SlackTrigger",
  "description": "SlackTrigger refers to the specification of the slack notification trigger.",
  "type": "object",
  "properties": {
    "attachments": {
      "type": "string",
      "name": "Attachments is a JSON format string that represents an array of Slack attachments according to the attachments API: https://api.slack.com/reference/messaging/attachments .\n+optional"
    },
    "blocks": {
      "type": "string",
      "name": "Blocks is a JSON format string that represents an array of Slack blocks according to the blocks API: https://api.slack.com/reference/block-kit/blocks .\n+optional"
    },
    "channel": {
      "type": "string",
      "name": "Channel refers to which Slack channel to send Slack message.\n+optional"
    },
    "message": {
      "type": "string",
      "name": "Message refers to the message to send to the Slack channel.\n+optional"
    },
    "parameters": {
      "type": "array",
      "name": "Parameters is the list of key-value extracted from event's payload that are applied to\nthe trigger resource.\n+optional",
      "items": {
        "$ref": "#/definitions/github.com.argoproj.argo_events.pkg.apis.events.v1alpha1.TriggerParameter"
      }
    },
    "sender": {
      "name": "Sender refers to additional configuration of the Slack application that sends the message.\n+optional",
      "$ref": "#/definitions/github.com.argoproj.argo_events.pkg.apis.events.v1alpha1.SlackSender"
    },
    "slackToken": {
      "description": "SlackToken refers to the Kubernetes secret that holds the slack token required to send messages.",
      "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector"
    },
    "thread": {
      "name": "Thread refers to additional options for sending messages to a Slack thread.\n+optional",
      "$ref": "#/definitions/github.com.argoproj.argo_events.pkg.apis.events.v1alpha1.SlackThread"
    }
  }
}