How can I compare a single value against a set of values in a Google Sheet and get a binary output (1 or 0)?
Example:
I have a list of emails fetched from Sales Navigator stored in a Google Sheet. Each time my Slack node triggers, it provides an email. This email needs to be checked against the list in the Google Sheet column:
Function Node:
Loop through the results from the Google Sheets node (using the “Get Rows” operation) to check if the incoming email exists. Then output 1 if it exists, or 0 if it does not.
Google Sheets Node (Filter Tab):
Use the Filter tab to set the email coming from Slack. This will output all rows that match the email, and you can then use a Set node to extract the data you need.
Hope this helps!
If this answers your question, please mark the reply as the solution