# \[SOLVED\] Make integration mattermost and slack friendly

**URL:** <https://forum.mattermost.com/t/solved-make-integration-mattermost-and-slack-friendly/2015>\
**Category:** Troubleshooting\
**Created:** [August 4, 2016, 1:27pm UTC](https://forum.mattermost.com/t/solved-make-integration-mattermost-and-slack-friendly/2015 "2016-08-04T13:27:24Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jrock2004](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/jrock2004/32/854_2.png) [@jrock2004](https://forum.mattermost.com/u/jrock2004)\
**Post date:** [August 4, 2016, 1:27pm UTC](https://forum.mattermost.com/t/solved-make-integration-mattermost-and-slack-friendly/2015/1 "2016-08-04T13:27:24Z")

</div>

So I have a built a cool plugin that returns some information about an anime that the user searches for. Now I am trying to make this integration more compatible with MM since I can return markdown for MM.

So my question is, is there a way my app can tell that the post request is coming from mattermost vs slack? Thanks

---

<div class="post-metadata">

**Author:** ![hmhealey](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/hmhealey/32/1915_2.png) [@hmhealey](https://forum.mattermost.com/u/hmhealey)\
**Post date:** [August 9, 2016, 1:37pm UTC](https://forum.mattermost.com/t/solved-make-integration-mattermost-and-slack-friendly/2015/2 "2016-08-09T13:37:24Z")

</div>

Hi @jrock2004,

We don’t have any plans for that yet, but it does sound useful. If you submit a [feature idea](https://www.mattermost.org/feature-ideas/) on our feature idea forum, community members could vote on it and we can prioritize accordingly.

---

<div class="post-metadata">

**Author:** ![it33](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/it33/32/3_2.png) [@it33](https://forum.mattermost.com/u/it33)\
**Post date:** [August 9, 2016, 2:07pm UTC](https://forum.mattermost.com/t/solved-make-integration-mattermost-and-slack-friendly/2015/3 "2016-08-09T14:07:49Z")

</div>

Hi @jrock2004,

Potentially you could try to look for “[slack.com](http://slack.com)” in the URL string,

What most integrations do is have a mode or setting for Mattermost where you can take advantage of what it can do beyond Slack, e.g. when you enter the URL you just manually set a flag to indicate it’s Mattermost.

Does this help?

---

<div class="post-metadata">

**Author:** ![jrock2004](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/jrock2004/32/854_2.png) [@jrock2004](https://forum.mattermost.com/u/jrock2004)\
**Post date:** [August 9, 2016, 3:41pm UTC](https://forum.mattermost.com/t/solved-make-integration-mattermost-and-slack-friendly/2015/4 "2016-08-09T15:41:14Z")

</div>

So you are saying to add another parameters to the call?

/command my text mattermost

---

<div class="post-metadata">

**Author:** ![jrock2004](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/jrock2004/32/854_2.png) [@jrock2004](https://forum.mattermost.com/u/jrock2004)\
**Post date:** [August 16, 2016, 8:35pm UTC](https://forum.mattermost.com/t/solved-make-integration-mattermost-and-slack-friendly/2015/5 "2016-08-16T20:35:05Z")

</div>

Ok, I just noticed that in the response coming in there is a response\_url. When it comes from slack, the URL has the word slack in it. So this is how I did it and it works
