Prerequisites
Before setting up the integration, ensure you have:- Administrative access to your Corgea account
- Appropriate permissions in your Slack workspace
Setting Up Slack Workflow Builder
This method provides flexibility by allowing you to create custom workflows that can route notifications to different channels or trigger other automated actions.Create a Workflow
- In Slack, click on your workspace name
- Select “Tools” → “Workflow Builder”
- Click “Create” to start a new workflow
- Select “Webhook” as the trigger
- Give your workflow a name and click “Next”
Configure Workflow Steps
- After creating the webhook, copy the provided Webhook URL
- Add steps to your workflow (e.g., “Send a message”)
- Configure the message format using variables from the webhook payload
scan.completed webhook event. Here’s an example payload:- Click “Add a Step” and then select “Finish Up”
- Sending messages to multiple channels
- Creating reminders
- Updating channel topics
- Integrating with other Slack apps
- Make sure the workflow details and permission are correct before publishing.
Notification Content
Corgea sends scan details in thescan.completed webhook payload, including:
- Scan ID
- Project name
- Total issue count
- Issue fix counts
- Severity and classification breakdowns
Customization Options
With Workflow Builder, you can:- Create conditional logic for different types of notifications
- Route messages to different channels based on severity
- Trigger custom automations based on scan results
- Integrate with other Slack workflows and apps
- Use variables to customize message format and content
