Hacker News

Social news website

Integrate the Hacker News API with the Discord API

Setup the Hacker News API trigger to run a workflow which integrates with the Discord API. Pipedream's integration platform allows you to integrate Hacker News and Discord remarkably fast. Free for developers.

Send Message (Advanced) with Discord API on New Stories by Keyword from Hacker News API
Hacker News + Discord
 
Try it
Send Message with Discord API on New Stories by Keyword from Hacker News API
Hacker News + Discord
 
Try it
Send Message With File with Discord API on New Stories by Keyword from Hacker News API
Hacker News + Discord
 
Try it
Send Message (Advanced) with Discord API on New Comments by Keyword from Hacker News API
Hacker News + Discord
 
Try it
Send Message with Discord API on New Comments by Keyword from Hacker News API
Hacker News + Discord
 
Try it
New Stories by Keyword from the Hacker News API

Emit new stories that mention a specific keyword

 
Try it
New Message (Instant) from the Discord API

Emit new event for each message posted to one or more channels in a Discord server

 
Try it
New Comments by Keyword from the Hacker News API

Emit new comments that mention a specific keyword

 
Try it
Message Deleted (Instant) from the Discord API

Emit new event for each message deleted

 
Try it
New Command Received (Instant) from the Discord API

Emit new event for each command posted to one or more channels in a Discord server

 
Try it
Send Message with the Discord API

Send a simple message to a Discord channel

 
Try it
Send Message (Advanced) with the Discord API

Send a simple or structured message (using embeds) to a Discord channel

 
Try it
Send Message With File with the Discord API

Post a message with an attached file

 
Try it

Overview of Hacker News

The Hacker News API on Pipedream allows you to tap into the vibrant pool of stories, comments, and user data from one of tech's favorite forums. By leveraging this API, you can automate the process of extracting data for analysis, tracking mentions of specific topics, or even monitoring the performance of your own submissions. The real power lies in integrating this wealth of information with other services to create custom, automated workflows that save time and keep you informed.

Connect Hacker News

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    hacker_news: {
      type: "app",
      app: "hacker_news",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `http://hn.algolia.com/api/v1/search_by_date?query=pipedream`,
    })
  },
})

Overview of Discord

The Discord API interacts seamlessly with Pipedream, empowering you to craft customized automations and workflows for your Discord server. With this powerful integration, you can automate tasks like message posting, user management, and notifications, based on a myriad of triggers and actions from different apps. These automations can enhance the Discord experience for community moderators and members, by synchronizing with external tools, organizing community engagement, and streamlining notifications.

Connect Discord

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    discord: {
      type: "app",
      app: "discord",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://discord.com/api/users/@me`,
      headers: {
        Authorization: `Bearer ${this.discord.$auth.oauth_access_token}`,
        "accept": `application/json`,
      },
    })
  },
})