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: v122
View latest version
README.md

GitHub Issues to Clay

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

This API fetches all issues from a GitHub repository, extracts unique author usernames, finds their email addresses, and sends the data to Clay for further enrichment.

Setup

  1. Remix this val

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

    • GITHUB_TOKEN = GitHub personal access token with repo access
  3. Set up a Clay workbook with both a Webhook column (or use this template)

  4. Copy your Clay workbook's Webhook column URL

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

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

  6. Set repoOwner/repoName as GITHUB_REPO in this val's Environment variables on the left sidebar

  7. 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
FeaturesVersion controlCode intelligenceCLI
Use cases
TeamsAI agentsSlackGTM
ExploreDocsShowcaseTemplatesNewestTrendingAPI examplesNPM packages
PricingNewsletterBlogAboutCareersBrandhi@val.townStatus
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Terms of usePrivacy policyAbuse contact
© 2025 Val Town, Inc.