Solved
I want to collect the Country Code in a Contact List. Anyone found how to do that?
I have a survey that uses a form to collect First Name, Last Name and Phone Number. I've added validation to the last field to be sure I receive all 10 digits. That information then populates a contact list that I want to use for SMS distribution of other surveys. However, when I try to send an SMS message to the individuals in that contact list, the messages fail because the phone number is missing the country code. When I manually add a "1" in front of the area code in the contact list, the message are successfully delivered.
If I ask the survey participant to enter the "1" the validation fails because there are too many numbers.
Is there a secret to getting the country code in the contact list automatically?
Best answer by bstrahin
Okay, sorry. I had forgotten how I set this up. The 1 is saved in the data of the survey. Look at the Survey Flow. You will see that I added an embedded data field to concatenate the 1 onto the phone field from the form. That embedded data field then gets called in your Contact List Trigger rather than the form question field.
View originalLeave a Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.