Skip to content

Instantly share code, notes, and snippets.

@federecio
Created July 5, 2011 17:56
Show Gist options
  • Save federecio/1065422 to your computer and use it in GitHub Desktop.
Save federecio/1065422 to your computer and use it in GitHub Desktop.
<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