FeaturesTemplatesShowcaseTownie
AI
BlogDocsPricing
Log inSign up
charmaine

charmaine

GitHubIssuesToClay

Grab issues from GitHub repo, send them to Clay
Public
Like
GitHubIssuesToClay
Home
Code
5
README.md
clay.ts
github.ts
H
main.ts
test.ts
Branches
1
Pull requests
Remixes
2
History
Environment variables
1
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
/
README.md
Code
/
README.md
Search
8/19/2025
Viewing readonly version of main branch: v140
View latest version
README.md

GitHub Issues to Clay

Extract GitHub issue authors' emails and send them to Clay for enrichment.

Setup

  1. Remix this val

GitHub

  1. Set GITHUB_TOKEN in this val's Environment variables on the left sidebar

    • GITHUB_TOKEN = GitHub personal access token (classic) with repo access

Clay

  1. Set up a Clay workbook with a Webhook column (or use this template)

  2. Copy your Clay workbook's Webhook URL

    CleanShot 2025-08-08 at 13.23.47@2x.png

  3. Set that as CLAY_WEBHOOK_URL in this val's Environment variables on the left sidebar

Main

  1. You can change githubRepo to whichever repo you are tracking in main.ts

Test

  1. Try it out: click Run in test.ts

Data Sent to Clay

Each record sent to Clay contains:

  • email - The email address found for the user
Go to top
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Product
FeaturesVersion controlCLIAI agentsCode intelligenceSlack integrationsGTMPricing
Developers
DocsStatusAPI ExamplesNPM Package Examples
Explore
ShowcaseTemplatesNewest ValsTrending ValsNewsletter
Company
AboutBlogCareersBrandhi@val.town
Terms of usePrivacy policyAbuse contact
© 2025 Val Town, Inc.