Automate free product credits to your most active Slack community members
Tightknit awards top Slack community members, Clay automates credits.
Tools featured in this playbook
How we use Tightknit and Clay internally to award our most active Slack community members with free credits to Clay
What we used
Clay (Explorer): to enrich, score, segment, or automate prospects
Tightknit (Paid): to manage awards based on Slack community activity
Free resources
Before we begin
Community engagement is essential, but recognizing and rewarding your most active members usually takes a lot of manual effort. So we created this Claybook to help our team at Clay automate awards (in the form of Clay credits) to our most rabid Slack community upvoters.
How? By using Tightknit, Typeform (optional), and, of course, Clay.
How it works:
We create an award in Tightknit for users who upvote Slack threads the most
If you win, Tightknit sends you a Slack DM congratulating you on your victory
Using a Tightknit webhook, we then send the winners information to a Clay table
Since we want to award our users with Clay credits, we then automate a Slack DM with a Typeform link asking for their workspace email
Once we receive it, we look up their workspace ID in Snowflake, and use an HTTP API call to distribute their credits automatically
Want to award power users in your Slack community with credits to your platform?
Keep scrolling!
First, copy this template in Clay.
If you’re already a user, you’ll be directed to your workspace. If not, you’ll be prompted to create a free Clay account.
The interactive demos on the right will walk you through each step of this Claybook.
Step 2: Set up a reference table
First things first, you’ll want to create and customize a Clay table that lists all your awards, the award ID from Tightknit, their credit amounts, and any other relevant information. You’ll use this table as an internal record and reference table so you can standardize your credit gifts to users.
For example, in our reference table, we include the Tightknit award ID (required), award name, credit amount, and award notes. We’ll reference this information in another table in order to distribute the right credit amounts.
Step 3: Send data to Clay via a Tightknit webhook
Next, set up your Tightknit webhook (Table: Send Tightknit Typeform) so you can automatically send award information to Clay as soon as it’s announced through Slack. To do that, copy the Clay webhook URL in column one and paste it back in Tightknit. For more information on setting up your webhook in Tightknit, follow their documentation here.
Once a new award gets announced via Slack, this table will send a unique Typeform link (optional) to the award winner via a Slack direct message using an HTTP API call. Why? At Clay, we need the user's workspace email so we know which account to distribute credits to—Typeform asks for the email.
Step 4: Send data to Clay via a Typeform webook (optional)
Next, if applicable, set up a Typeform webhook (Table: Tightknit Typeform Outputs).
Here’s how it works: Once the user submits their Typeform, the Typeform webhook will send their workspace email back to Clay where we can look them up in our Snowflake database, find their workspace ID, and distribute the awarded credits. Then we’ll trigger an automated direct message via Slack notifying them that we’ve added credits.
Step 5: Set up an HTTP API call to send credits to your users
Next, we’re going to use HTTP API to connect to our Clay API so we can automate the distribution of credits. Customize this step by connecting to your own HTTP API. Last, using the same type of HTTP API call we used previously to send a direct message via Slack, we're going to send two different messages: one for successful credit distributions and one for failed distributions.
This article was originally posted on Clay University
Comments
Login to leave a comment