Public
Like
GitHubIssuesToClay
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: v114View latest version
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.
-
Remix this val
-
Set
GITHUB_TOKEN
in this val'sEnvironment variables
on the left sidebarGITHUB_TOKEN
= GitHub personal access token withrepo
access
-
Set up a Clay workbook with both a
Webhook column
(or use this template) -
Copy your Clay workbook's
Webhook column
URL -
Set that as
CLAY_WEBHOOK_URL
in this val'sEnvironment variables
on the left sidebar -
Try it out: click Run in test.ts
githubRepo
- Required - Repository in format "owner/repo"clayWebhookUrl
- Required - Your Clay webhook URL for data enrichmentgithubToken
- Required - GitHub Personal Access Tokenlimit
- # of issues to retrieve; GitHub API defaults to 100
Each record sent to Clay contains:
email
- The email address found for the user