FeaturesTemplatesShowcaseTownie
AI
BlogDocsPricing
Log inSign up
valdottown

valdottown

pipedream-connect

OAuth to everything
Public
Like
pipedream-connect
Home
Code
4
backend
2
frontend
3
shared
1
README.md
Branches
3
Pull requests
Remixes
History
Environment variables
4
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
6/13/2025
Viewing readonly version of main branch: v130
View latest version
README.md

Val Town + Pipedream Connect Integration

This application allows Val Town users to authenticate and connect to external services via Pipedream Connect.

Pipedream Actions

For example, send a Slack or Discord message, create a Linear ticket, or update a row in Google Sheets.

  1. Select the app (Slack, Discord, Linear, Google, Sheets, 2k+ others)
  2. Select "Action" type
  3. Select which action ("Send a message", "Make a ticket", etc)
  4. Connfigure the action's parameters
  5. Test-run the action
  6. Copy the code provided to trigger that action from any Val Town server-side code
    • TODO: build proxy
    • TODO: write sdk
    • TODO: provide copyable code
    • Maybe TODO: create a database of actions that were performed for debugging?

Pipedream Triggers

  • TODO: list existing triggers
  • TODO: list trigger & endpoint
  • TODO: Let triggers be updated
  • TODO: Let trigger be deleted
  • TODO: Help users connect trigger to val more directly than copying endpoint (via val town sdk)

Connected Apps

  • TODO: put these on their own page

Custom OAuth clients

  • Docs: https://pipedream.com/docs/connect/managed-auth/oauth-clients/#using-a-custom-oauth-client
  • I made one for discord, but am struggling to figure out where to supply the oauthAppId. I asked Pipedream.

Authentication

This app uses Val Town API tokens for authentication. (Eventually, we'll swap this for Val Town OAuth.)

To login, create and supply a Val Town API token with the user:read scope only. We store it in cookies.

To run actions on connected apps, you'll also need to supply a Val Town API token. If you're doing this from within Val Town, you can use process.env.valtown, which this app's client libraries will use by default.

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.