<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Cleaning up phone numbers from forms, invalidly formatted by HS in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Cleaning-up-phone-numbers-from-forms-invalidly-formatted-by-HS/m-p/1166487#M82707</link>
    <description>&lt;P&gt;Since you are not able to search for special characters in the API as noted in the linked post, maybe you can export the contacts from HubSpot directly, bulk reformat the phone numbers in the csv and then re-import it to the crm. I was able to use the &lt;A href="https://knowledge.hubspot.com/lists/create-active-or-static-lists" target="_blank"&gt;List tool&lt;/A&gt; to create a contact based list of all phone numbers that contain those characters.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://lithium-response-prod.s3.us-west-2.amazonaws.com/hubspot.response.lithium.com/RESPONSEIMAGE/128e90a7-a3d9-47b8-96c7-3b01244c84ab.default/Screenshot%202025-06-18%20at%203.02.23%E2%80%AFPM.png" /&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 18 Jun 2025 22:04:30 GMT</pubDate>
    <dc:creator>kennedyp</dc:creator>
    <dc:date>2025-06-18T22:04:30Z</dc:date>
    <item>
      <title>Cleaning up phone numbers from forms, invalidly formatted by HS</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Cleaning-up-phone-numbers-from-forms-invalidly-formatted-by-HS/m-p/1165470#M82667</link>
      <description>&lt;P&gt;We have some forms integrated with HS.&amp;nbsp; The customer is entering the phone number as xxx-xxx-xxxx which is fine.&amp;nbsp; However, when HS grabs this from the form to put in the contact's "phone" property, it's storing it as: +1-(xxx)-xxx-xxxx.&lt;BR /&gt;&lt;BR /&gt;When the customer calls in, it's not matching the customer to the HS record because the extra dashes.&lt;BR /&gt;&lt;BR /&gt;Several concerns arise, like why is HS putting in (), but not removing the dashes.&amp;nbsp; We're working on a workaround to avoid this HS bug, but we need to clean up the data.&amp;nbsp; We have 400K+ contacts, so I don't want to pull them all in batches of 100 to find the 60K that have bad data.&lt;BR /&gt;&lt;BR /&gt;I'm trying to write a search API to find the ones that have ")-" in the phone property, I will correct them to +1xxxxxxxxxx format and update the record, however this is easier said than done.&lt;BR /&gt;&lt;BR /&gt;I have tried to build a query that searches for phone numbers that CONTAIN_TOKEN "*)-*", but per this post (&lt;A href="https://community.hubspot.com/t5/APIs-Integrations/Understanding-CONTAINS-TOKEN-operator-for-CRM-Search/m-p/401966):" target="_blank" rel="noopener"&gt;https://community.hubspot.com/t5/APIs-Integrations/Understanding-CONTAINS-TOKEN-operator-for-CRM-Search/m-p/401966):&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;EM&gt;&lt;FONT color="#000080"&gt;Special characters are escaped from the search so if you are searching for (443) you can get the results from $443! to&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt;&lt;FONT color="#000080"&gt;Except * all other special characters are considered as separator and escaped from the search, so you can get the same results from - (443!9905&lt;/FONT&gt;&lt;/EM&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;I verified the offending numbers to actually come back with the bad format from the API "+1-(xxx)-xxx-xxxx" so there has to be a way to search for contacts with ")-" in the number.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;How do I structure the filter override "escaping" the necessary criteria?&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jun 2025 20:16:43 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Cleaning-up-phone-numbers-from-forms-invalidly-formatted-by-HS/m-p/1165470#M82667</guid>
      <dc:creator>klkitchens</dc:creator>
      <dc:date>2025-06-16T20:16:43Z</dc:date>
    </item>
    <item>
      <title>Re: Cleaning up phone numbers from forms, invalidly formatted by HS</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Cleaning-up-phone-numbers-from-forms-invalidly-formatted-by-HS/m-p/1165528#M82670</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/653625"&gt;@klkitchens&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Not sure if this will solve your issue but there is a new beta that just released a few days ago (You need to request it -&amp;nbsp;&lt;A href="https://app-ap1.hubspot.com/product-updates/[PORTALID]/in-beta?rollout=229896" target="_blank"&gt;https://app-ap1.hubspot.com/product-updates/[PORTALID]/in-beta?rollout=229896&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is the &lt;A href="https://knowledge.hubspot.com/workflows/format-phone-numbers-using-workflows" target="_blank"&gt;KB article&lt;/A&gt;&amp;nbsp;(pass:&amp;nbsp;Workflows_229896).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have a look and see if it will work well for you.&amp;nbsp; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2025-06-17 at 11.15.36 am.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/148621iF5F695CEB7EB4449/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2025-06-17 at 11.15.36 am.png" alt="Screenshot 2025-06-17 at 11.15.36 am.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jun 2025 01:20:08 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Cleaning-up-phone-numbers-from-forms-invalidly-formatted-by-HS/m-p/1165528#M82670</guid>
      <dc:creator>GIlievski</dc:creator>
      <dc:date>2025-06-17T01:20:08Z</dc:date>
    </item>
    <item>
      <title>Re: Cleaning up phone numbers from forms, invalidly formatted by HS</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Cleaning-up-phone-numbers-from-forms-invalidly-formatted-by-HS/m-p/1165770#M82685</link>
      <description>&lt;P&gt;Unfortunately that page is password protected.&amp;nbsp; It also doesn't seem to address the question at hand of searching for phone numbers using special characters.&amp;nbsp; Thanks, though... I can see it *might* be a help if HS has a way to undo the incorrect formatting they are applying.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jun 2025 14:09:35 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Cleaning-up-phone-numbers-from-forms-invalidly-formatted-by-HS/m-p/1165770#M82685</guid>
      <dc:creator>klkitchens</dc:creator>
      <dc:date>2025-06-17T14:09:35Z</dc:date>
    </item>
    <item>
      <title>Re: Cleaning up phone numbers from forms, invalidly formatted by HS</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Cleaning-up-phone-numbers-from-forms-invalidly-formatted-by-HS/m-p/1165931#M82688</link>
      <description>&lt;P&gt;Hi &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/653625"&gt;@klkitchens&lt;/a&gt;&lt;/SPAN&gt; -- could you clarify what type of field is being used on the form to collect phone numbers? Ideally if you are using a phone number field as opposed to single line text, the field should format without the additional characters in play. Could you share some screenshots of the form fields and how they get input into HubSpot?&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jun 2025 20:48:04 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Cleaning-up-phone-numbers-from-forms-invalidly-formatted-by-HS/m-p/1165931#M82688</guid>
      <dc:creator>kennedyp</dc:creator>
      <dc:date>2025-06-17T20:48:04Z</dc:date>
    </item>
    <item>
      <title>Re: Cleaning up phone numbers from forms, invalidly formatted by HS</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Cleaning-up-phone-numbers-from-forms-invalidly-formatted-by-HS/m-p/1165939#M82689</link>
      <description>&lt;P&gt;Hey, thanks...&amp;nbsp; no disrespect, but that's not relevant to the question at hand.&amp;nbsp; The fields are HTML forms, not HS forms.&lt;BR /&gt;&lt;BR /&gt;The question still is: Searching on additional characters that are in the phone field in HS, but ignored for some reason by the search filters.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jun 2025 20:56:06 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Cleaning-up-phone-numbers-from-forms-invalidly-formatted-by-HS/m-p/1165939#M82689</guid>
      <dc:creator>klkitchens</dc:creator>
      <dc:date>2025-06-17T20:56:06Z</dc:date>
    </item>
    <item>
      <title>Re: Cleaning up phone numbers from forms, invalidly formatted by HS</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Cleaning-up-phone-numbers-from-forms-invalidly-formatted-by-HS/m-p/1166487#M82707</link>
      <description>&lt;P&gt;Since you are not able to search for special characters in the API as noted in the linked post, maybe you can export the contacts from HubSpot directly, bulk reformat the phone numbers in the csv and then re-import it to the crm. I was able to use the &lt;A href="https://knowledge.hubspot.com/lists/create-active-or-static-lists" target="_blank"&gt;List tool&lt;/A&gt; to create a contact based list of all phone numbers that contain those characters.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://lithium-response-prod.s3.us-west-2.amazonaws.com/hubspot.response.lithium.com/RESPONSEIMAGE/128e90a7-a3d9-47b8-96c7-3b01244c84ab.default/Screenshot%202025-06-18%20at%203.02.23%E2%80%AFPM.png" /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jun 2025 22:04:30 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Cleaning-up-phone-numbers-from-forms-invalidly-formatted-by-HS/m-p/1166487#M82707</guid>
      <dc:creator>kennedyp</dc:creator>
      <dc:date>2025-06-18T22:04:30Z</dc:date>
    </item>
    <item>
      <title>Re: Cleaning up phone numbers from forms, invalidly formatted by HS</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Cleaning-up-phone-numbers-from-forms-invalidly-formatted-by-HS/m-p/1166490#M82708</link>
      <description>&lt;P&gt;As I stated. I can go through the hassle of downloading all my contacts and correcting the ones that were made incorrect by HS (as you repeated as a suggestion).&amp;nbsp; But cherry picking via seach the 60K bad ones vs. downloading ALL the 400K to then correct the bad ones is a definitely pain point.&amp;nbsp; As a one-shot deal it'd be fine, but I'll have to run again once we get the workaround for HS form ingest error.&amp;nbsp; To fix the far fewer remaining bad ones that get added after the first pass.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Oh well.&amp;nbsp; Hopefully HS sees this and fixes not only the form ingest, but the filter search criteria.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jun 2025 22:11:00 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Cleaning-up-phone-numbers-from-forms-invalidly-formatted-by-HS/m-p/1166490#M82708</guid>
      <dc:creator>klkitchens</dc:creator>
      <dc:date>2025-06-18T22:11:00Z</dc:date>
    </item>
    <item>
      <title>Re: Cleaning up phone numbers from forms, invalidly formatted by HS</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Cleaning-up-phone-numbers-from-forms-invalidly-formatted-by-HS/m-p/1170470#M82917</link>
      <description>&lt;P&gt;I do understand it is not the ideal method, though this would be the viable workaround in this case. That said, if you are interested in reevaluating how the information is being brought into HubSpot, I recommend providing more details on your integration configuration.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As always, you can&lt;SPAN style="color:rgb(45,51,56);"&gt; create a post on our &lt;/SPAN&gt;&lt;A href="https://hubs.la/Q02cNT9y0" target="_blank"&gt;&lt;SPAN style="color:rgb(45,51,56);"&gt;Ideas Forum here&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN style="color:rgb(45,51,56);"&gt; regarding the limitations of the search. If you find a similar idea, give it an upvote and share your unique use case in the comments.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jun 2025 18:41:59 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Cleaning-up-phone-numbers-from-forms-invalidly-formatted-by-HS/m-p/1170470#M82917</guid>
      <dc:creator>kennedyp</dc:creator>
      <dc:date>2025-06-27T18:41:59Z</dc:date>
    </item>
    <item>
      <title>Re: Cleaning up phone numbers from forms, invalidly formatted by HS</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Cleaning-up-phone-numbers-from-forms-invalidly-formatted-by-HS/m-p/1170471#M82918</link>
      <description>&lt;P&gt;Yep.&amp;nbsp; Already hacked around the HS design flaw and have been fixing the numbers via brute force.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regarding the original question at hand... for future reference, there appears to be NO SOLUTION TO THIS PROBLEM.&amp;nbsp; (so this answer is the solution as it stands).&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jun 2025 18:49:12 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Cleaning-up-phone-numbers-from-forms-invalidly-formatted-by-HS/m-p/1170471#M82918</guid>
      <dc:creator>klkitchens</dc:creator>
      <dc:date>2025-06-27T18:49:12Z</dc:date>
    </item>
  </channel>
</rss>

