Google contact - Search - how to use the query?

Hi.

basic question, but I’m a bit stuck.

With a “Google Contact - Search Contact” module, I want to find if I already have an exist contact based on a phone number, but it never finds any existing contact ! (even when testing with a phone number that I know exist)
It’s working if I simply put an existing email address in the Query field. But not with a phone number.

What am doing wrong ?

Thanks for the help

Please refer to the official Google Contacts API documentation: Method: people.searchContacts

It says:

The plain-text query for the request. The query is used to match prefix phrases of the fields on a person. For example, a person with name “foo name” matches queries such as “f”, “fo”, “foo”, “foo n”, “nam”, etc., but not “oo n”.

Also, google people api search by phonenumbers - Stack Overflow says,

Use the canonical form of the phoneNumber without the + sign

However, there might be a bug with this as filed on the Google Issue Tracker.

Try searching for phone numbers without the plus symbol. If that doesn’t work, take it up with Google, or find another service to store your contacts elsewhere instead like Google Sheets.

2 Likes

Thank you @samliew for your helpful answer. it seems to work without the “+” sign.

1 Like