Forum feature request

Can there be an option in the notification settings for: "notify me if no replies in 24 hrs" ?? (or maybe "notify me if no solution in 3 days" would be better)

image

I like to support the community when I can, and sometimes I don't know enough about the problem to assist, but if no one else steps up I'll take a stab at it.

Edit - further food for thought. Is there any way I can get notified if anyone ever mentions a contrib node that I worked on?

Thoughts?

The forum software is standard Discourse

Pretty certain that it won't do anything like that

Here is a flow that can monitor for new posts on a URL

[{"id":"1e1ce8b86cdc6b51","type":"tab","label":"Flow 1","disabled":false,"info":"","env":[]},{"id":"f4476b09defcf8ac","type":"http request","z":"1e1ce8b86cdc6b51","name":"","method":"GET","ret":"txt","paytoqs":"ignore","url":"https://discourse.nodered.org/t/forum-feature-request/52184","tls":"","persist":false,"proxy":"","authType":"","senderr":false,"x":710,"y":480,"wires":[["068e79353fa26026"]]},{"id":"08ff9052f5b8a48e","type":"inject","z":"1e1ce8b86cdc6b51","d":true,"name":"inject every 24 hours","props":[{"p":"payload"}],"repeat":"86400","crontab":"","once":true,"onceDelay":0.1,"topic":"","payloadType":"str","x":500,"y":520,"wires":[["f4476b09defcf8ac"]]},{"id":"068e79353fa26026","type":"html","z":"1e1ce8b86cdc6b51","name":"","property":"payload","outproperty":"payload","tag":".post","ret":"text","as":"single","x":870,"y":480,"wires":[["eab6b0de73856d7e"]]},{"id":"f31d32739f86bfe7","type":"inject","z":"1e1ce8b86cdc6b51","name":"inject once","props":[{"p":"payload"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payloadType":"str","x":540,"y":440,"wires":[["f4476b09defcf8ac"]]},{"id":"5ff6b4e6968d457c","type":"change","z":"1e1ce8b86cdc6b51","name":"","rules":[{"t":"set","p":"postLength","pt":"flow","to":"payload.length","tot":"msg","dc":true}],"action":"","property":"","from":"","to":"","reg":false,"x":1350,"y":680,"wires":[[]]},{"id":"eab6b0de73856d7e","type":"switch","z":"1e1ce8b86cdc6b51","name":"","property":"payload.length","propertyType":"msg","rules":[{"t":"eq","v":"postLength","vt":"flow"},{"t":"neq","v":"postLength","vt":"flow"}],"checkall":"true","repair":false,"outputs":2,"x":1010,"y":480,"wires":[["47298b894a7c244c"],["9eeb1bd107be5a60","83cab2a95c8a48d2"]]},{"id":"47298b894a7c244c","type":"change","z":"1e1ce8b86cdc6b51","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"No new messages in the last 24 hours.","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":1180,"y":460,"wires":[["f33b28660081ded7"]]},{"id":"f33b28660081ded7","type":"debug","z":"1e1ce8b86cdc6b51","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":1490,"y":460,"wires":[]},{"id":"ab9e4d1e11d8f044","type":"comment","z":"1e1ce8b86cdc6b51","name":"Set URL here","info":"","x":710,"y":440,"wires":[]},{"id":"0087a9668d18075b","type":"comment","z":"1e1ce8b86cdc6b51","name":"Set output if no messages here","info":"","x":1230,"y":420,"wires":[]},{"id":"d1ee111554e3b130","type":"debug","z":"1e1ce8b86cdc6b51","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":1490,"y":500,"wires":[]},{"id":"83cab2a95c8a48d2","type":"function","z":"1e1ce8b86cdc6b51","name":"set msg.payload","func":"let content = msg.payload.length-flow.get(\"postLength\",\"file\");\nmsg.payload = `${content} new messages in the last 24 hours.`;\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":1180,"y":500,"wires":[["d1ee111554e3b130"]]},{"id":"9eeb1bd107be5a60","type":"delay","z":"1e1ce8b86cdc6b51","name":"","pauseType":"delay","timeout":"2","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"allowrate":false,"outputs":1,"x":1160,"y":680,"wires":[["5ff6b4e6968d457c"]]},{"id":"eb329a4eb7cc10fe","type":"comment","z":"1e1ce8b86cdc6b51","name":"Set output if new messages here","info":"","x":1230,"y":540,"wires":[]},{"id":"f9852788cf41c547","type":"comment","z":"1e1ce8b86cdc6b51","name":"Sets number of posts","info":"","x":1360,"y":640,"wires":[]}]

you may have to modify it to use a different context store as I used "file" in this one.

1 Like

Something similar could likely be done to check for mentions of a specific contrib node on the URL: https://discourse.nodered.org/

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.