LouisDAmbrosio | 2023-01-17 21:53:23 UTC | #1
Hello,
I am trying to figure out how to configure a data action that does a lookup in Salesforce for the exact match of the login provided. Use case: We ask customers to provide their email address via a bot. With the email address, we retrieve the login in Salesforce using a data action. However, customers are free to input anything, so it happens that their enter random words, but it still retrieves a login in Salesforce. That is why I am trying to use a data action that would only retrieve the login if the email address provided is an exact match.
Currently, the Request URL template of the data action is: /services/data/v37.0/search/?q=$esc.url("FIND {$salesforce.escReserved(${input.Username})} IN EMAIL FIELDS RETURNING Loginc(Id, Contactc)")
Does anybody have insights on how to pull only the exact match?
system | 2023-02-17 21:53:33 UTC | #2
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 18027