# App vs Bot Use case

**URL:** <https://forums.rocket.chat/t/app-vs-bot-use-case/8704>\
**Category:** Development\
**Created:** [September 30, 2020, 12:46pm UTC](https://forums.rocket.chat/t/app-vs-bot-use-case/8704 "2020-09-30T12:46:04Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![alexis.genet](https://avatars.discourse-cdn.com/v4/letter/a/91b2a8/32.png) [@alexis.genet](https://forums.rocket.chat/u/alexis.genet)\
**Post date:** [September 30, 2020, 12:46pm UTC](https://forums.rocket.chat/t/app-vs-bot-use-case/8704/1 "2020-09-30T12:46:04Z")

</div>

Hi,

I think about create an interface to our ticketing system (OTRS).  
After some search i haven’t find any existing interface.

The purpose is to have a command to show a ticket summary by his id and on the over hand to send message to user when a ticket in is queue is modified.

To do that what is the best betwenn App and bot ?

Thanks

---

<div class="post-metadata">

**Author:** ![fdellwing](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/fdellwing/32/1737_2.png) [@fdellwing](https://forums.rocket.chat/u/fdellwing)\
**Post date:** [October 1, 2020, 10:49am UTC](https://forums.rocket.chat/t/app-vs-bot-use-case/8704/2 "2020-10-01T10:49:58Z")

</div>

I believe, that apps can only react to direct user interaction, like calling `/poll`. So for the second part of your interface you would most likely need a bot/incoming webhook.

---

<div class="post-metadata">

**Author:** ![alexis.genet](https://avatars.discourse-cdn.com/v4/letter/a/91b2a8/32.png) [@alexis.genet](https://forums.rocket.chat/u/alexis.genet)\
**Post date:** [October 1, 2020, 3:59pm UTC](https://forums.rocket.chat/t/app-vs-bot-use-case/8704/3 "2020-10-01T15:59:38Z")

</div>

Since yesterday i’ve search some information (documentation is very poor ☹ ) and found this video :  
Rocket.Chat Apps Development Webinar

[![](https://us1.discourse-cdn.com/flex021/uploads/rocketchat/original/2X/d/d4e6502a44307fe99db965b46c68a0d8c761d3f1.jpeg "Rocket.Chat Apps Development Webinar") ](https://www.youtube.com/watch?v=PaFPeD6QG9k)

and at 20:34 after deployement the app expose a POST webhook on localhost:3000/api/apps/public/…

So it seem an app be able to react a some external events like the BitBucket App : [https://docs.rocket.chat/guides/rocket-chat-apps/atlassian/bitbucket-server-integration](https://docs.rocket.chat/guides/rocket-chat-apps/atlassian/bitbucket-server-integration)

---

<div class="post-metadata">

**Author:** ![sing.li](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/sing.li/32/6_2.png) [@sing.li](https://forums.rocket.chat/u/sing.li)\
**Post date:** [October 2, 2020, 8:56pm UTC](https://forums.rocket.chat/t/app-vs-bot-use-case/8704/4 "2020-10-02T20:56:11Z")

</div>

Be sure to check out the various sample apps available. [https://github.com/RocketChat/Apps.GitHub](https://github.com/RocketChat/Apps.GitHub)

---

<div class="post-metadata">

**Author:** ![alexis.genet](https://avatars.discourse-cdn.com/v4/letter/a/91b2a8/32.png) [@alexis.genet](https://forums.rocket.chat/u/alexis.genet)\
**Post date:** [October 5, 2020, 7:33am UTC](https://forums.rocket.chat/t/app-vs-bot-use-case/8704/5 "2020-10-05T07:33:41Z")

</div>

Yes i’ve used this app as an example.

I made an app but it’s not clear in which case it’s better to create an app and in which cas a bot.
