ContactId not in ReportCall

Status
Not open for further replies.

mimss

Free User
Joined
Aug 9, 2023
Messages
4
Reaction score
1
Hello,

I've successfully set up an integration with ActiveCampaign for managing incoming calls.

However, I'm now aiming to implement call journaling as part of this integration. To achieve that, I require access to the contact ID. This is essential for including it in the request to create a "note." Unfortunately, I don't observe the contact ID variable within the options provided in the Request Content field. Could you kindly guide me on how to obtain this variable?

Thank you
 
You need to use "EntityId" and "EntityType" which should be provided in the output of the lookup scenario.
 
  • Like
Reactions: edossantos
During contact lookup, you need to return the EntityId and EntityType outputs, for example:
XML:
<Output Type="EntityId" Value="[ContactId]" />
<Output Type="EntityType" Value="Contact" />

Then, in your ReportCall scenario, you can use these values as variables, as [EntityId] and [EntityType]
 
  • Like
Reactions: Evolute IT
Hello,

Thank you for the quick replies. I changed it to
Code:
[EntityId]
but I cannot test it from the 3CX template generator (see print-screen).
 

Attachments

  • 2023-08-09 15_12_04-3CX CRM Integration.png
    2023-08-09 15_12_04-3CX CRM Integration.png
    167.8 KB · Views: 6
  • 2023-08-09 15_07_25-3CX CRM Integration.png
    2023-08-09 15_07_25-3CX CRM Integration.png
    51.2 KB · Views: 7
Looks like an issue evaluating the expression. Can you share the XML you're using in this case?
 
Please find it in attachment.

Thank you
 

Attachments

In your XML you have this when you want to report a call:
XML:
<Value Key="relid" Passes="1" Type="Integer">[EntityID]</Value>

But the variable is not [EntityID], it's [EntityId] (the case is important), so you need to use:
XML:
<Value Key="relid" Passes="1" Type="Integer">[EntityId]</Value>
 
  • Like
Reactions: Evolute IT
Hello, thank you very much! It now works correctly.
 
  • Like
Reactions: edossantos
Status
Not open for further replies.

Latest Posts

Forum statistics

Threads
112,322
Messages
591,886
Members
165,469
Latest member
footandankle.my3fcx.us