Created
July 5, 2011 17:51
-
-
Save federecio/1065399 to your computer and use it in GitHub Desktop.
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
<twilio:config accountSid="yourTwilioAccountSid" authToken="yourTwilioAuthToken"/> | |
<mongo:config database="yourDatabase" host="yourHost" port="yourPort" name="yourName" password="yourPassword"/> | |
<flow name="sendSmsToClients"> | |
<http:inbound-endpoint host="localhost" port="9090" path="send-sms"/> | |
<mongo:find-objects collection="clients"/> | |
<collection-splitter/> | |
<twilio:send-sms-message accountSid="yourTwilioAccountSid" | |
from="yourTwilioPhoneNumber" | |
to="#[map-payload:phone]" | |
body="Hi #[map-payload:name]! We are happy to announce we released … check our website …. "/> | |
</flow> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment