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

# Mattermost Provider

> Mattermost provider is used to send messages to Mattermost.

## Authentication

This provider requires authentication.

* **webhook\_url**: Mattermost Webhook Url (required: True, sensitive: True)

## In workflows

This provider can be used in workflows.

As "action" to make changes or update data, example:

```yaml theme={null}
actions:
    - name: Query mattermost
      provider: mattermost
      config: "{{ provider.my_provider_name }}"
      with:
        message: {value}  # The content of the message.
        attachments: {value}  # The attachments of the message.
        channel: {value}  # The channel to send the message
```

If you need workflow examples with this provider, please raise a [GitHub issue](https://github.com/keephq/keep/issues).

## Connecting with the Provider

1. **Obtain a Mattermost Webhook URL:**
   * Go to the Mattermost Incoming Webhook API documentation: [Mattermost Incoming Webhooks](https://docs.mattermost.com/developer/webhooks-incoming.html).
   * Follow the instructions to create a new incoming webhook.
   * Copy the generated webhook URL, which should be passed as the `webhook_url` for authentication.

## Useful Links

* [Mattermost Incoming Webhooks](https://developers.mattermost.com/integrate/webhooks/incoming/)
