Extract customer number without country code +1 {{...
# support
i
Hello! How to extract inbound call customer number without country code +1 {{short_number}}?
l
Where are you extracting the phone number is it to your googlesheet or Crm platform?
c
Hi Igor_70, To extract a customer number without the country code +1, you can manually remove the first two characters from the phone number when storing or displaying it. If you are working with data within an application, ensure your parsing logic handles this correctly, especially considering different region formats if applicable. If you are integrating with Vapi services, confirm that you adjust the phone number input accordingly to avoid issues with processing in APIs.
i
To HouseCall pro CRM. They accept short numbers only.
l
Ohh Okay i can help you out with this
i
Sounds good!
I have say in advance GET https://api.housecallpro.com/customers?q={{customer.number.substring(2)}} or GET https://api.housecallpro.com/customers?q={{customer.number|remove_first:"+1"}} is not works. Any idea?
c
Hello, We are sorry for the delay and we really appreciate your patience and kind understanding. We would love to know if did this work for you. Please let us know if you need further assistance.
3 Views