The Gumroad API lets you tap into your digital storefront with ease, enabling seamless automation of your e-commerce activities. It's a game-changer for creators and entrepreneurs who use Gumroad to sell products. With this API on Pipedream, you can automate tasks like order processing, customer management, and sales reporting. Imagine syncing new purchases with your CRM, sending custom thank-you emails post-purchase, or compiling sales data without lifting a finger. Pipedream's serverless platform turns these ideas into reality, connecting Gumroad to countless other apps with zero server maintenance.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
gumroad: {
type: "app",
app: "gumroad",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.gumroad.com/v2/user`,
headers: {
Authorization: `Bearer ${this.gumroad.$auth.oauth_access_token}`,
},
})
},
})
Automate Customer Follow-up Emails: When a customer completes a purchase on Gumroad, trigger an automated workflow on Pipedream that sends a personalized thank-you email from your Gmail. This keeps engagement high and can boost customer loyalty.
Sync Purchases with a CRM: Use Pipedream to capture new Gumroad sales and automatically create or update contacts in your CRM, such as HubSpot. This workflow ensures your customer relationships are always up-to-date, allowing for targeted marketing campaigns and sales follow-ups.
Generate Real-time Sales Reports: Every time you make a sale on Gumroad, Pipedream can trigger a workflow that adds the sale data to a Google Sheet. Use this to maintain an up-to-the-minute sales report, giving you the insights you need to make informed business decisions.
Gumroad uses OAuth authentication. When you connect your Gumroad account, Pipedream will open a popup window where you can sign into Gumroad and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any Gumroad API.
Pipedream requests the following authorization scopes when you connect your account:
view_profile
edit_products
view_sales
mark_sales_as_shipped
refund_sales
GET
https://gumroad.com/oauth/authorize
?
client_id={{oauth.client_id}}
&
redirect_uri={{oauth.redirect_uri}}
&
state={{oauth.state}}
&
response_type=code
&
scope={{oauth.space_separated_scopes}}
POST
https://gumroad.com/oauth/token
content-type: application/x-www-form-urlencoded
accept: application/json
client_id={{oauth.client_id}}
&
client_secret={{oauth.client_secret}}
&
redirect_uri={{oauth.redirect_uri}}
&
grant_type=authorization_code
&
code={{oauth.code}}
POST
https://gumroad.com/oauth/token
content-type: application/x-www-form-urlencoded
accept: application/json
client_id={{oauth.client_id}}
&
client_secret={{oauth.client_secret}}
&
grant_type=refresh_token
&
refresh_token={{oauth.refresh_token}}