The best new products in tech
Emit new event when a new message is posted to one or more channels
Emit new event when a product posted by a user hits 100+ upvotes.
Emit new event when a message was posted in a direct message channel
Send a message to a public channel and customize the name and avatar of the bot that posts the message. See postMessage or scheduleMessage docs here
Send a message to a private channel and customize the name and avatar of the bot that posts the message. See postMessage or scheduleMessage docs here
Send a direct message to a single user. See postMessage or scheduleMessage docs here
Configure custom blocks and send to a channel, group, or user. See Slack's docs for more info.
Send a message as a threaded reply. See postMessage or scheduleMessage docs here
What Can You Build With The Product Hunt API?
Product Hunt is a great platform for discovering new and noteworthy products. With the Product Hunt API, you can build custom tools and integrate Product Hunt into your existing applications. Below are some examples of what you can build with the Product Hunt API.
Search and filter for trending products - Find the most popular products on Product Hunt by searching or filtering by category or date, and get detailed information about each product.
Create custom leaderboards - Create custom leaderboards sorted by total votes, comments, or status.
Measure users' Product Hunt activity - Track your followers' Product Hunt activity and get insights on what's popular and what's not.
Build a recommendation engine - Create personalized product recommendations for users by analyzing the product data and scouring the user's activity.
Enhance existing applications - Integrate Product Hunt data into existing applications, such as integrating product information into a directory site or adding product ratings to an ecommerce store.
Monitor competitor activity - Use the API to keep an eye on the latest products from your competitors so you can stay one step ahead.
Build custom tools - Take data from Product Hunt and make it instantly actionable with custom tools, such as a real-time product analyzer or trends explorer.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
product_hunt: {
type: "app",
app: "product_hunt",
}
},
async run({steps, $}) {
const data = {
"query": `{
viewer {
user {
id
username
}
}
}`,
}
return await axios($, {
method: "post",
url: `https://api.producthunt.com/v2/api/graphql`,
headers: {
Authorization: `Bearer ${this.product_hunt.$auth.oauth_access_token}`,
},
data,
})
},
})
The Pipedream Slack app enables you to build event-driven workflows that interact with the Slack API. When you authorize the Pipedream app's access to your workspace, you can use Pipedream workflows to perform common Slack actions, or write your own code against the Slack API.
The Pipedream Slack app is not a typical app. You don't interact with it directly as a bot, and it doesn't add custom functionality to your workspace out of the box. It makes it easier to automate anything you'd typically use the Slack API for, using Pipedream workflows.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
slack: {
type: "app",
app: "slack",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://slack.com/api/users.profile.get`,
headers: {
Authorization: `Bearer ${this.slack.$auth.oauth_access_token}`,
},
})
},
})