Unlisted
Like
enrich-new-users
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Demo showing how to enrich new user signups with Clay and send notifications to Slack.
This val uses the Clay API/SDK proxy.
slack.ts- Slack notificationtest.ts- Demo test script to simulate new user sign up
- Set
SLACK_WEBHOOK_URLenvironment variable - Run
test.tsto see the complete flow - Check your Slack channel for the enriched user notification
// On user signup
const enrichedData = await clay({
email: "marc@scalar.com",
source: "user_signup"
});
// Send to your notification system (Slack, Discord, etc.)
await sendToSlack(enrichedData);
Clay enrichment includes: name, company, LinkedIn, funding stage, employee count.