# Voiceflow based Notifications on business communication apps

What is a notification on a business app exactly? FlowBridge allows you to connect Discord, Slack or Microsoft Teams as a notification service. This allows you to import the FlowBridge Alerts custom function in to your voiceflow build, and set a message in the function. When triggered, FlowBridge will send an alert to the chosen business app with the message.&#x20;

This is a simple, yet powerful concept. It essentially allows you to notify yourself, or a business about things that happened in the flow. Here are some potential use-cases for it:

* You want to send a notification on your Slack about an API error the in the flow
* A call-to-action has been achieved and you want send a message on your Microsoft Teams server that a new user has successfully signed up for something
* When a user wants to speak to a person, you can trigger an alert to a Discord/Slack server notifying you should initiate human handoff for a conversation&#x20;
* Many more things that require you to be notified about something

**Important note:** The function will not work if using the Run in the designer. It requires testing through one of the social channels.<br>

{% embed url="<https://www.youtube.com/watch?embeds_referring_euri=https://support.flowbridge.app/&v=vzWh3GZK6Eg>" %}

## How to use it?

You need 2 things to make this work

1. You will need to download the custom function below and import it to your Voiceflow build
   1. [Click here to download the FlowBridge Alert custom voiceflow function](https://flowbridge-public-storage-production.s3.eu-west-3.amazonaws.com/functions/FlowBridge_Alert_20240424.json)
   2. If it shows up a bunch of text rather than a download, press CTRL + S (or Command + S for mac) to download the page and save it as `FlowBridge_Alert_20240424.json`&#x20;
   3. Import the custom function in to your voiceflow project and select the "Function" step, drag it to your canvas and select the newely added function from the dropdown.
2. You will need to generate a webhook for one of the supported platforms (Slack, Discord, Microsoft Teams)
   1. [Click here to learn how to set up FlowBridge Alerts for Slack](https://www.notion.so/129419fb8eb780b583a7c95028096182?pvs=21)
   2. [Click here to learn how to set up FlowBridge Alerts for Discord](https://www.notion.so/129419fb8eb78021b0fec62cfe02d4b5?pvs=21)
   3. [Click here to learn how to set up FlowBridge Alerts for Microsoft Teams](https://www.notion.so/129419fb8eb780c99460d41a8cf9a2fd?pvs=21)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.flowbridge.app/documentation/basics/voiceflow-based-notifications-on-business-communication-apps.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
