Data Manipulation

How can I remove a leading ‘1’ from caller id

To manipulate the incoming callerID (presumably to search in Salesforce, or other CRM), you may take the following steps in your scenario

Set variable DID to (item.from) - (item.from) is the built in CallerID variable
Set variable DID to =replace("$(DID)","(\d{1})(\d{10})","\2","")

For more on our built in replace function, please see the documentation link on our website at https://help.brightpattern.com/5.3:Scenario-builder-reference-guide/Reference/VariablesandExpressions/Built-inFunctions