From Bright Pattern Documentation
Jump to: navigation, search
• 3.10 • 3.11 • 3.12 • 3.13 • 3.14 • 3.15 • 3.16 • 3.17 • 3.18

Searching for a contact using the Salesforce.com Search block

  • Use Set Variable to clean the ANI from any meaningless symbols.
=replace("$(item.from)","^\\+*1","","")
Sfdc-integration-guide-image34.png


  • Use Set Variable to set a value for the SFDCANI.
=replace("$(ANI)","(\\d{3})(\\d{3})(\\d{4})","%\\1%\\2%\\3%","")
Sfdc-integration-guide-image35.png


  • Use the Salesforce.com Search block with the following query:
SELECT Id, Name, Account.Id FROM Contact WHERE Phone LIKE '$(SFDCANI)' or MobilePhone LIKE '$(SFDCANI)'


< Previous | Next >
< Previous | Next >