> ## Documentation Index
> Fetch the complete documentation index at: https://docs.coreweave.com/llms.txt
> Use this file to discover all available pages before exploring further.

# SendNotification

[View source](https://github.com/wandb/wandb/blob/main/wandb/automations/actions.py#L151)

## クラス wandb.automations.SendNotification

(Slack) 通知を送信するオートメーション action を定義します。

```python theme={"system"}
*,
integration_id: Annotated[str, Strict(strict=True)],
text: Annotated[str, BeforeValidator(func=<function default_if_none>, json_schema_input_type=PydanticUndefined)] = '',
level: Annotated[wandb.automations._generated.enums.AlertSeverity, BeforeValidator(func=<function default_if_none>, json_schema_input_type=PydanticUndefined), BeforeValidator(func=<function upper_if_str>, json_schema_input_type=PydanticUndefined)] = <AlertSeverity.INFO: 'INFO'>,
title: Annotated[str, BeforeValidator(func=<function default_if_none>, json_schema_input_type=PydanticUndefined)] = '',
action_type: Literal[NOTIFICATION] = NOTIFICATION
```

## 引数

**integration\_id** `アノテーション済み`

通知の送信に使用される Slack インテグレーションの ID です。

**text** `アノテーション済み`

送信される通知のメッセージ本文です。

**level** `アノテーション済み`

送信される通知の重大度 (`INFO`、`WARN`、`ERROR`) です。

**title** `アノテーション済み`

送信される通知のタイトルです。

**action\_type** `Literal`

説明は提供されていません。

## メソッド

### メソッド SendNotification.from\_integration()

```python theme={"system"}
integration: 'SlackIntegration', *,
title: 'str' = '',
text: 'str' = '',
level: 'AlertSeverity' = <AlertSeverity.INFO: 'INFO'>
```

指定された (Slack) インテグレーションに送信する通知 action を定義します。

##### 引数

**integration** `SlackIntegration`

説明は提供されていません。

**title** `str`

説明は提供されていません。

**text** `str`

説明は提供されていません。

**level** `AlertSeverity`

説明は提供されていません。
