- **SMS Api for SMSify **
-
-
Save shubham-shrivastava/c055ac9b22eb385360d3900885acf517 to your computer and use it in GitHub Desktop.
smsify
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[{"id":"deaf80e5.3e38a","type":"tab","label":"Flow 1"},{"id":"13cef0f3.ab42ff","type":"google places","z":"deaf80e5.3e38a","reqType":"placesNearby","googleAPI":"","name":"","lat":"21.1213706","lon":"79.0450958","query":"","radius":"","rankBy":"distance","keyword":"emergency","language":"","minPrice":"","maxPrice":"","placeName":"","placeId":"ChIJFz3Zq_W_1DsRblT6keRRi0I","extensions":"","openNow":"","types":"hospital","outputnumber":"5","outputas":"single","x":434,"y":223,"wires":[["f4b75b05.f03c58"]]},{"id":"818676e4.eb3c08","type":"inject","z":"deaf80e5.3e38a","name":"","topic":"","payload":"{}","payloadType":"json","repeat":"","crontab":"","once":false,"x":155,"y":253,"wires":[["13cef0f3.ab42ff"]]},{"id":"774d1ac3.87f924","type":"debug","z":"deaf80e5.3e38a","name":"","active":true,"console":"false","complete":"payload","x":681,"y":266,"wires":[]},{"id":"f4b75b05.f03c58","type":"function","z":"deaf80e5.3e38a","name":"","func":"var i=0;\nvar data = \" \";\nwhile(i<5){\ndata += i+1+\"->\";\ndata += msg.payload[i].description;\ndata += \"\\n\";\ni++;\n}\nmsg.payload = data;\nreturn msg;\n","outputs":1,"noerr":0,"x":302,"y":391,"wires":[["774d1ac3.87f924","953d33a6.89932","5558976d.c5ffb8","924ef247.9969","49e9f0b1.5eb0d","f9485bf0.77e2d8","7c4e0c46.fa5ca4"]]},{"id":"953d33a6.89932","type":"google places","z":"deaf80e5.3e38a","reqType":"placesDetails","googleAPI":"","name":"","lat":"","lon":"","query":"","radius":"","rankBy":"","keyword":"","language":"","minPrice":"","maxPrice":"","placeName":"","placeId":"ChIJFz3Zq_W_1DsRblT6keRRi0I","extensions":"","openNow":"","types":"","outputnumber":"1","outputas":"single","x":511,"y":420,"wires":[["f3dadffa.6c662"]]},{"id":"f3dadffa.6c662","type":"function","z":"deaf80e5.3e38a","name":"","func":"var number = msg.payload.phone;\nvar name = msg.payload.name;\nvar address = msg.payload.address;\nmsg.payload = \"Name: \" + name + \"\\n\" + \"Contact no:\"+ number + \"\\n\"+\"Address: \"+address;\nreturn msg;","outputs":1,"noerr":0,"x":730,"y":468,"wires":[["774d1ac3.87f924","cce04e84.a60c4"]]},{"id":"924ef247.9969","type":"google places","z":"deaf80e5.3e38a","reqType":"placesDetails","googleAPI":"","name":"","lat":"","lon":"","query":"","radius":"","rankBy":"","keyword":"","language":"","minPrice":"","maxPrice":"","placeName":"","placeId":"ChIJtTS7TIm_1DsRVA2EjDPeIwE","extensions":"","openNow":"","types":"","outputnumber":"1","outputas":"single","x":488,"y":537,"wires":[["f3dadffa.6c662"]]},{"id":"5558976d.c5ffb8","type":"google places","z":"deaf80e5.3e38a","reqType":"placesDetails","googleAPI":"","name":"","lat":"","lon":"","query":"","radius":"","rankBy":"","keyword":"","language":"","minPrice":"","maxPrice":"","placeName":"","placeId":"ChIJFz3Zq_W_1DsRF-unOw5H-kg","extensions":"","openNow":"","types":"","outputnumber":"1","outputas":"single","x":496,"y":477,"wires":[["f3dadffa.6c662"]]},{"id":"49e9f0b1.5eb0d","type":"google places","z":"deaf80e5.3e38a","reqType":"placesDetails","googleAPI":"","name":"","lat":"","lon":"","query":"","radius":"","rankBy":"","keyword":"","language":"","minPrice":"","maxPrice":"","placeName":"","placeId":"ChIJ65qj2IW_1DsRdzNZcf3IBig","extensions":"","openNow":"","types":"","outputnumber":"1","outputas":"single","x":483,"y":587,"wires":[["f3dadffa.6c662"]]},{"id":"f9485bf0.77e2d8","type":"google places","z":"deaf80e5.3e38a","reqType":"placesDetails","googleAPI":"","name":"","lat":"","lon":"","query":"","radius":"","rankBy":"","keyword":"","language":"","minPrice":"","maxPrice":"","placeName":"","placeId":"ChIJwYt4Iva_1DsRHrYYdSf7sd8","extensions":"","openNow":"","types":"","outputnumber":"1","outputas":"single","x":481,"y":632,"wires":[["f3dadffa.6c662"]]},{"id":"7c4e0c46.fa5ca4","type":"kandy-sms out","z":"deaf80e5.3e38a","user":"c808d9d0.70d268","number":"+918983188833","name":"Hospital Addresses","x":213,"y":515,"wires":[]},{"id":"cce04e84.a60c4","type":"kandy-sms out","z":"deaf80e5.3e38a","user":"c808d9d0.70d268","number":"+919226958980","name":"Phone No.","x":915,"y":308,"wires":[]},{"id":"2845795c.7d3a06","type":"function","z":"deaf80e5.3e38a","name":"","func":"var name = \"Shubham\";\nvar age = \"23\";\nvar bg = \"A+\";\nvar loc = \"Pratap Nagar Chowk\";\nvar message = \"There is an accident nearby, Please send the ambulance.\\n\\n\";\nmsg.payload = message+\"Patient details\\n***************\\n\";\nmsg.payload += \"Name: \"+name+\"\\nAge: \"+age+\"\\nBlood Group: \"+bg+\"\\nLocation: \"+loc;\nreturn msg;","outputs":1,"noerr":0,"x":740,"y":584,"wires":[["f05089c2.d43588","cce04e84.a60c4"]]},{"id":"f05089c2.d43588","type":"debug","z":"deaf80e5.3e38a","name":"","active":true,"console":"false","complete":"false","x":938,"y":549,"wires":[]},{"id":"6b2f7ac5.8c2714","type":"inject","z":"deaf80e5.3e38a","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"x":508,"y":709,"wires":[["2845795c.7d3a06"]]},{"id":"c808d9d0.70d268","type":"kandy-user","z":"","apikey":"DAK3bd63b8ab56f4d1ab944b2c0d08e258e","username":"user2","password":"Shubham@25","from":"+918236028730","name":"drivercop"}] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment