ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Slack query

    IT Discussion
    1
    2
    296
    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.
    • L
      Laksh1999
      last edited by

      I am trying to create a slack channels with the outputs in numbers through form in it.

      I am trying to make colors for the outputs.

      Example ) SLA : 100% means the background color of the number needs to be in green background. Any have tried this before ? If yes kindly share the link for the same.

      How to code inside the slack message box and automate the output through webhook ?

      L 1 Reply Last reply Reply Quote 1
      • L
        Laksh1999 @Laksh1999
        last edited by

        @laksh1999

        How to create an attachment in this ?
        anyone used builder kit in slack ?

        $Webhook = "https://hooks.slack.com/workflows"
        $ContentType= 'application/json'
        $Body = @"
          {
                "text": "Update your Status + :sunglasses: + $(Get-Date -format g)",
        	
            }
        "@
        Invoke-RestMethod -uri $Webhook -Method Post -body $Body -ContentType $ContentType
        
        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post