FeaturesTemplatesShowcaseTownie
AI
BlogDocsPricing
Log inSign up
valdottown
valdottownpipedream-connect
OAuth to everything
Public
Like
pipedream-connect
Home
Code
5
backend
4
frontend
2
sdk
1
README.md
deno.json
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/25/2025
Viewing readonly version of main branch: v740
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.

Features

Actions

  • Send data to external services from your Val Town code
  • Secure authentication handled automatically - no API keys to manage
  • Copy & paste code snippets ready for your vals
  • Thousands of services supported: Gmail, Slack, Twitter, Notion, Airtable, and more

Triggers

  • Receive data from external services when events happen
  • Real-time webhooks send data to your vals instantly
  • Any HTTP val can receive trigger data
  • Event debugging to view all events sent to your triggers

Home Page

The home page now provides comprehensive explanations of:

  • What actions vs triggers are and how they differ
  • How authentication is handled securely under the hood
  • Step-by-step guides for using both actions and triggers
  • Quick access to create new integrations and manage existing ones

Misc todos

  • Automatically include "includeSentViaPipedream": false for Discord and Slack
  • Replace Discord & Slack apps with our own 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.
  • Would be neat if you could scroll more in the list of connections or see a grid of the top 100 connections
  • How do we teach Townie how to use this?
    • search for potential actions (maybe their mcp can help?)
  • (Maybe) Help users connect trigger to val more directly than copying endpoint (via val town sdk)

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.

Go to top
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Product
FeaturesPricing
Developers
DocsStatusAPI ExamplesNPM Package Examples
Explore
ShowcaseTemplatesNewest ValsTrending ValsNewsletter
Company
AboutBlogCareersBrandhi@val.town
Terms of usePrivacy policyAbuse contact
© 2025 Val Town, Inc.