• Blog
  • Docs
  • Pricing
  • We’re hiring!
Log inSign up
charmaine

charmaine

enrich-new-users

Demo of sending enriched new signups to Slack
Unlisted
Like
enrich-new-users
Home
Code
3
README.md
slack.ts
test.ts
Branches
1
Pull requests
Remixes
1
History
Environment variables
1
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.
Sign up now
Code
/
README.md
Code
/
README.md
Search
8/26/2025
README.md

New User Enrichment Demo

Demo showing how to enrich new user signups with Clay and send notifications to Slack.

This val uses the Clay API/SDK proxy.

Files

  • slack.ts - Slack notification
  • test.ts - Demo test script to simulate new user sign up

Setup

  1. Set SLACK_WEBHOOK_URL environment variable
  2. Run test.ts to see the complete flow
  3. Check your Slack channel for the enriched user notification

Example

Create val
// 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.

FeaturesVersion controlCode intelligenceCLIMCP
Use cases
TeamsAI agentsSlackGTM
DocsShowcaseTemplatesNewestTrendingAPI examplesNPM packages
PricingNewsletterBlogAboutCareers
We’re hiring!
Brandhi@val.townStatus
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Open Source Pledge
Terms of usePrivacy policyAbuse contact
© 2025 Val Town, Inc.