Quick Start¶
Get your first Slack notification working in minutes!
Prerequisites¶
Before you begin, make sure you have:
- A Bot Token (Bot guide) OR Slack webhook URL (Webhook guide)
- A Nextflow pipeline (v25.04.0 or later)
- Basic familiarity with Nextflow configuration
Step 1: Add the Plugin¶
Add the nf-slack plugin to your nextflow.config:
Using Multiple Plugins?
If you already have a plugins block, just add the nf-slack entry:
Step 2: Configure the Plugin¶
Add the Slack configuration block with your Bot Token:
slack {
enabled = true
// Option A: Bot User
bot {
token = 'xoxb-your-token'
channel = 'general'
}
// Option B: Webhook
// webhook {
// url = 'https://hooks.slack.com/services/YOUR/WEBHOOK/URL'
// }
}
Security Best Practice
Don't hardcode your webhook URL! Use environment variables or Nextflow secrets instead:
Step 3: Run Your Pipeline¶
That's it! Run your pipeline normally:
You'll receive Slack notifications when your pipeline:
- 🚀 Starts
- ✅ Completes successfully
- ❌ Fails

Next Steps¶
Now that you have basic notifications working, learn how to:
- Customize automatic notifications
- Send custom messages from your workflow
- Configure advanced options
- View more examples
Need Help?¶
- Review the API Reference
- Open an issue on GitHub