English Boards > Requests
Orders via SMS/TEXT
JohnS:
Got SMS when an order is ready working with email to sms gateway.
My ISP charges $0.07 per text message and you can set a business name for the number the text comes from, like "Johns Cafe" instead of a mobile number.
Here is a rundown of what I did.
Add new Action for Set Mobile
Settings -> Actions -> Add Action
- Action Name = Set Mobile
- Action Type = Update Program Settings
- Setting Name = CUSTMOBILE
- Setting Value = [Setting Value]
- Update Type = Update
- IsLocal = True
Add new Action for Send SMS Via Email
Settings -> Actions -> Add Action
- Action Name = Send SMS Via Email
- Action Type = Send Email
- To Email Address = {:CUSTMOBILE}@sms.exemail.com.au
- Subject = password
- From Email Address = myemail@mydomain.com.au
- Email Message = Your Order Is Ready.
The To Email Address needs to be formatted to suit your email to sms gateway requirements, but most are mobile_number@sms_email_domain
The Subject usually has the password for the email to sms gateway
The From Email Address is usually the authorised email address to send sms's
Set the rest of the Send Email setting to suit your mail server.
Create new Ticket Tag - Mobile Number
Tick Free Tagging and untick Save Free Tags
Add to the Department
Create new Ticket Tag - Send SMS
Untick Save Free Tags & add 'Yes' as a Sub Tag
Add to the Department
Add new Rule Mobile Number Set
Settings -> Rules -> Add Rule
- Rule Name = Mobile Number Set
- Event Name = Ticket Tag Selected
- Conditions
- Tag Name = Mobile Number
- Actions = Set Mobile, Setting Vale = [TagValue]
Add new Rule Send SMS
Settings -> Rules -> Add Rule
- Rule Name = Send SMS
- Event Name = Ticket Tag Selected
- Conditions
- Tag Name = Send SMS
- Tag Value ? Yes
- Actions = Send SMS Via Email
Have fun.
CafeCuppio:
nice one John!
emre:
Awesome!. I can't believe we can send sms without additional coding :)
Maybe we can create an additional rule / action set for updating Mobile Number tag with customer phone number if we select a customer...
JohnS:
--- Quote from: emre on March 28, 2012, 07:19:26 am ---Awesome!. I can't believe we can send sms without additional coding :)
Maybe we can create an additional rule / action set for updating Mobile Number tag with customer phone number if we select a customer...
--- End quote ---
Started with the Customer Phone, but could not easily identify if the phone number was a mobile or landline number, so decided to use tags instead.
If we had a 'Starts With' condition we could have it check if a number starts with 04 then its a mobile number (in Australia).
mozhi:
John, U are awesome man!! This shows your in-depth understanding of SAMBAPOS.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version