The subscription for new user sign-up events via webhook now extends its support to Teams Incoming Webhook, Google Chat webhook as well, having previously been limited to Discord and Slack only.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
## 📋 Pull Request Information
**Original PR:** https://github.com/open-webui/open-webui/pull/1305
**Author:** [@changchiyou](https://github.com/changchiyou)
**Created:** 3/26/2024
**Status:** ✅ Merged
**Merged:** 3/27/2024
**Merged by:** [@tjbck](https://github.com/tjbck)
**Base:** `dev` ← **Head:** `feat/Teams_Incoming_Webhook`
---
### 📝 Commits (4)
- [`5eac5c5`](https://github.com/open-webui/open-webui/commit/5eac5c54f8577c50e35a7ce1c64fc70f25fccd07) feat: Teams MessageCard
- [`427ca4e`](https://github.com/open-webui/open-webui/commit/427ca4e3f5ac7e83484bfd2e86c11d16d7382dfe) refactor: dynamically swap `activitySubtitle` and `activityImage` if `CUSTOM_NAME` has been set
- [`0b62bbb`](https://github.com/open-webui/open-webui/commit/0b62bbb52eab853e20ee85a2a855518f2bc2cbc7) Merge branch 'dev' into feat/Teams_Incoming_Webhook
- [`d69dfb7`](https://github.com/open-webui/open-webui/commit/d69dfb7c8b2183a633bd849839e056e9317d4803) feat: support google chat webhook
### 📊 Changes
**2 files changed** (+31 additions, -4 deletions)
<details>
<summary>View changed files</summary>
📝 `backend/config.py` (+2 -1)
📝 `backend/utils/webhook.py` (+29 -3)
</details>
### 📄 Description
## Pull Request Checklist
- [x] **Description:** Briefly describe the changes in this pull request.
- [x] **Changelog:** Ensure a changelog entry following the format of [Keep a Changelog](https://keepachangelog.com/) is added at the bottom of the PR description.
- [x] **Documentation:** Have you updated relevant documentation?
> There are no relevant documents, so there's no need for an update.
- [x] **Dependencies:** Are there any new dependencies? Have you updated the dependency versions in the documentation?
> No. No need.
---
## Description
Enhance the new feature `🔗 Webhook Integration` in [v0.1.114](https://github.com/open-webui/open-webui/releases/tag/v0.1.114) to support:
1. Teams Incoming Webhook:
|Default|`CUSTOM_NAME=doge`|
|-|-|
| <img src="https://github.com/open-webui/open-webui/assets/46549482/255fe6a1-f802-434a-ba21-634bdbf41130" alt="image" width="400"> | <img src="https://github.com/open-webui/open-webui/assets/46549482/8497b3c9-680a-4825-ae66-07e0c17ebf36" alt="image" width="400"> |
Refer to:
- [Microsoft Learn - Send notifications to a Microsoft Teams channel from an Azure Data Factory or Synapse Analytics pipeline](https://learn.microsoft.com/en-us/azure/data-factory/how-to-send-notifications-to-teams?tabs=data-factory)
- [Microsoft Learn - Create Incoming Webhooks](https://learn.microsoft.com/en-us/microsoftteams/platform/webhooks-and-connectors/how-to/add-incoming-webhook?tabs=newteams%2Cdotnet)
2. Google Chat webhooks:
https://github.com/open-webui/open-webui/pull/1305/commits/d69dfb7c8b2183a633bd849839e056e9317d4803 by @justinh-rahb
---
### Changelog Entry
### Changed
- The subscription for new user sign-up events via webhook now extends its support to Teams Incoming Webhook, Google Chat webhook as well, having previously been limited to Discord and Slack only.
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/1305
Author: @changchiyou
Created: 3/26/2024
Status: ✅ Merged
Merged: 3/27/2024
Merged by: @tjbck
Base:
dev← Head:feat/Teams_Incoming_Webhook📝 Commits (4)
5eac5c5feat: Teams MessageCard427ca4erefactor: dynamically swapactivitySubtitleandactivityImageifCUSTOM_NAMEhas been set0b62bbbMerge branch 'dev' into feat/Teams_Incoming_Webhookd69dfb7feat: support google chat webhook📊 Changes
2 files changed (+31 additions, -4 deletions)
View changed files
📝
backend/config.py(+2 -1)📝
backend/utils/webhook.py(+29 -3)📄 Description
Pull Request Checklist
Description
Enhance the new feature
🔗 Webhook Integrationin v0.1.114 to support:Teams Incoming Webhook:
CUSTOM_NAME=dogeRefer to:
Google Chat webhooks:
https://github.com/open-webui/open-webui/pull/1305/commits/d69dfb7c8b2183a633bd849839e056e9317d4803 by @justinh-rahb
Changelog Entry
Changed
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.