Analyze extreme twitter sentiments (positive and negative) and have the tweets emailed to you

Analyze tweets with specific hashtags. Look for extremely positive or negative tweets. Have those tweets emailed.

[{"id":"d744187e.f26b1","type":"sentiment","z":"c36eeb3d.63ea88","name":"","x":431.99993896484375,"y":1125,"wires":[["9a33d7a2.8c7248"]]},{"id":"850665ba.8beff","type":"twitter in","z":"c36eeb3d.63ea88","twitter":"","tags":"#knoxville","user":"false","name":"Search for tweet","topic":"tweets","x":206.49993896484375,"y":1120,"wires":[["d744187e.f26b1"]]},{"id":"6e75945f.8e902c","type":"debug","z":"c36eeb3d.63ea88","name":"","active":false,"console":"false","complete":"false","x":1231.25,"y":1079.25,"wires":[]},{"id":"9a33d7a2.8c7248","type":"switch","z":"c36eeb3d.63ea88","name":"Sentiment","property":"payload","propertyType":"msg","rules":[{"t":"gt","v":"5","vt":"str"},{"t":"lt","v":"-5","vt":"str"}],"checkall":"true","outputs":2,"x":646.25,"y":1126.875,"wires":[["2d59cb20.aa442c"],["66268c36.e21b4c"]]},{"id":"2d59cb20.aa442c","type":"template","z":"c36eeb3d.63ea88","name":"Positive Tweet","field":"payload","fieldType":"msg","format":"handlebars","syntax":"mustache","template":"Positive Tweet: {{payload}} !","x":963.75,"y":1079.375,"wires":[["6e75945f.8e902c","236536d6.63e40a"]]},{"id":"66268c36.e21b4c","type":"template","z":"c36eeb3d.63ea88","name":"Negative Tweet","field":"payload","fieldType":"msg","format":"handlebars","syntax":"mustache","template":"Negative Tweet: {{payload}} !","x":960,"y":1170,"wires":[["6e75945f.8e902c","236536d6.63e40a"]]},{"id":"236536d6.63e40a","type":"e-mail","z":"c36eeb3d.63ea88","server":"smtp.gmail.com","port":"465","name":"","dname":"","x":1213,"y":1170,"wires":[]}]

Flow Info

Created 8 years, 2 months ago
Rating: not yet rated

Owner

Actions

Rate:

Node Types

Core
  • debug (x1)
  • switch (x1)
  • template (x2)
Other

Tags

Copy this flow JSON to your clipboard and then import into Node-RED using the Import From > Clipboard (Ctrl-I) menu option