Stack Exchange

Community-powered Q&A sites

Integrate the Stack Exchange API with the Schedule API

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

New Answers for Specific Questions from the Stack Exchange API

Emits an event when a new answer is posted in one of the specified questions

 
Try it
Custom Interval from the Schedule API

Trigger your workflow every N hours, minutes or seconds.

 
Try it
New Answers from Specific Users from the Stack Exchange API

Emits an event when a new answer is posted by one of the specified users

 
Try it
Daily schedule from the Schedule API

Trigger your workflow every day.

 
Try it
New Question for Specific Keywords from the Stack Exchange API

Emits an event when a new question is posted and related to a set of specific keywords

 
Try it

Connect Stack Exchange

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    stack_exchange: {
      type: "app",
      app: "stack_exchange",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.stackexchange.com/2.2/me`,
      headers: {
        Authorization: `Bearer ${this.stack_exchange.$auth.oauth_access_token}`,
      },
      params: {
        site: `stackoverflow`,
        access_token: `${this.stack_exchange.$auth.oauth_access_token}`,
        key: `qM6Y7e57HJiAO3V7pHSbLw((`,
      },
    })
  },
})