Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Feature Requests
  3. Event to Webhooks

Event to Webhooks

Scheduled Pinned Locked Moved Feature Requests
18 Posts 9 Posters 3.3k Views 9 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • MooCloud_MattM Offline
    MooCloud_MattM Offline
    MooCloud_Matt
    wrote on last edited by
    #1

    A good addition to the Cloudron API, is 4 shore the possibility to been notify of the event accruing on the server with webhooks.

    For us business is a good feature, to help us setup action or workflow base on them, increse security and stability are consequences.

    For private geek user, they can setup telegram or main with notification coming from there server, that will make a smoother experience with there server.

    Event are already json, we just need to be able to send them to an endpoint, maybe with the possibility to choose witch event we want to receive.

    Matteo. R.
    Founder and Tech-Support Manager.
    MooCloud MSP
    Swiss Managed Service Provider

    1 Reply Last reply
    9
    • LonkleL Offline
      LonkleL Offline
      Lonkle
      wrote on last edited by
      #2

      I'm very for this idea. It sounds like this could be a quick conditional at the end of a Cloudron API call function to send it's results to a user input link.

      The hard part would be the user interface in the Cloudron's backend to let the user configure web hooks, but like you said, most of that would just be foreach all the API functions to populate a dropdown and a repeating input field for a variable amount of web hooks (as well as a wildcard to "send all events to https://example.com web hook").

      MooCloud_MattM 1 Reply Last reply
      1
      • LonkleL Lonkle

        I'm very for this idea. It sounds like this could be a quick conditional at the end of a Cloudron API call function to send it's results to a user input link.

        The hard part would be the user interface in the Cloudron's backend to let the user configure web hooks, but like you said, most of that would just be foreach all the API functions to populate a dropdown and a repeating input field for a variable amount of web hooks (as well as a wildcard to "send all events to https://example.com web hook").

        MooCloud_MattM Offline
        MooCloud_MattM Offline
        MooCloud_Matt
        wrote on last edited by
        #3

        @lonk

        i think just basic one like:

        • Need reboot

        • Update available

        • Admin/Super Admin/Owner User login

        • Backup Faild

        But if is something like stripe webhook that is amazing!

        Matteo. R.
        Founder and Tech-Support Manager.
        MooCloud MSP
        Swiss Managed Service Provider

        LonkleL LanhildL 2 Replies Last reply
        3
        • MooCloud_MattM MooCloud_Matt

          @lonk

          i think just basic one like:

          • Need reboot

          • Update available

          • Admin/Super Admin/Owner User login

          • Backup Faild

          But if is something like stripe webhook that is amazing!

          LonkleL Offline
          LonkleL Offline
          Lonkle
          wrote on last edited by
          #4

          @moocloud_matt said in Event to Webhooks:

          But if is something like stripe webhook that is amazing!

          This is exactly what I was thinking. Stripe's web hook system is one of the best out there.

          1 Reply Last reply
          1
          • nebulonN Offline
            nebulonN Offline
            nebulon
            Staff
            wrote on last edited by
            #5

            I think this could be useful as well. I've created an issue in gitlab for this at https://git.cloudron.io/cloudron/box/-/issues/773

            I don't think it will be part of 6.2 though.

            1 Reply Last reply
            3
            • d19dotcaD Offline
              d19dotcaD Offline
              d19dotca
              wrote on last edited by
              #6

              I may be stretching this feature request a bit, but I wonder if something like this could also be used for updating a status page? I currently use UptimeRobot using webhooks to create incidents in the status page hosted on Instatus which supports webhooks. Might be nice to have Cloudron effectively do that task of UptimeRobot to some degree since it already does health checks anyways, though I suppose that's not the best to rely on since if the entire server crashed then there'd be no update and only something external like UptimeRobot would notify in that case. Might be a neat use-case though still especially for anyone who wants an included service and isn't running anything absolutely critical. Just suggesting it as a possible use-case even if it has some flaws. 😛

              --
              Dustin Dauncey
              www.d19.ca

              girishG 1 Reply Last reply
              1
              • d19dotcaD d19dotca

                I may be stretching this feature request a bit, but I wonder if something like this could also be used for updating a status page? I currently use UptimeRobot using webhooks to create incidents in the status page hosted on Instatus which supports webhooks. Might be nice to have Cloudron effectively do that task of UptimeRobot to some degree since it already does health checks anyways, though I suppose that's not the best to rely on since if the entire server crashed then there'd be no update and only something external like UptimeRobot would notify in that case. Might be a neat use-case though still especially for anyone who wants an included service and isn't running anything absolutely critical. Just suggesting it as a possible use-case even if it has some flaws. 😛

                girishG Offline
                girishG Offline
                girish
                Staff
                wrote on last edited by
                #7

                @d19dotca yes, definitely, if the status page has support for incoming webhooks.

                for me, the use case is have up/down events of apps in our rocket.chat. we just have to pipe the notification stuff to a webhook, it's fairly straightforward to implement this feature.

                LonkleL 1 Reply Last reply
                4
                • girishG girish

                  @d19dotca yes, definitely, if the status page has support for incoming webhooks.

                  for me, the use case is have up/down events of apps in our rocket.chat. we just have to pipe the notification stuff to a webhook, it's fairly straightforward to implement this feature.

                  LonkleL Offline
                  LonkleL Offline
                  Lonkle
                  wrote on last edited by
                  #8

                  @girish said in Event to Webhooks:

                  @d19dotca yes, definitely, if the status page has support for incoming webhooks.

                  for me, the use case is have up/down events of apps in our rocket.chat. we just have to pipe the notification stuff to a webhook, it's fairly straightforward to implement this feature.

                  For my use case I only need up and down events. But are you planning on adding a web hook for all notifications?

                  M 1 Reply Last reply
                  1
                  • LonkleL Lonkle

                    @girish said in Event to Webhooks:

                    @d19dotca yes, definitely, if the status page has support for incoming webhooks.

                    for me, the use case is have up/down events of apps in our rocket.chat. we just have to pipe the notification stuff to a webhook, it's fairly straightforward to implement this feature.

                    For my use case I only need up and down events. But are you planning on adding a web hook for all notifications?

                    M Offline
                    M Offline
                    manngobaum
                    wrote on last edited by
                    #9

                    @girish Any news regarding notification webhooks? I am searching for a solution where I am informed every time something happens on my Cloudron. Or are there already implementations e.g. with Signal oder Telegram?

                    jdaviescoatesJ girishG 2 Replies Last reply
                    1
                    • M manngobaum

                      @girish Any news regarding notification webhooks? I am searching for a solution where I am informed every time something happens on my Cloudron. Or are there already implementations e.g. with Signal oder Telegram?

                      jdaviescoatesJ Offline
                      jdaviescoatesJ Offline
                      jdaviescoates
                      wrote on last edited by
                      #10

                      @manngobaum for now check out the notifications available via Uptime Kuma 🙂

                      I use Cloudron with Gandi & Hetzner

                      1 Reply Last reply
                      1
                      • M manngobaum

                        @girish Any news regarding notification webhooks? I am searching for a solution where I am informed every time something happens on my Cloudron. Or are there already implementations e.g. with Signal oder Telegram?

                        girishG Offline
                        girishG Offline
                        girish
                        Staff
                        wrote on last edited by
                        #11

                        @manngobaum No update, we may look into it in Cloudron 8 timeframe.

                        M 1 Reply Last reply
                        1
                        • girishG girish

                          @manngobaum No update, we may look into it in Cloudron 8 timeframe.

                          M Offline
                          M Offline
                          manngobaum
                          wrote on last edited by
                          #12

                          @girish Thanks, looking forward to it 🙂

                          @jdaviescoates I built something with n8n. Easy but straight forward:
                          https://forum.cloudron.io/topic/7139/cloudron-notifications-in-telegram

                          1 Reply Last reply
                          1
                          • LonkleL Offline
                            LonkleL Offline
                            Lonkle
                            wrote on last edited by
                            #13

                            Hoping this is a go for Cloudron 8, I still think it's a wonderful idea.

                            1 Reply Last reply
                            2
                            • LonkleL Lonkle referenced this topic on
                            • MooCloud_MattM MooCloud_Matt

                              @lonk

                              i think just basic one like:

                              • Need reboot

                              • Update available

                              • Admin/Super Admin/Owner User login

                              • Backup Faild

                              But if is something like stripe webhook that is amazing!

                              LanhildL Offline
                              LanhildL Offline
                              Lanhild
                              App Dev
                              wrote on last edited by
                              #14

                              @MooCloud_Matt

                              Audits and base notifications are two different matters.

                              I think what should be prioritized are base notifications, just like the notifications view in the dashboard.

                              Maybe a first release could be forwarding all the notifications from the notifications view to webhooks?

                              LanhildL 1 Reply Last reply
                              0
                              • LanhildL Lanhild

                                @MooCloud_Matt

                                Audits and base notifications are two different matters.

                                I think what should be prioritized are base notifications, just like the notifications view in the dashboard.

                                Maybe a first release could be forwarding all the notifications from the notifications view to webhooks?

                                LanhildL Offline
                                LanhildL Offline
                                Lanhild
                                App Dev
                                wrote on last edited by
                                #15

                                @Lanhild I've built a simple n8n workflow that the queries the Cloudron API.

                                The workflow runs every 12 hours, and checks if the server needs a reboot based on the payload returned by the API.
                                If yes, send a notification to Mattermost.

                                It's great, but only notifies me of necessary reboots, not manual updates notices, or other notifications going on the dashboard.

                                necrevistonnezrN 1 Reply Last reply
                                2
                                • LanhildL Lanhild

                                  @Lanhild I've built a simple n8n workflow that the queries the Cloudron API.

                                  The workflow runs every 12 hours, and checks if the server needs a reboot based on the payload returned by the API.
                                  If yes, send a notification to Mattermost.

                                  It's great, but only notifies me of necessary reboots, not manual updates notices, or other notifications going on the dashboard.

                                  necrevistonnezrN Offline
                                  necrevistonnezrN Offline
                                  necrevistonnezr
                                  wrote on last edited by
                                  #16

                                  @Lanhild said in Event to Webhooks:

                                  @Lanhild I've built a simple n8n workflow that the queries the Cloudron API.

                                  Wanna share? 😉

                                  LanhildL 1 Reply Last reply
                                  2
                                  • necrevistonnezrN necrevistonnezr

                                    @Lanhild said in Event to Webhooks:

                                    @Lanhild I've built a simple n8n workflow that the queries the Cloudron API.

                                    Wanna share? 😉

                                    LanhildL Offline
                                    LanhildL Offline
                                    Lanhild
                                    App Dev
                                    wrote on last edited by
                                    #17

                                    @necrevistonnezr https://gist.github.com/Lanhild/f5259f2afafc99037a6a0c05f3b7e452

                                    necrevistonnezrN 1 Reply Last reply
                                    1
                                    • LanhildL Lanhild

                                      @necrevistonnezr https://gist.github.com/Lanhild/f5259f2afafc99037a6a0c05f3b7e452

                                      necrevistonnezrN Offline
                                      necrevistonnezrN Offline
                                      necrevistonnezr
                                      wrote on last edited by
                                      #18

                                      @Lanhild Thanks!!

                                      1 Reply Last reply
                                      0
                                      Reply
                                      • Reply as topic
                                      Log in to reply
                                      • Oldest to Newest
                                      • Newest to Oldest
                                      • Most Votes


                                      • Login

                                      • Don't have an account? Register

                                      • Login or register to search.
                                      • First post
                                        Last post
                                      0
                                      • Categories
                                      • Recent
                                      • Tags
                                      • Popular
                                      • Bookmarks
                                      • Search