Im trying to get Clay to check info in a column against a list provided and tell me if there is a match. Using GPT (as no need to search wev) read the info in column accurately, as some names are similar, but not the same eg. Name in column-Clay Name on provided list-Clay Agency =no match Name in column - Clay Agency Name on provided list - Clay Agency =match Also, I only want it to output the name and a yes or no, not a full paragraph lol. Any ideas?
You can accomplish this in two ways: 1. Using string comparison operators: โข Use the "Equal To (==)" operator to check for exact matches between your column and list values โข This ensures that similar names (like "Clay" vs "Clay Agency") are treated as different 2. Using the Calculate Similarity integration: โข This will give you a similarity score between two text inputs โข You can then set a threshold for what constitutes a matchFor the cleanest results, first use the Normalize and Deduplicate integration to standardize your data formats before comparison. This helps ensure consistent matching. Sources: Comparison operators | Documentation | Clay University Calculate Similarity of Text with Clay Normalize and Deduplicate a List with Clay
Looks like you're still looking for help. We're escalating this over to our support team and someone should be in touch soon. In the meantime, feel free to include any other information that may be helpful in solving your issue!
using a formula column is better for this usecase than AI also, if you have to use AI use the json output - will take care of getting reliable results like yes/no than an entire para
Thanks for jumping in Kushagra! Hey TJ! Let us know if you run into any issues. To add to Kushagra's suggestion, the "define outputs" section is very useful for refining responses and getting the model to return its response in a format that matches your criteria. I made a quick recording showing both options below. Let me know if you have any questions! https://downloads.intercomcdn.com/i/o/w28k1kwz/1353224358/d01f9bdab1b06171d74151bfc084/CleanShot+2025-01-27+at+14_32_25.gif?expires=1737986400&signature=afedb8cba5d56ecc6c4545c28d4b8f8732091b76f9f6dd84309e40a5091e61ec&req=dSMiFct8mYJaUfMW1HO4zeapVYJRRwUiLDE0y4IheKH8UKQgMVR4UBwN0tbY%0Apnip%0A
Hey there - just wanted to check in here to see if you needed anything else! Feel free to reply back here if you do.
We haven't heard back from you in a bit, so we're going to go ahead and close things out here - feel free to let us know if you still need something!