{"type":"video","version":"1.0","html":"<iframe src=\"https://www.loom.com/embed/3fc6ed51d01c4e4cab44ecd9c373b9dd\" frameborder=\"0\" width=\"1646\" height=\"1234\" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>","height":1234,"width":1646,"provider_name":"Loom","provider_url":"https://www.loom.com","thumbnail_height":1234,"thumbnail_width":1646,"thumbnail_url":"https://cdn.loom.com/sessions/thumbnails/3fc6ed51d01c4e4cab44ecd9c373b9dd-c30fe3fa66c22e8d.gif","duration":744.865,"title":"Programmatic Ranking with Tally in Clay","description":"This Loom demonstrates how to use Tally to programmatically rank and retrieve top companies within sub-industries in Clay. The speaker explains the use case for an ICP scoring pipeline for B2B SaaS companies (Series A to C, 3 to 30 million ARR) and the challenge of manually sorting top 10 when rankings change over time. They show posting each company score into Tally via an HTTP API enrichment using scope keys for campaign and rule keys like L1 ICP score, with row keys set to the company domain and an optional TTL. After retrieving ranks with a GET endpoint that requires scope key, rule key, and row key, they filter where rank is less than or equal to three to produce the top three per sub-industry."}