Demo showing how to enrich new user signups with Clay and send notifications to Slack.
slack.ts - Send Slack notificationtest.ts - Test script to simulate new user sign upwebhook.ts - Receives webhooks when you get a new userSLACK_WEBHOOK_URL in this val's Environment variables in the
left sidebarVAL_WEBHOOK_SECRET in this val's Environment variables in the left sidebartest.ts to see the complete flow (takes up to 5
minutes to enrich)webhook.tsClay is a user-enrichment tool that allows you to leverage the data of hundreds of enrichment services.
We at Val Town have set up a basic Clay enrichment table that finds basic user info from email address or github username – and have created a synthetic API to it, which this val calls. Clay costs money, so proxy is only available to paid Val Town Teams accounts.