Posting Slack notifications using smart snippets
Fernand's smart snippet feature makes it easy to quickly communicate critical information to your team through Slack. By setting up an incoming webhook, you can automatically send important alerts and updates directly to a Slack channel of your choice.
Set up a Slack Incoming Webhook
To get started, you'll need to create a new incoming webhook integration in Slack:
Log in to your Slack workspace and navigate to the Slack API page.
Click
Create New App
and selectFrom Scratch
.Give your app a name and select the Slack workspace you want to add it to.
In the left-hand menu, click
Incoming Webhooks
and toggle the setting toOn
.Click
Add New Webhook to Workspace
and select the channel you want to post messages to.Copy the Webhook URL provided - you'll need this to set up the integration with Fernand.
Connect Your Slack Webhook to Fernand
Now that you have your Slack webhook URL, you can easily connect it to Fernand's smart snippet feature:
In Fernand, create a new smart snippet and select "Send to a Webhook" as the action.
Select
POST
method, and paste the Webhook URL you copied earlier into the URL field.Customize the JSON payload to include the information you want to send to Slack. For example:
{
"text": "${contact_name} reported a critical bug\n*${subject}*\n<${url}|Open conversation on Fernand>"
}
Save your smart snippet and you're all set! Whenever you activate this smart snippet, Fernand will automatically send an alert to your Slack channel.
Tips
You can use the
${contact_name}
,${subject}
and${url}
variables to dynamically populate the Slack message with relevant details from Fernand.You can add additional actions to your smart snippet like adding a tag, notifying someone, or snoozing the conversation for later.
Choose an appropriate emoji to visually indicate the severity or importance of the alert.
With Fernand's smart snippet feature and Slack incoming webhooks, you can streamline your team's communication and stay on top of critical issues quickly and efficiently.