Contact Create Issue

REDFAC

Customer
Joined
Oct 10, 2024
Messages
47
Reaction score
1
This is the error er are receiving for new contact,

[Integration.Crm.Engine.SearchNumberScenarioProcessor] CRM: The response is: '{"data":{}}'

Can you please help.
 
<Variable Name="ContactID" LookupValue="" Path="data.id"><Filter /></Variable>
<Variable Name="FirstName" LookupValue="" Path="data.first_name"><Filter /></Variable>
<Variable Name="LastName" LookupValue="" Path="data.last_name"><Filter /></Variable>
<Variable Name="CompanyName" LookupValue="" Path="data.company_name"><Filter /></Variable>
<Variable Name="Email" LookupValue="" Path="data.email"><Filter /></Variable>
<Variable Name="PhoneBusiness" LookupValue="" Path="data.phone_number"><Filter /></Variable>
<Variable Name="PhoneMobile" LookupValue="" Path="data.mobile_number"><Filter /></Variable>
</Variables>
<Outputs AllowEmpty="false">
<Output Type="ContactID" Passes="0" Value="[ContactID]" />
<Output Type="FirstName" Passes="0" Value="[FirstName]" />
<Output Type="LastName" Passes="0" Value="[LastName]" />
<Output Type="CompanyName" Passes="0" Value="[CompanyName]" />
<Output Type="Email" Passes="0" Value="" />
<Output Type="PhoneBusiness" Passes="0" Value="[PhoneBusiness]" />
<Output Type="PhoneMobile" Passes="0" Value="[PhoneMobile]" />
<Output Type="ContactUrl" Passes="0" Value="https://backend.dev.supercrm.ai/v1/integration/lead?id=[ContactID]" />
<Output Type="EntityId" Passes="0" Value="[ContactID]" />
<Output Type="EntityType" Passes="0" Value="Contacts" />
</Outputs>
</Scenario>
<Scenario Id="CreateContactRecord" Type="REST" EntityId="" EntityOrder="">
<Request SkipIf="[CreateContactEnabled]!=True" Url="https://backend.dev.supercrm.ai/v1/integration/lead" MessagePasses="0" Message="" RequestContentType="application/json" RequestEncoding="Json" RequestType="Post" ResponseType="Json">
<PostValues Key="" If="" SkipIf="">
<Value Key="name" If="" SkipIf="" Passes="1" Type="String">New</Value>
<Value Key="lastname" If="" SkipIf="" Passes="1" Type="String">3CX Contact</Value>
<Value Key="PhoneMobile" If="" SkipIf="" Passes="1" Type="String">[Number]</Value>
</PostValues>
</Request>
<Rules>
<Rule Type="Any" Ethalon="">data.id</Rule>
</Rules>
<Variables>
<Variable Name="ContactID" LookupValue="" Path="data.id"><Filter /></Variable>
<Variable Name="FirstName" LookupValue="" Path="data.first_name"><Filter /></Variable>
<Variable Name="LastName" LookupValue="" Path="data.last_name"><Filter /></Variable>
<Variable Name="CompanyName" LookupValue="" Path="data.company_name"><Filter /></Variable>
<Variable Name="Email" LookupValue="" Path="data.email"><Filter /></Variable>
<Variable Name="PhoneBusiness" LookupValue="" Path="data.phone_number"><Filter /></Variable>
<Variable Name="PhoneMobile" LookupValue="" Path="data.mobile_number"><Filter /></Variable>
<Variable Name="Agent" LookupValue="" Path="data.agent_id"><Filter /></Variable>
</Variables>
<Outputs AllowEmpty="false">
 
You should seriously try to hire someone with knowledge in the topic to help you with this. Usually @ConceptsWeb and @VoIPTools do this kind of jobs, there might be others as well. Many users provided many answers to your questions lately. You can't pretend that someone fixes all the issues for you for free....
 
  • Love
Reactions: Evolute IT
The CRM is managed by 3rd party only 3cx from our side, so we have headache, if you can provide help for this one next time definitely contact them