I've recently hooked up Twilio for a client, and it needs a traditional "+1-555-123-4567" number to send a text message. Is there a way to enable making the "1" at the start of the phone number mandatory?
Hi Ross,
If the phone number is being captured 'only' from web forms, you can add javascript code to 'automatically add '+1' to the phone number.
But chances are there are other ways phone number are created in Marketo database. In that case, you might have to write a 'web hook' to automatically add '+1' to the phone number if it is not there already. You might be able to use the 'free' web hook we created at BrightHooks.com. Here is more information.
You can use this web hook in a smart campaign that 'triggers' on 'data value change of phone number' or just before you call Twilio.
Hope this helps
Rajesh
There are a few considerations:
If the issue is that absolutely no-one is putting in +1 to the phone number, then you could include that in the webhook that sends your SMS.
&send-sms.do?to=+1{{lead.mobile phone number}}
But if the problem is that some people are putting in +1 and some aren't, then the normalisation webhook will be required.