Bitrix24 - save the identity of the operator in one the contact fields

Status
Not open for further replies.

A Valenti

Platinum Partner
Advanced Certified
Joined
Mar 4, 2022
Messages
20
Reaction score
5
Hi, I'm using 3cx with Bitrix4 crm.
I am currently using the template that creates a new contact if not present when an operator receives a call.
Works well.
What I would also like to do is that 3cx save the identity of the operator in one the contact fields.
At the moment the template queries bitrix24 to search for the operator's id by doing a match by mail. He saves the result obtained in the ResponsibleId variable.
There is also the Agent variable that I could use in place of the ResponsibleId.

Both variables are used to write an event on the bitrix calendar or in the activities of the contact.
But when I try to bring those same variables into a contact field then they are empty.
How can I fix the problem?
I attach the template in the message. Many thanks.
 

Attachments

During contact creation, you don't have access to the details of the agent that will take the call. This is because the contact creation happens as soon as the call arrives to 3CX, even before it is sent to the agent. At this point, 3CX doesn't know which agent will receive this call, and hence the information is not available.
 
  • Like
Reactions: A Valenti
Hi, I'm using 3cx with Bitrix4 crm.
I am currently using the template that creates a new contact if not present when an operator receives a call.
Works well.
What I would also like to do is that 3cx save the identity of the operator in one the contact fields.
At the moment the template queries bitrix24 to search for the operator's id by doing a match by mail. He saves the result obtained in the ResponsibleId variable.
There is also the Agent variable that I could use in place of the ResponsibleId.

Both variables are used to write an event on the bitrix calendar or in the activities of the contact.
But when I try to bring those same variables into a contact field then they are empty.
How can I fix the problem?
I attach the template in the message. Many thanks.
The only way to log that would be to add a scenario after the ReportCall to make a custom API request to update that field.
 
Status
Not open for further replies.

Latest Posts

Forum statistics

Threads
112,323
Messages
591,896
Members
165,473
Latest member
NathanMitchell