Wrong country code being added to incoming phone numbers

For some reason, when phone numbers are add to my CRM (coming from a botpress bot via HTTP Request), +33 country code is added the number and I can't figure out a way to change the default country code. We are only collecting US numbers and this happens when 10 digit numbers are received. Am I missing something here? I feel like this just all of a sudden started happening. Thank you in advance!
6 Replies
thomast
thomast2mo ago
Hi @Steve Other, do you still have an issue here? Could you provide an example of API request that botpress sends and where the country code is overrided?
Steve Other
Steve OtherOP2mo ago
Hi @thomast, yes I do. I can't pinpoint where the country code is overridden but I tested my Webflow form -> n8n -> twenty and the same is happening there as well. Here is the body of the HTTP Request being sent in botpress: { "name": { "firstName": "{{workflow.userName.first}}", "lastName": "{{workflow.userName.last}}" }, "phone": "{{workflow.userPhone}}", "formLocation": "CC Debt Calculator Chat - IW", "creditCardDebt": {{workflow.creditCardDebt 0}}, "unsecuredLoanDebt": {{workflow.unsecuredLoanDebt 0}}, "paymentStatus": "{{workflow.paymentStatus}}", "otherUnsecuredDebt": {{workflow.otherDebtAmount 0}}, "state": "{{workflow.userState}}", "interest": {{workflow.totalInterestPaid 0}}, "paypbackTime": "{{workflow.repaymentPeriod}}", "totalPayback": {{workflow.combinedTotalPayback || 0}}, "emails": { "primaryEmail": "{{workflow.userEmail}}" } } Is there anywhere else I could look to find more info that might help with understanding? Thank you.
ɃØĦɆᵾS
ɃØĦɆᵾS2mo ago
I'll try to reproduce it, is the format for US numbers like this XXX-XXX-XXXX? I've taken this from here FYI https://www.whitepages.com/phone/us
Steve Other
Steve OtherOP2mo ago
yes but the issue seems to have been fixed?
ɃØĦɆᵾS
ɃØĦɆᵾS2mo ago
🤔 Let's wait till it happens again, maybe there were some changes pushed which fixed your issue
thomast
thomast2mo ago
Solving this for now, feel free to re-open if needed @Steve Other!
Want results from more Discord servers?
Add your server