CRM Integration is working OK but contact number does not exist.

Status
Not open for further replies.

JCubio

Free User
Joined
Oct 7, 2019
Messages
134
Reaction score
13
Hi,

I have an issue with during testing the Zoho CRM integration.
I have this one number that always returns an empty query when testing but most of the numbers works fine. How do I know where is the problem is and had this solve. I need to use this number for testing.

By the way the profile is just recently created in Zoho CRM for testing purposes ( Call Journaling.)

Please advice.

Thank you
 
Please make a test using this number from the 3CX Console > Settings > CRM Integration > Test button. Then paste here the contents of the Logs window.
 
Please check the log sir.
Thanks

Started scenario with empty id
Started Auth
Request text: https://accounts.zoho.com/oauth/v2/token
Request form value refresh_token set to xxxxxxxxxxxxxxxx
Request form value grant_type set to refresh_token
Request form value client_id set to xxxxxxxxxxxxx
Request form value client_secret set to xxxxxxxxxxxxxx
Response text: {"access_token":"xxxxxxxxxxxxxxxxxxxxx","expires_in_sec":3600,"api_domain":"https://www.zohoapis.com","token_type":"Bearer","expires_in":3600000}
Response finished
Variable AccessToken set to xxxxxxxxxxxxxxxxxxxxx
Variable ApiDomain set to https://www.zohoapis.com
Finished Auth
Request text: https://www.zohoapis.com/crm/v2/Contacts/search?criteria=((Phone:equals:16282462222) or (Mobile:equals:16282462222) or (Home_Phone:equals:16282462222) or (Other_Phone:equals:16282462222) or (Fax:equals:16282462222))&fields=Account_Name,id,First_Name,Last_Name,Phone,Mobile,Home_Phone,Asst_Phone,Other_Phone,Email,Fax
Response text:
Response finished
Finished scenario with empty id
Started scenario with empty id
Request text: https://www.zohoapis.com/crm/v2/Leads/search?criteria=((Phone:equals:16282462222) or (Mobile:equals:16282462222) or (Fax:equals:16282462222))&fields=id,First_Name,Last_Name,Phone,Mobile,Fax,Email,Company
Response text:
Response finished
Finished scenario with empty id
Started scenario with empty id
Request text: https://www.zohoapis.com/crm/v2/Accounts/search?criteria=((Phone:equals:16282462222) or (Fax:equals:16282462222))&fields=id,Phone,Fax,Account_Name
Response text:
Response finished
Finished scenario with empty id
Started CreateContactRecord
Response finished
Finished CreateContactRecord
Result obtained
 
ResponseText is empty as you pasted it? Or you removed it to avoid sending sensitive information?

The phone number is stored in Zoho exactly as 16282462222 without any other prefix like a leading + or zero?

Do you have a match with other phone numbers? Can you paste the response for a working number?
 
Hi Sir,
It is working now.

I changed the contact options to Match exactly.
How is this option connected to the CRM?
 
How is this option connected to the CRM?
When you select "Match exactly", the number is sent to the CRM exactly as it arrives. Otherwise, only the last N digits are sent, which is useful in some cases when you store the number in your CRM without the country code prefix for example.... But for Zoho, you need an exact match, so that's the way to go with it.
 
  • Like
Reactions: JCubio
Thanks for explaining it sir.
 
  • Like
Reactions: edossantos
Hi Sir,
The match exactly is enabled but how come it matches other numbers that ends the same?
13042
 
This is Zoho who returns that contact when we do the lookup. However, for real calls you will not have such a short number, so this should not be a problem...
 
Status
Not open for further replies.

Latest Posts

Forum statistics

Threads
112,324
Messages
591,897
Members
165,476
Latest member
awan05