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

charmaine

enrich-new-users-attio

Webhook -> Clay -> Attio (Check YC) + Slack
Remix of charmaine/enrich-new-users-slack
Public
Like
enrich-new-users-attio
Home
Code
7
.vscode
1
README.md
attio.ts
slack.ts
test.ts
H
webhook.ts
yc.ts
Branches
1
Pull requests
Remixes
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
/
charmaine
/
enrich-new-users-attio
/
branch
/
main
/
version
/
54
/
code
/
README.md
/
README.md
Code
/
/
x
/
charmaine
/
enrich-new-users-attio
/
branch
/
main
/
version
/
54
/
code
/
README.md
/
README.md
Search
9/25/2025
Viewing readonly version of main branch: v54
View latest version
README.md

User Enrichment Pipeline

Email → Clay enrichment → Attio CRM → Slack (YC companies highlighted)

Setup

Val Town Environment Variables:

  • ATTIO_API_KEY - From Attio settings
  • SLACK_WEBHOOK_URL - Slack incoming webhook

Attio Users Object Fields:

  • Primary email address
  • User ID
  • LinkedIn
  • Company
  • Employee Count
  • Funding

Usage

POST to webhook endpoint:

{ "email": "user@example.com" }

Pipeline:

  1. Enriches via Clay API
  2. Creates Attio user record
  3. Checks Y Combinator list
  4. Sends Slack notification (YC companies get 🎉)

Test

Use test.ts in Val Town or POST directly to webhook endpoint

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.