correct-apricot•3d ago
Extract customer number without country code +1 {{short_number}}?
Hello! How to extract inbound call customer number without country code +1 {{short_number}}?
5 Replies
deep-jade•3d ago
Where are you extracting the phone number is it to your googlesheet or Crm platform?
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.
correct-apricotOP•2d ago
To HouseCall pro CRM. They accept short numbers only.
deep-jade•2d ago
Ohh Okay i can help you out with this
correct-apricotOP•21h ago
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?