Announcement

Collapse
No announcement yet.

Help sending http webhook to Stringify

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Help sending http webhook to Stringify

    I'm trying to send a webhook to Stringify to run a flow and i cant seem to get it to work right.
    This is what I need to send
    https://webhooks.stringify.com/v1/ev...ol0dVzUJIg3MiW

    I have tried to use an immediate script in an event with hs.geturl but I get errors, really not sure what to do

    Thanx
    John

    #2
    what errors do you get and can you post the command you are sending with geturl?

    Comment


      #3
      Here is part of my log with a couple of errors trying it different ways:

      Jul-23 3:17:50 PM Error Running script(2) &hs.geturl "https://webhooks.stringify.com/v1/events/fEKBTcS1iCb3F99yGsNpV9svvetMzGwG/1/9de8b385862391f44f018b19efc040ed/RdqS4z0lnSYSsYPDuCow", init error: Syntax error
      Jul-23 3:17:50 PM Event Running script statement immediately: &hs.geturl "https://webhooks.stringify.com/v1/events/fEKBTcS1iCb3F99yGsNpV9svvetMzGwG/1/9de8b385862391f44f018b19efc040ed/RdqS4z0lnSYSsYPDuCow"
      Jul-23 3:17:50 PM Event Event Trigger "Test Entry Light On - Copy"
      Jul-23 3:17:50 PM Event Event Test Entry Light On - Copy triggered by the event page 'Run' button.
      Jul-23 3:16:50 PM Error Running script(2) &hs.geturl "https://webhooks.stringify.com", "/v1/events/fEKBTcS1iCb3F99yGsNpV9svvetMzGwG/1/9de8b385862391f44f018b19efc040ed/RdqS4z0lnSYSsYPDuCow", init error: Syntax error
      Jul-23 3:16:50 PM Event Running script statement immediately: &hs.geturl "https://webhooks.stringify.com", "/v1/events/fEKBTcS1iCb3F99yGsNpV9svvetMzGwG/1/9de8b385862391f44f018b19efc040ed/RdqS4z0lnSYSsYPDuCow"
      Jul-23 3:16:50 PM Event Event Trigger "Test Entry Light On - Copy"
      Jul-23 3:16:50 PM Event Event Test Entry Light On - Copy triggered by the event page 'Run' button.
      Jul-23 3:16:19 PM Error Running script(2) &hs.geturl"https://webhooks.stringify.com", "/v1/events/fEKBTcS1iCb3F99yGsNpV9svvetMzGwG/1/9de8b385862391f44f018b19efc040ed/RdqS4z0lnSYSsYPDuCow", init error: Syntax error
      Jul-23 3:16:19 PM Event Running script statement immediately: &hs.geturl"https://webhooks.stringify.com", "/v1/events/fEKBTcS1iCb3F99yGsNpV9svvetMzGwG/1/9de8b385862391f44f018b19efc040ed/RdqS4z0lnSYSsYPDuCow"
      Jul-23 3:16:19 PM Event Event Trigger "Test Entry Light On - Copy"
      Jul-23 3:16:19 PM Event Event Test Entry Light On - Copy triggered by the event page 'Run' button.
      Jul-23 3:15:18 PM Z-Wave Device: Thermostats Thermostats Downstairs Air Fan State Set to Fan State 1

      The actual address from Stringify is the link in the above post, I just don't know how to format something like that. The link come from Stringify's maker channel to use as a trigger.

      John

      Comment


        #4
        Tried it a few more ways, but still flying blind I guess


        Jul-23 4:47:17 PM Error Running script(1) &hs.GetURL("https://webhooks.stringify.com/v1/events/fEKBTcS1iCb3F99yGsNpV9svvetMzGwG/1/9de8b385862391f44f018b19efc040ed/RdqS4z0lnSYSsYPDuCow",""true), init error: Expected ')'
        Jul-23 4:47:17 PM Event Running script statement immediately: &hs.GetURL("https://webhooks.stringify.com/v1/events/fEKBTcS1iCb3F99yGsNpV9svvetMzGwG/1/9de8b385862391f44f018b19efc040ed/RdqS4z0lnSYSsYPDuCow",""true)
        Jul-23 4:47:17 PM Event Event Trigger "Test Entry Light On"
        Jul-23 4:47:17 PM Event Event Test Entry Light On triggered by the event page 'Run' button.
        Jul-23 4:46:04 PM Error Running script(1) &hs.GetURL("https://webhooks.stringify.com/v1/events/fEKBTcS1iCb3F99yGsNpV9svvetMzGwG/1/9de8b385862391f44f018b19efc040ed/RdqS4z0lnSYSsYPDuCow","true), init error: Unterminated string constant
        Jul-23 4:46:04 PM Event Running script statement immediately: &hs.GetURL("https://webhooks.stringify.com/v1/events/fEKBTcS1iCb3F99yGsNpV9svvetMzGwG/1/9de8b385862391f44f018b19efc040ed/RdqS4z0lnSYSsYPDuCow","true)
        Jul-23 4:46:04 PM Event Event Trigger "Test Entry Light On"
        Jul-23 4:46:04 PM Event Event Test Entry Light On triggered by the event page 'Run' button.
        Jul-23 4:45:26 PM Error Running script(1) &hs.GetURL("https://webhooks.stringify.com/v1/events/fEKBTcS1iCb3F99yGsNpV9svvetMzGwG/1/9de8b385862391f44f018b19efc040ed/RdqS4z0lnSYSsYPDuCow","), init error: Unterminated string constant
        Jul-23 4:45:26 PM Event Running script statement immediately: &hs.GetURL("https://webhooks.stringify.com/v1/events/fEKBTcS1iCb3F99yGsNpV9svvetMzGwG/1/9de8b385862391f44f018b19efc040ed/RdqS4z0lnSYSsYPDuCow",")
        Jul-23 4:45:26 PM Event Event Trigger "Test Entry Light On"
        Jul-23 4:45:26 PM Event Event Test Entry Light On triggered by the event page 'Run' button.
        Jul-23 4:45:06 PM HSBuddy Cleanup thread removed 7 entries from device history.
        Jul-23 4:44:30 PM EnvisaLink INFO Partition 1 status change: Ready - Force Arming Enabled
        Jul-23 4:44:29 PM EnvisaLink INFO Z2 - Back Door status change: Closed
        Jul-23 4:44:27 PM EnvisaLink INFO Partition 1 status change: Not Ready
        Jul-23 4:44:27 PM EnvisaLink INFO Z2 - Back Door status change: Opened
        Jul-23 4:44:23 PM Error Running script(1) &hs.GetURL("https://webhooks.stringify.com/v1/events/fEKBTcS1iCb3F99yGsNpV9svvetMzGwG/1/9de8b385862391f44f018b19efc040ed/RdqS4z0lnSYSsYPDuCow"), init error: Invalid procedure call or argument: 'hs.GetURL'
        Jul-23 4:44:23 PM Event Running script statement immediately: &hs.GetURL("https://webhooks.stringify.com/v1/events/fEKBTcS1iCb3F99yGsNpV9svvetMzGwG/1/9de8b385862391f44f018b19efc040ed/RdqS4z0lnSYSsYPDuCow")
        Jul-23 4:44:23 PM Event Event Trigger "Test Entry Light On"
        Jul-23 4:44:23 PM Event Event Test Entry Light On triggered by the event page 'Run' button.
        Jul-23 4:43:34 PM Error Running script(1) &hs.GetURL("https://webhooks.stringify.com/v1/events/fEKBTcS1iCb3F99yGsNpV9svvetMzGwG/1/9de8b385862391f44f018b19efc040ed/RdqS4z0lnSYSsYPDuCow",true), init error: Cannot use parentheses when calling a Sub
        Jul-23 4:43:34 PM Event Running script statement immediately: &hs.GetURL("https://webhooks.stringify.com/v1/events/fEKBTcS1iCb3F99yGsNpV9svvetMzGwG/1/9de8b385862391f44f018b19efc040ed/RdqS4z0lnSYSsYPDuCow",true)
        Jul-23 4:43:34 PM Event Event Trigger "Test Entry Light On"
        Jul-23 4:43:34 PM Event Event Test Entry Light On triggered by the event page 'Run' button.
        Jul-23 4:42:15 PM Error Running script(1) &hs.GetURL("https://webhooks.stringify.com","/v1/events/fEKBTcS1iCb3F99yGsNpV9svvetMzGwG/1/9de8b385862391f44f018b19efc040ed/RdqS4z0lnSYSsYPDuCow",true), init error: Cannot use parentheses when calling a Sub
        Jul-23 4:42:15 PM Event Running script statement immediately: &hs.GetURL("https://webhooks.stringify.com","/v1/events/fEKBTcS1iCb3F99yGsNpV9svvetMzGwG/1/9de8b385862391f44f018b19efc040ed/RdqS4z0lnSYSsYPDuCow",true)
        Jul-23 4:42:15 PM Event Event Trigger "Test Entry Light On"

        John

        Comment


          #5
          Figured it out, I needed the port 80 added at the end, least I think that was it I tried a lot of combinations.
          John

          Comment

          Working...
          X