- Joined
- Apr 16, 2020
- Messages
- 1
- Reaction score
- 0
Is there anyway to map a 3CX extension to a Freshsales user so the call is journaled as a Call in Freshsales rather than being added as a Note?
I've read through a few posts but its not clear and Freshworks support haven't been helpful.
I can see the phone call option in the XML template but it doesn't seem to work.
I've read through a few posts but its not clear and Freshworks support haven't been helpful.
I can see the phone call option in the XML template but it doesn't seem to work.
<Scenario Id="ReportCall" Type="REST">
<Request SkipIf="[ReportCallEnabled]!=True" Url="https://[Domain].freshsales.io/api/phone_calls" MessagePasses="0" RequestEncoding="Json" RequestType="Post" ResponseType="Json">
<PostValues>
<Object Key="phone_call">
<Value Key="call_direction" If="[CallType]==Inbound" Passes="0" Type="String">true</Value>
<Value Key="call_direction" If="[CallType]==Missed" Passes="0" Type="String">true</Value>
<Value Key="call_direction" If="[CallType]==Outbound" Passes="0" Type="String">false</Value>
<Value Key="call_direction" If="[CallType]==Notanswered" Passes="0" Type="String">false</Value>
<Value Key="targetable_type" Passes="0" Type="String">[Contact::EntityType]</Value>
<Object Key="targetable">
<Value Key="id" Passes="0" Type="String">[Contact::EntityId]</Value>
</Object>
<Object Key="note">
<Value Key="description" If="[CallType]==Inbound" Passes="2" Type="String">[[InboundCallText]]</Value>
<Value Key="description" If="[CallType]==Missed" Passes="2" Type="String">[[MissedCallText]]</Value>
<Value Key="description" If="[CallType]==Outbound" Passes="2" Type="String">[[OutboundCallText]]</Value>
<Value Key="description" If="[CallType]==Notanswered" Passes="2" Type="String">[[NotAnsweredOutboundCallText]]</Value>
</Object>
</Object>
</PostValues>
</Request>
<Variables />
<Outputs AllowEmpty="false" />
</Scenario>