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

valdottown

Enrich-New-User

Get enriched new user data notifications
Public
Like
1
Enrich-New-User
Home
Code
2
README.md
H
main.tsx
Branches
1
Pull requests
Remixes
1
History
Environment variables
2
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
/
/
x
/
valdottown
/
Enrich-New-User
/
branch
/
main
/
version
/
119
/
code
/
README.md
/
README.md
Code
/
/
x
/
valdottown
/
Enrich-New-User
/
branch
/
main
/
version
/
119
/
code
/
README.md
/
README.md
Search
7/11/2025
Viewing readonly version of main branch: v119
View latest version
README.md

Clay API Proxy for User Enrichment

Time to complete: 10 minutes

Use Clay like an API to automatically enrich new user signups and send notifications to Discord.

Clay doesn't offer an API, but this val creates one by listening to webhooks, enriching data in Clay, and sending HTTP requests back when enrichment is complete.

1. Set up your webhook source

  1. Create a new Clay workbook called "New User Enrichment"
  2. Click Add → Pull in data from source at the bottom
  3. Select Pull in data from a Webhook Table
  4. Click Edit source on the Webhook column to copy the webhook URL

CleanShot 2025-07-11 at 14.33.40@2x.png

  1. Update the webhook URL in your val:
"https://api.clay.com/v3/sources/webhook/pull-in-data-from-a-webhook-YOUR_ID"

2. Add enrichment columns

Add whichever enrichment columns you want. This example uses:

  • Enrich Person → Name, Title, Org
  • LinkedIn Profile → LinkedIn URL

3. Set up the HTTP API callback

  1. Add HTTP API column to your Clay table
  2. Set endpoint: https://your-val-url.com/clayEnrichmentWebhook
  3. Set method: POST
  4. Configure request body:
{ "email": "{{email}}", "profile_image_url": "{{profile_image_url}}", "Name": "{{Name}}", "Title": "{{Title}}", "Org": "{{Org}}", "LinkedIn": "{{LinkedIn Profile}}" }
  1. Enable Remove empty values

4. Add environment variables

  1. Click Environment Variables in your val's sidebar
  2. Add: DISCORD_WEBHOOK_URL with your Discord webhook URL

5. Configure your source webhook

Configure your source system (Clerk, Stripe, etc.) to send webhooks to:

https://your-val-url.com/newUserSignup

What you'll get

Enriched profiles (with ⭐):

⭐ New user! John Doe • Software Engineer @ Tech Corp • john@example.com • https://linkedin.com/in/johndoe

Basic signups:

New user! user@example.org • [profile_image_url]

What's next?

This pattern works for any webhook source. Try it with Stripe customers, form submissions, or any other user data you want to enrich automatically.

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.