diff --git a/automations/create.mdx b/automations/create.mdx index d6a74b6a8..d4165f457 100644 --- a/automations/create.mdx +++ b/automations/create.mdx @@ -6,7 +6,7 @@ keywords: ["automation", "automate", "cron", "agent", "custom automation"] import GitlabAutomationSetup from '/snippets/gitlab-automation-setup.mdx'; -A custom automation runs the agent on a schedule, on repository pushes, or on connected integration events using instructions that you write. Use a custom automation when you need to automate a task that isn't covered by a [predefined automation](/automations/reference). +A custom automation runs the agent on a schedule, on repository pushes, on connected integration events, or on new Slack channel messages using instructions that you write. Use a custom automation when you need to automate a task that isn't covered by a [predefined automation](/automations/reference). For an overview of triggers, update modes, and configuration options shared across all automations, see [Automations](/automations). diff --git a/automations/index.mdx b/automations/index.mdx index fb2e5e27c..f5e059bb7 100644 --- a/automations/index.mdx +++ b/automations/index.mdx @@ -22,12 +22,13 @@ When an automation runs, the agent reads your project content and any connected ## Trigger types -Automations support four trigger types. +Automations support five trigger types. - **Content update**: Runs when content changes push to your Mintlify project repository, including pull request merges and direct pushes. - **Code change**: Runs when a pull request merges in a connected source code repository. - **Custom schedule**: Runs on a recurring schedule. Automations queue within 10 minutes of the scheduled time. - **Integration**: Runs when a selected event occurs in a connected shared integration. Requires an [Enterprise plan](https://mintlify.com/pricing?ref=automations). +- **Slack message**: Runs when a teammate posts a top-level message in a selected Slack channel. The agent reads each new message and decides whether it warrants an action. Requires the [Mintlify Slack app](/agent/slack). Each automation has exactly one trigger. You cannot combine trigger types in a single automation. diff --git a/automations/manage.mdx b/automations/manage.mdx index 0a0784aa4..29b8262f0 100644 --- a/automations/manage.mdx +++ b/automations/manage.mdx @@ -45,6 +45,7 @@ Each automation has a default trigger that controls when it runs. To change the - **Code change**: Runs when a pull request merges in a connected source code repository. You must specify at least one source repository. - **Custom schedule**: Runs on a recurring schedule you define. Automations queue within 10 minutes of the scheduled time. - **Integration**: Runs when a selected event occurs in a connected shared integration. Available for custom automations. Select the integration and event, then complete any additional event fields that appear. +- **Slack message**: Runs when a teammate posts a top-level message in one of the selected Slack channels. Available for custom automations. Requires the [Mintlify Slack app](/agent/slack). Select one or more channels to listen to. The trigger ignores thread replies, edits, and messages from bots or the Mintlify app itself. The agent reads each new message and decides whether to take action. ### Update mode