Hi all,
I’m trying to send SMS with a workflow (I created and paid Twilio account and Twilio number).
Previously I used to send an email instead, using the field “To” this way : “[Mail]” (without quotes)
Now I’m trying with : “[Tel employe]” (without quotes) for the SMS workflow.
The log result as a failure, and the error comes from the “To :” field, which catches nothing.
Here are the details:
Complementary informations:
I have no clue of why this does not catch the phone number, do you have any idea ?
Many thanks
Aurelien
I can investigate if you provide:
HI @Phil
Thanks for helping.
Here are the asked informations :
Just curious… try to use Alpha 2-code as a country code and see if that helps. You can find the list from https://en.wikipedia.org/wiki/ISO_3166-1
No, I mean the TO phone number.
I tried that:
I tried another typing (the “usual” one):
==> that gave a failure
Do you think I should type phone number differently ?
==> And this one worked fine, my user received the SMS.
Here is the log : it interpretated the 0041 country ID in the +41 country ID
What I have used is CH79… meaning without the country code +41.
I’m not 100% sure, but I would say this is the first configuration I tried (first picture in my previous post)
Do you think I misunderstood ?
I looked at application “Outillages_v1b-1009434”.
You are getting the SMS “To” value from the “Tel employe” field in table “Employes” but that field is empty in every record in the Employes table. That is why the Report is saying that “To” is missing.
The “To” field is expected to contain a phone number that is optionally preceded by a +.
The phone number should not be prefixed with the country code “CH”.
Please try the following:
HI @Phil
Thanks for your help.
I don’t know what make you tell the [Tel Employe] field is empty is the Employes Table, I’ve been checking it various time in case.
BUT, thanks to your message, I just noticed that, because phone numbers where at first written with “0041” formatting, at generating the table, the [Tel Employe] type was “Number”.
I changed it as a “Phone” type, and replaced every “0041” in the table with a “+41”.
I tried it, and report is successful !
I’m still waiting for my user to tell me if that worked for him (5:50 AM here), but log seems OK, with his phone number appearing in the “To” row.
I will write you back if he did not received it, but in the meantime : many thanks !!!
Aurelien
User | Count |
---|---|
18 | |
9 | |
8 | |
5 | |
5 |