Skip to main content

Enable Notification

Create a Teams Channel and Webhooks

To enable Notification, you need to create a Teams Channel where the notification will be sent to and create a 3 Webhooks in the channel. Follow the steps below to create the Teams Channel and Webhooks:

  1. Create a Teams Channel, You can use any name according to your standard. e.g Penfield Notifications

  2. To create Webhook in that channel:

    • Go to the above created channel
    • Click on ... and Manage channel
    • Click on Connectors >> Edit
    • Under Incoming Webhook click on Configure
    • Use the Name and Image as below for 3 Webhooks. You need to repeat previous step for 3 Webhooks.
    • Once created, you will get the Webhook URL. Copy the URL and save it for later use.

    Webhook 1:

    • Name: Penfield
    • Image:

    Webhook 2:

    • Name: Alice
    • Image:

    Webhook 3:

    • Name: John
    • Image:

Share the Webhook URL with Penfield

Once the Webhook is created, you need to share the Webhook URL with Penfield securely, Please do not share the Webhook URLs via email in plain text.

Update Penfield App Configuration (Only if you self managed deployment)

  1. Make sure you have these values:

    • Webhook URL of Penfield
    • Webhook URL of Alice
    • Webhook URL of John
  2. To enable Notification service in penfield-app, you need to do the following steps:

    • Update the penfield-values.yaml file to enable the notification service.
    • Update the penfield-secrets.yaml file to add the MS_TEAMS_WEBHOOK_URLS secret.
      MS_TEAMS_WEBHOOK_URLS: <base64-encoded value>
    • Use the format below for webhook URLs, then base64-encode it before adding it to the secret:
      { "alice": "https://webhook_url_of_alice", "john": "https://webhook_url_of_john", "penfield": "https://webhook_url_of_penfield" }
    • Deploy the changes to the penfield-app.