Hi, it is possible to add a column to a table that is the row number? I have asked for an AI formula but it says it is stuck on an infinite loop? The problem I am looking to solve is to only have a particular enrichment run on odd row numbers and the system row number is not a column I can select. Any other solution is appreciated.
Example formula prompt: this column should start at 1 and then increase by 1 on every row or new row added for example 1, 2, 3 and so on
hey Lee, sadly there isn't a way to do this currently, but perhaps the could filter out by the columns that display error on the formula results or, a workaround could potentially be:
export your table to a CSV
edit it with Excel or sheets to assign a number to each column
make a new Clay table without the enrichments, only your raw leads data and the new numerated column
Use Clay's lookup function to search for the numbered column on your Main table and map it, then you'd be able to filter based on the row number.
Hi Anjali D. Rubi S. I am looking for an automated process. I want to use 2 different automations for the snippet. Maybe I create a formula that if the first name starts with A, C, E, etc, run X and if it starts with B, D, etc, run Y. I am looking to have variety within the content creation with as much automation as possible. Would this work?
yeah you can do that or just use ask the AI formula generator to randomize between certain numbers, then condition your enrichments to only run if the formula displays 1 or 2, for example
Hmm will try that, thanks!
Lee A., got it! That's an interesting idea - you could definitely use an AI generated formula and tell it to tag rows as either X or Y depending on the letter with which the words in that column start with. And then you can set up a condition for your enrichments to only run if the formula returned either X or Y. Do you know how to set up formulas and conditional settings? Let me know
I’ve just added this prompt: this column should have a random number of either 1 or 2 added so that the table is roughly 50% of each
Which came up with this formula: {{Row Number}} + Math.floor(Math.random() * 2) + 1 But it says can’t save because of infinite loop….🤯
Also this is causing an infinite apparently: {{New Column}} || [“A”, “C”, “E”, “G”, “I”, “K”, “M”, “O”, “Q”, “S”, “U”, “W”, “Y”].includes({{Person - Name}}?.[0]?.toUpperCase()) ? 1 : 2