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:

  1. Log in to your Slack workspace and navigate to the Slack API page.

  2. Click Create New App and select From Scratch.

  3. Give your app a name and select the Slack workspace you want to add it to.

  4. In the left-hand menu, click Incoming Webhooks and toggle the setting to On.

  5. Click Add New Webhook to Workspace and select the channel you want to post messages to.

  6. 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:

  1. In Fernand, create a new smart snippet and select "Send to a Webhook" as the action.

  2. Select POST method, and paste the Webhook URL you copied earlier into the URL field.

  3. 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>"

    }

  4. 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.

Was this helpful?