Skip to main content
All CollectionsProduct InfoIntegrations
How to Push Notifications via Webhooks
How to Push Notifications via Webhooks
Alex Patnick avatar
Written by Alex Patnick
Updated yesterday

If you are using tools that allow you to create webhooks, Faddom can use them to publish notifications ensuring that you do not miss anything and can be alerted immediately when a notification is triggered.

To do so, you can follow the below guide. As an example, we have used Slack

slack.png
  1. Navigate to Settings > Notifications > Edit Channels​



  2. Click on New Channel then select Custom Webhook from the options

  3. In order to generate this from Slack, you need to Create a Slack application

    1. From Slack application go to File > Settings > Applications to open the Slack API webpage

    2. Click Create New App > From Scratch

    3. Provide a name for your application and choose your workspace

    4. Select Incoming Webhooks and enable them

    5. Click Install to Workspace then select the channel you wish to publish the notifications to

    6. From the menu on the left-hand side select Install App then under the Webhook URLs for Your Workspace copy the URL

  4. Enter the URL of the webhook including any query parameters you may need

  5. Select the media type to use for the body of the webhook message (in most cases this will be application/JSON)

  6. Provide the body format that Faddom will send. It is recommended to use the Faddom Placeholders (the variables are marked between $ signs) to add information from Foaddom to the message. Below is an example of the body structure in JSON format for reference.

    {"text":"date: $time$\nMessage: $message$\nFrom: $sender$"}
  7. You can add any custom HTTP headers you may require in the Header parameters section.

  8. Click Save and you will then see the webhook listed

Did this answer your question?