Public
Like
enrich-new-users-attio
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.
Viewing readonly version of main branch: v56View latest version
Email → Clay enrichment → Attio CRM → Slack (YC companies highlighted)
Val Town Environment Variables:
ATTIO_API_KEY- From Attio settingsSLACK_WEBHOOK_URL- Slack incoming webhook
Attio Users Object Fields:
- Primary email address
- User ID
- Company
- Employee Count
- Funding
POST to webhook endpoint:
{ "email": "user@example.com" }
Pipeline:
- Enriches via Clay API
- Creates Attio user record
- Checks Y Combinator list
- Sends Slack notification (YC companies get 🎉)
Use test.ts in Val Town or POST directly to webhook endpoint