summaryrefslogtreecommitdiffstats
path: root/doc/integrations
diff options
context:
space:
mode:
authorJoramWilander <jwawilander@gmail.com>2015-10-26 07:53:11 -0400
committerJoramWilander <jwawilander@gmail.com>2015-10-26 07:56:04 -0400
commitf6a660cf4a544d242c6aecc5ec51d4f7bdd4fc8b (patch)
tree383e7e82bc98388988b61f9e56c560312ce4967c /doc/integrations
parent9dc6308f1c8b05ba905257c206fe7d75eb6743c0 (diff)
downloadchat-f6a660cf4a544d242c6aecc5ec51d4f7bdd4fc8b.tar.gz
chat-f6a660cf4a544d242c6aecc5ec51d4f7bdd4fc8b.tar.bz2
chat-f6a660cf4a544d242c6aecc5ec51d4f7bdd4fc8b.zip
Minor updates to outgoing webhook doc
Diffstat (limited to 'doc/integrations')
-rw-r--r--doc/integrations/webhooks/Outgoing-Webhooks.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/integrations/webhooks/Outgoing-Webhooks.md b/doc/integrations/webhooks/Outgoing-Webhooks.md
index 93f26eb98..9cfde9606 100644
--- a/doc/integrations/webhooks/Outgoing-Webhooks.md
+++ b/doc/integrations/webhooks/Outgoing-Webhooks.md
@@ -9,7 +9,7 @@ A couple key points:
_Example:_
-Suppose you had an external application that recieved a post event asking for the status of a daily build. The application could respond with a table of total tests run and total tests failed by component category, with links to failed tests by category. An example response the application could respond with would be:
+Suppose you had an external application that recieved a post event whenever a message starting with `#build`. If a user posted the message `#build Let's see the status`, then the external application would receive an HTTP POST with data about that message. The application could then respond with a table of total tests run and total tests failed by component category, with links to failed tests by category. An example response might be:
```
{"text": "
---
@@ -45,7 +45,7 @@ Outgoing webhooks should be enabled on your Mattermost instance by default, but
Once outgoing webhooks are enabled, you will be able to set one up through the Mattermost UI. You will need to know the following
1. The channel (if not all of them) you want to listen to post events from
-2. The trigger words (if any) at the beginning of the post will trigger a post event
+2. The trigger words (if any) that will trigger a post event if they are the **first word** of the post
3. The URL you want Mattermost to report the events to
Once you have those, you can follow these steps to set up your webhook: