
Connectors / E-commerce · HTTP Connector
Automate Gumroad with Tray.ai
Create a product and create an offer code in Gumroad, and start a workflow when Gumroad sends “Sale”.
Thanks — someone from our team will be in touch soon.
What can you do with Gumroad on Tray.ai?
Gumroad is a platform for creators to sell digital products, memberships and courses directly to buyers, handling checkout, payouts and license keys. Tray.ai connects to Gumroad through the HTTP Connector, so your workflows can call the Gumroad API alongside the rest of your stack.
- When Gumroad sends “Sale”, record the order and revenue in your accounting system.
- When Gumroad sends “Dispute”, alert finance in your team chat with the sale details.
- When Gumroad sends “Subscription ended”, remove the member's access in your community platform.
- Connects through
- HTTP Connector
- Authentication
- OAuth 2.0
- Base URL
- https://api.gumroad.com/v2
Set it up
Connect Gumroad to Tray.ai
Each step uses Gumroad's own API details, from its documentation.
Step 1
Sign in to Gumroad with OAuth 2.0
Set up an OAuth 2.0 authentication with the client ID and secret of an OAuth app you register with Gumroad. Sign in once and every step reads the token from there.
Step 2
Point the HTTP Client at the API
Add an HTTP Client step and use https://api.gumroad.com/v2 as the base URL. Or paste a cURL example from Gumroad's API docs, and Tray.ai fills in the method, URL, and headers.
Step 3
Start with “List products”
It's one of 20 documented actions, under Products. The response comes back as data the next step can map into your other apps.
Step 4
Start workflows from Gumroad events
Give Gumroad the URL of a Tray.ai webhook trigger. “Sale” can then start a workflow, and so can 7 other events.
What the Gumroad API covers
6 resources and 20 documented actions, each one a call the HTTP Connector can make from a Tray.ai workflow. Connecting it takes a few clicks: here's how.
Products
- List products
- Get a product
- Create a product
- Update a product
Sales
- List sales
- Get a sale
- Mark a sale as shipped
- Refund a sale
Offer codes
- List offer codes
- Create an offer code
- Update an offer code
Licenses
- Verify a license
- Enable a license
- Disable a license
- Rotate a license key
Subscribers
- List subscribers
- Get a subscriber
Resource subscriptions
- Subscribe to a resource
- List resource subscriptions
- Unsubscribe from a resource
Events Gumroad can send to a Tray.ai webhook trigger
- Sale
- Refund
- Dispute
- Dispute won
- Cancellation
- Subscription updated
- Subscription ended
- Subscription restarted
Checked against Gumroad's own documentation on 2026-10-22
How Tray.ai makes this work
Gumroad plugs into the whole Tray.ai platform
Intelligent Integration
Integrate and automate across 9,000+ apps, databases, APIs, and services with visual workflows, error handling, and observability.
Learn more →Agent Builder
Build AI agents that read, write, and take action in Gumroad — with guardrails, audit, and human-in-the-loop.
Learn more →Agent Gateway for MCP
Expose Gumroad actions as governed MCP tools — observable, rate-limited, authenticated.
Learn more →Tray Helix
Build apps on Gumroad data with your AI assistant, then deploy, run, and govern them on Tray.ai.
Learn more →More e-commerce apps on Tray.ai
Dedicated connectors and other apps Tray.ai reaches in the same category. See every e-commerce connector →
Frequently asked questions
What can a Tray.ai workflow do in Gumroad?
+
The Gumroad API documents 20 actions across 6 resources (Products, Sales, Offer codes, Licenses, Subscribers, Resource subscriptions). For example: List products; List sales; List offer codes. A workflow can make any documented call through the HTTP Connector.
How does Tray.ai authenticate with Gumroad?
+
The Gumroad API uses OAuth 2.0. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.
Which Gumroad events can start a Tray.ai workflow?
+
Gumroad sends 8 events to a webhook URL, for example: Sale; Refund; Dispute; Dispute won; Cancellation; Subscription updated; Subscription ended; Subscription restarted. A Tray.ai webhook trigger receives them and starts a workflow.
See Gumroad working against your stack.
We'll walk through a tailored demo with your systems plugged in.
Thanks — someone from our team will be in touch soon.