- Joined
- Jun 25, 2022
- Messages
- 1
- Reaction score
- 0
Hello. I have a task to send a default email to the CRM integration if AgentEmail is empty.
I tried such variants in the Request tag in the CRM integration template:
In both cases, it calls the
If AgentEmail is not empty, it calls the correct URL:
How can I check that AgentEmail is empty?
I tried such variants in the Request tag in the CRM integration template:
Url="[WebHookUrl]/user.get.json?filter{{EMAIL}}=[IIf([AgentEmail]=="","[email protected]",[AgentEmail])]"
Url="[WebHookUrl]/user.get.json?filter{{EMAIL}}=[IIf([AgentEmail]==False,[AgentEmail], "[email protected]"]"
In both cases, it calls the
(With empty email)/user.get.json?filter\[EMAIL\]=
If AgentEmail is not empty, it calls the correct URL:
/user.get.json?filter\[EMAIL\]=[email protected]
How can I check that AgentEmail is empty?