Navigation

    Kopano
    • Register
    • Login
    • Search
    • Categories
    • Get Official Kopano Support
    • Recent
    Statement regarding the closure of the Kopano community forum and the end of the community edition

    Mattermost WebHook

    Kopano Mattermost
    2
    2
    919
    Loading More Posts
    • 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.
    • A.Altenhoff
      A.Altenhoff last edited by

      Hello,

      is there anyone here who is familiar with the Mattermost WebHooks?

      I have created a WebHook and use it for info messages from a CRM.
      For this we created and executed a python file at an event.
      Unfortunately, my user is always the sender.
      Is it possible to vary the sender?

      Does anyone possibly know a description that goes further than the,
      which is on the help page?

      Thanks,

      Alexander Altenhoff

      import json
      import requests
      url = 'https://webadresse:8234/hooks/hook_string' 
      payload = {"channel": "@empfänger", "username": "Info vom CRM", "text": "Info an:  Hier steht die Information!!!" } 
      headers = {"content-type" : "application/json"}
      r = requests.post(url, data=json.dumps(payload), headers=headers) 
      print (r.text) ```
      1 Reply Last reply Reply Quote 0
      • fbartels
        fbartels Kopano last edited by

        As per your signature you are still on Mattermost 4.4.2. Why are you so far behind? Also Core, WebApp and Z-push have seen quite some releases meanwhile…

        as for your question. it seems you are looking for https://docs.mattermost.com/administration/config-settings.html#enable-integrations-to-override-usernames

        Regards Felix

        Resources:
        https://kopano.com/blog/how-to-get-kopano/
        https://documentation.kopano.io/
        https://kb.kopano.io/

        Support overview:
        https://kopano.com/support/

        1 Reply Last reply Reply Quote 0
        • First post
          Last post