Setup your own API / SDK to enrich data with Clay.
Create workbook using this Clay template
Remix this val
Get your Clay workbook's webhook URL
Set that as CLAY_WEBHOOK_URL in this val's env variables
Copy main.tsx's HTTP endpoint URL
Paste that as in the HTTP API column in Clay, with /clay-webhook on the
end of it
// Update this to the module URL of your sdk.ts file
import { clay } from "https://esm.town/v/charmaine/clay-proxy/sdk.ts";
const result = await clay({
email: "charmainekmlee@gmail.com",
source: "user_signup",
});
console.log(result);